Update spot-client to 0.2.0
This commit is contained in:
parent
ec2345ced4
commit
ff3a48b4c6
2 changed files with 16 additions and 9 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = spot-client-git
|
||||
pkgdesc = Gtk/Rust native Spotify client - git version
|
||||
pkgver = 0.1.15.r9.g6c66125
|
||||
pkgver = 0.2.0.r14.g2a591fe
|
||||
pkgrel = 1
|
||||
url = https://github.com/xou816/spot
|
||||
arch = x86_64
|
||||
|
@ -15,15 +15,19 @@ pkgbase = spot-client-git
|
|||
makedepends = git
|
||||
makedepends = meson>=0.50.0
|
||||
depends = alsa-lib
|
||||
depends = cairo
|
||||
depends = glib2
|
||||
depends = gtk3
|
||||
depends = libhandy
|
||||
depends = glibc
|
||||
depends = graphene
|
||||
depends = gtk4
|
||||
depends = libadwaita
|
||||
depends = libpulse
|
||||
depends = openssl
|
||||
depends = pango
|
||||
optdepends = org.freedesktop.secrets
|
||||
provides = spot-client
|
||||
conflicts = spot-client
|
||||
source = spot-client-git::git+https://github.com/xou816/spot
|
||||
sha256sums = SKIP
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = spot-client-git
|
||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -1,20 +1,21 @@
|
|||
# Maintainer: Daniel Peukert <daniel@peukert.cc>
|
||||
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
|
||||
_projectname='spot'
|
||||
pkgname="$_projectname-client-git"
|
||||
pkgver='0.1.15.r9.g6c66125'
|
||||
pkgver='0.2.0.r14.g2a591fe'
|
||||
pkgrel='1'
|
||||
pkgdesc='Gtk/Rust native Spotify client - git version'
|
||||
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url="https://github.com/xou816/$_projectname"
|
||||
license=('MIT')
|
||||
depends=('alsa-lib' 'glib2' 'gtk3' 'libhandy' 'libpulse' 'openssl')
|
||||
depends=('alsa-lib' 'cairo' 'glib2' 'glibc' 'graphene' 'gtk4' 'libadwaita' 'libpulse' 'openssl' 'pango')
|
||||
optdepends=('org.freedesktop.secrets')
|
||||
makedepends=('cargo' 'git' 'meson>=0.50.0')
|
||||
checkdepends=('appstream-glib')
|
||||
provides=("$_projectname-client")
|
||||
conflicts=("$_projectname-client")
|
||||
source=("$pkgname::git+$url")
|
||||
sha256sums=('SKIP')
|
||||
sha512sums=('SKIP')
|
||||
|
||||
_sourcedirectory="$pkgname"
|
||||
_builddirectory='build'
|
||||
|
@ -26,8 +27,10 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/"
|
||||
# We're not using arch-meson, because upstream recommends using --buildtype 'release'
|
||||
# The offline build flag is turned off, as we're not predownloading rust dependencies
|
||||
meson setup --prefix '/usr' --libexecdir 'lib' --sbindir 'bin' --buildtype 'release' --wrap-mode 'nodownload' \
|
||||
-Db_lto='true' -Db_pie='true' -Doffline='false' -Dfeatures='warn-cache' "$_sourcedirectory" "$_builddirectory"
|
||||
-Db_lto='true' -Db_pie='true' -Doffline='false' "$_sourcedirectory" "$_builddirectory"
|
||||
meson compile -C "$_builddirectory"
|
||||
}
|
||||
|
||||
|
@ -38,6 +41,6 @@ check() {
|
|||
|
||||
package() {
|
||||
cd "$srcdir/"
|
||||
DESTDIR="$pkgdir" meson install -C "$_builddirectory"
|
||||
meson install -C "$_builddirectory" --destdir "$pkgdir"
|
||||
install -Dm644 "$_sourcedirectory/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue