docs(release): prepare 2.1.0 notes and packaging
cx
This commit is contained in:
6 files changed
+619
-38
No files matched your search
@@ -36,8 +36,10 @@ package() {
|
||||
# Install binary
|
||||
install -Dm755 "qbz" "${pkgdir}/usr/bin/qbz"
|
||||
|
||||
# Install desktop file
|
||||
install -Dm644 "qbz.desktop" "${pkgdir}/usr/share/applications/qbz.desktop"
|
||||
# Install desktop file. MPRIS publishes DesktopEntry=com.blitzfc.qbz:
|
||||
# the installed basename MUST match or the GNOME/Plasma media widget
|
||||
# loses its icon (scripts/packaging/desktop_entry_check.sh).
|
||||
install -Dm644 "qbz.desktop" "${pkgdir}/usr/share/applications/com.blitzfc.qbz.desktop"
|
||||
|
||||
# Install icons (freedesktop hicolor structure)
|
||||
install -Dm644 "icons/hicolor/32x32/apps/qbz.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/qbz.png"
|
||||
|
||||
@@ -24,10 +24,22 @@ RESTRICT="mirror strip"
|
||||
|
||||
# v2.1+ Qt binary: no webkit/gtk/appindicator. qtsvg provides the imageformats
|
||||
# plugin used by the shipped SVG icon set.
|
||||
# Per-arch floors mirror what CI links against (build-qt-linux.yml): amd64
|
||||
# builds on Qt 6.8.3 / ubuntu-22.04 (glibc 2.35); arm64 builds on Qt 6.9.3 /
|
||||
# ubuntu-24.04-arm (glibc 2.39) because aqt's arm64 6.8 host tools segfault.
|
||||
RDEPEND="
|
||||
>=dev-qt/qtbase-6.8:6[dbus,gui,network,opengl,wayland,X]
|
||||
>=dev-qt/qtdeclarative-6.8:6
|
||||
>=dev-qt/qtsvg-6.8:6
|
||||
amd64? (
|
||||
>=dev-qt/qtbase-6.8:6[dbus,gui,network,opengl,wayland,X]
|
||||
>=dev-qt/qtdeclarative-6.8:6
|
||||
>=dev-qt/qtsvg-6.8:6
|
||||
>=sys-libs/glibc-2.35
|
||||
)
|
||||
arm64? (
|
||||
>=dev-qt/qtbase-6.9:6[dbus,gui,network,opengl,wayland,X]
|
||||
>=dev-qt/qtdeclarative-6.9:6
|
||||
>=dev-qt/qtsvg-6.9:6
|
||||
>=sys-libs/glibc-2.39
|
||||
)
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
@@ -61,8 +73,11 @@ src_unpack() {
|
||||
src_install() {
|
||||
dobin qbz
|
||||
|
||||
# MPRIS publishes DesktopEntry=com.blitzfc.qbz: the installed basename
|
||||
# MUST match or the GNOME/Plasma media widget loses its icon
|
||||
# (scripts/packaging/desktop_entry_check.sh documents the invariant).
|
||||
insinto /usr/share/applications
|
||||
newins qbz.desktop qbz.desktop
|
||||
newins qbz.desktop com.blitzfc.qbz.desktop
|
||||
|
||||
local size
|
||||
for size in 32 48 64 128 256; do
|
||||
|
||||
@@ -58,17 +58,25 @@ PDEPEND="
|
||||
S="${WORKDIR}/qbz-${MY_PV}"
|
||||
|
||||
src_compile() {
|
||||
# cxx-qt-build locates Qt through qmake; Gentoo installs it as qmake6
|
||||
# only, so name it explicitly (CI does the same via the QMAKE env var).
|
||||
export QMAKE="${QMAKE:-$(command -v qmake6 || command -v /usr/lib64/qt6/bin/qmake)}"
|
||||
|
||||
# Symbols are stripped by the workspace release profile. The live Qt graph
|
||||
# has no Slint memory wall, so let Cargo use the builder's available cores.
|
||||
cargo build --release --manifest-path crates/Cargo.toml \
|
||||
# --locked: build exactly the committed Cargo.lock, no resolver drift.
|
||||
cargo build --release --locked --manifest-path crates/Cargo.toml \
|
||||
-p qbz-qt || die "cargo build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "crates/target/release/qbz"
|
||||
|
||||
# MPRIS publishes DesktopEntry=com.blitzfc.qbz: the installed basename
|
||||
# MUST match or the GNOME/Plasma media widget loses its icon
|
||||
# (scripts/packaging/desktop_entry_check.sh documents the invariant).
|
||||
insinto /usr/share/applications
|
||||
newins packaging/linux/qbz.desktop qbz.desktop
|
||||
newins packaging/linux/qbz.desktop com.blitzfc.qbz.desktop
|
||||
|
||||
local size
|
||||
for size in 32 48 64 128 256; do
|
||||
|
||||
Reference in new issue
Block a user