chore(packaging): add linux workflows and manifests
This commit is contained in:
1 parent
ac35875351
commit
5eac9676de
8 files changed
+255
No files matched your search
@@ -0,0 +1,23 @@
|
||||
pkgbase = qbz
|
||||
pkgdesc = Native Qobuz client for Linux with bit-perfect playback
|
||||
pkgver = 0.1.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/vicrodh/qbz
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
depends = alsa-lib
|
||||
depends = gtk3
|
||||
depends = libappindicator-gtk3
|
||||
depends = libxkbcommon
|
||||
depends = openssl
|
||||
depends = webkit2gtk
|
||||
makedepends = nodejs
|
||||
makedepends = npm
|
||||
makedepends = rust
|
||||
makedepends = cargo
|
||||
makedepends = pkgconf
|
||||
makedepends = clang
|
||||
source = https://github.com/vicrodh/qbz/archive/refs/tags/v0.1.0.tar.gz
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = qbz
|
||||
@@ -0,0 +1,42 @@
|
||||
# Maintainer: QBZ Team
|
||||
|
||||
pkgname=qbz
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Native Qobuz client for Linux with bit-perfect playback"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/vicrodh/qbz"
|
||||
license=(MIT)
|
||||
depends=(
|
||||
alsa-lib
|
||||
gtk3
|
||||
libappindicator-gtk3
|
||||
libxkbcommon
|
||||
openssl
|
||||
webkit2gtk
|
||||
)
|
||||
makedepends=(
|
||||
nodejs
|
||||
npm
|
||||
rust
|
||||
cargo
|
||||
pkgconf
|
||||
clang
|
||||
)
|
||||
source=("https://github.com/vicrodh/qbz/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/qbz-${pkgver}"
|
||||
npm ci
|
||||
npm run build
|
||||
npm run tauri build -- --bundles none
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/qbz-${pkgver}"
|
||||
install -Dm755 src-tauri/target/release/qbz-nix "${pkgdir}/usr/bin/qbz"
|
||||
install -Dm644 packaging/arch/qbz.desktop "${pkgdir}/usr/share/applications/qbz.desktop"
|
||||
install -Dm644 src-tauri/icons/128x128.png "${pkgdir}/usr/share/icons/hicolor/128x128/apps/qbz.png"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=QBZ
|
||||
Exec=qbz
|
||||
Type=Application
|
||||
Icon=qbz
|
||||
Categories=Audio;Music;Player;
|
||||
Terminal=false
|
||||
StartupWMClass=QBZ
|
||||
Reference in new issue
Block a user