Disable LTO for spot-client

This commit is contained in:
Daniel Peukert 2022-03-08 12:33:04 +01:00
parent f8f9518535
commit 8e6f510538
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ pkgbase = spot-client
depends = openssl
depends = pango
optdepends = org.freedesktop.secrets
options = !lto
source = spot-client-0.3.1-1.tar.gz::https://github.com/xou816/spot/archive/0.3.1.tar.gz
source = disable-clippy.patch
sha512sums = b0127dbe2a1430dcc288c9ef6bd61f0afa92e4ca6316d4e84c7e6bf7051cffc90a8778312e04991f91a2090728a7ce3e288249d1c8562106f7851dc701e97873

View File

@ -12,6 +12,7 @@ depends=('alsa-lib' 'cairo' 'glib2' 'glibc' 'graphene' 'gtk4' 'libadwaita' 'libp
optdepends=('org.freedesktop.secrets')
makedepends=('cargo' 'meson>=0.50.0')
checkdepends=('appstream-glib')
options=('!lto') # build breaks with LTO enabled (https://gitlab.com/dpeukert/pkgbuilds/-/issues/38)
source=(
"$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz"
'disable-clippy.patch'