upgpkg: spot-client 0.4.1-1
upstream release
This commit is contained in:
parent
cfca7e7c2c
commit
556f100aae
3 changed files with 30 additions and 27 deletions
11
.SRCINFO
11
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = spot-client
|
pkgbase = spot-client
|
||||||
pkgdesc = Gtk/Rust native Spotify client
|
pkgdesc = Gtk/Rust native Spotify client
|
||||||
pkgver = 0.4.0
|
pkgver = 0.4.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/xou816/spot
|
url = https://github.com/xou816/spot
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -12,7 +12,8 @@ pkgbase = spot-client
|
||||||
license = MIT
|
license = MIT
|
||||||
checkdepends = appstream-glib
|
checkdepends = appstream-glib
|
||||||
makedepends = cargo
|
makedepends = cargo
|
||||||
makedepends = meson>=0.50.0
|
makedepends = meson>=0.59.0
|
||||||
|
makedepends = blueprint-compiler>=0.8.1
|
||||||
depends = alsa-lib
|
depends = alsa-lib
|
||||||
depends = cairo
|
depends = cairo
|
||||||
depends = glib2
|
depends = glib2
|
||||||
|
@ -25,9 +26,9 @@ pkgbase = spot-client
|
||||||
depends = pango
|
depends = pango
|
||||||
optdepends = org.freedesktop.secrets
|
optdepends = org.freedesktop.secrets
|
||||||
options = !lto
|
options = !lto
|
||||||
source = https://github.com/xou816/spot/archive/0.4.0/spot-0.4.0.tar.gz
|
source = https://github.com/xou816/spot/archive/0.4.1/spot-0.4.1.tar.gz
|
||||||
source = disable-clippy.patch
|
source = disable-clippy.patch
|
||||||
sha512sums = 45b7b28250d6a3ccfd829984d5ee2f94fc8f052467cfa94403171d7c9fe803c65567759b3b01b86b8cc7a1d8cbdff64d99c82a72c34997192386ff9f51531d1d
|
sha512sums = 05ee8ce9277230a0f6c25411b41788a508551a61cd436bdd6bb0d8245030b0523232c0e30c7d2f98977382e687ec0f502cb6eb9b95a7dbaae97042ec596f407e
|
||||||
sha512sums = 1cb0faced2e6801cb994e9af7b81411355837b2efcd9c82b82751508e0bfcc967c50b3d6296bfdb8c017bbf2e7a503a3920d36cb896e44c896c23f5b9e1d13f1
|
sha512sums = 4e38fff2a5867c46749959ceb0fb16372f12c8f8038b6a33d43e126e741f43e524e1499bb9b514e56b036097aaa0ac5dd149823c2c9eba277ab0ea4f58d5fb55
|
||||||
|
|
||||||
pkgname = spot-client
|
pkgname = spot-client
|
||||||
|
|
21
PKGBUILD
21
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
_projectname='spot'
|
_projectname='spot'
|
||||||
pkgname="$_projectname-client"
|
pkgname="$_projectname-client"
|
||||||
pkgver='0.4.0'
|
pkgver='0.4.1'
|
||||||
pkgrel='1'
|
pkgrel='1'
|
||||||
pkgdesc='Gtk/Rust native Spotify client'
|
pkgdesc='Gtk/Rust native Spotify client'
|
||||||
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||||
|
@ -12,24 +12,21 @@ url="https://github.com/xou816/$_projectname"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('alsa-lib' 'cairo' 'glib2' 'glibc' 'graphene' 'gtk4' 'libadwaita' 'libpulse' 'openssl' 'pango')
|
depends=('alsa-lib' 'cairo' 'glib2' 'glibc' 'graphene' 'gtk4' 'libadwaita' 'libpulse' 'openssl' 'pango')
|
||||||
optdepends=('org.freedesktop.secrets')
|
optdepends=('org.freedesktop.secrets')
|
||||||
makedepends=('cargo' 'meson>=0.50.0')
|
makedepends=('cargo' 'meson>=0.59.0' 'blueprint-compiler>=0.8.1')
|
||||||
checkdepends=('appstream-glib')
|
checkdepends=('appstream-glib')
|
||||||
options=('!lto') # build breaks with LTO enabled (https://gitlab.com/dpeukert/pkgbuilds/-/issues/38)
|
options=('!lto') # Build breaks with LTO enabled
|
||||||
source=(
|
source=("https://github.com/xou816/$_projectname/archive/$pkgver/$_projectname-$pkgver.tar.gz"
|
||||||
"https://github.com/xou816/$_projectname/archive/$pkgver/$_projectname-$pkgver.tar.gz"
|
'disable-clippy.patch')
|
||||||
'disable-clippy.patch'
|
sha512sums=('05ee8ce9277230a0f6c25411b41788a508551a61cd436bdd6bb0d8245030b0523232c0e30c7d2f98977382e687ec0f502cb6eb9b95a7dbaae97042ec596f407e'
|
||||||
)
|
'4e38fff2a5867c46749959ceb0fb16372f12c8f8038b6a33d43e126e741f43e524e1499bb9b514e56b036097aaa0ac5dd149823c2c9eba277ab0ea4f58d5fb55')
|
||||||
sha512sums=('45b7b28250d6a3ccfd829984d5ee2f94fc8f052467cfa94403171d7c9fe803c65567759b3b01b86b8cc7a1d8cbdff64d99c82a72c34997192386ff9f51531d1d'
|
validpgpkeys=() # Waiting for https://github.com/xou816/spot/issues/283
|
||||||
'1cb0faced2e6801cb994e9af7b81411355837b2efcd9c82b82751508e0bfcc967c50b3d6296bfdb8c017bbf2e7a503a3920d36cb896e44c896c23f5b9e1d13f1')
|
|
||||||
validpgpkeys=() # waiting for https://github.com/xou816/spot/issues/283
|
|
||||||
|
|
||||||
_sourcedirectory="$_projectname-$pkgver"
|
_sourcedirectory="$_projectname-$pkgver"
|
||||||
_builddirectory='build'
|
_builddirectory='build'
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$_sourcedirectory/"
|
cd "$srcdir/$_sourcedirectory/"
|
||||||
|
# Disable failing clippy tests
|
||||||
# Disable clippy tests, as they don't realy make sense for user builds (https://gitlab.com/dpeukert/pkgbuilds/-/issues/37)
|
|
||||||
patch -Np1 < '../disable-clippy.patch'
|
patch -Np1 < '../disable-clippy.patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,24 @@
|
||||||
diff --git a/src/meson.build b/src/meson.build
|
diff --git a/src/meson.build b/src/meson.build
|
||||||
index 755d870..fac1b77 100644
|
index 900f3fa..e08b062 100644
|
||||||
--- a/src/meson.build
|
--- a/src/meson.build
|
||||||
+++ b/src/meson.build
|
+++ b/src/meson.build
|
||||||
@@ -208,14 +208,3 @@ test('Unit tests',
|
@@ -149,19 +149,3 @@ test('Unit tests',
|
||||||
],
|
timeout: 180,
|
||||||
timeout: 180
|
env: env
|
||||||
)
|
)
|
||||||
-
|
-
|
||||||
-cargo_clippy = find_program(meson.source_root() / 'build-aux/clippy.sh')
|
|
||||||
-test('Clippy',
|
-test('Clippy',
|
||||||
- cargo_clippy,
|
- cargo,
|
||||||
- args: [
|
- args: [
|
||||||
- meson.source_root(),
|
- 'clippy',
|
||||||
- meson.build_root(),
|
- '--manifest-path', cargo_manifest,
|
||||||
- get_option('offline') ? 'true' : 'false'
|
- '--target-dir', meson.project_build_root() / 'src',
|
||||||
|
- '--',
|
||||||
|
- '-D', 'warnings',
|
||||||
|
- '-A', 'clippy::module_inception',
|
||||||
|
- '-A', 'clippy::new_without_default',
|
||||||
|
- '-A', 'clippy::enum-variant-names'
|
||||||
- ],
|
- ],
|
||||||
- timeout: 180
|
- timeout: 180,
|
||||||
|
- env: env
|
||||||
-)
|
-)
|
||||||
|
|
Loading…
Reference in a new issue