summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2024-07-25 16:29:59 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2024-07-25 16:29:59 -0700
commit00d2f163c4793fc38be87523a456e80a4209f31c (patch)
tree5173efc51f56400b72dbf5db6b009f0484bbadad
parentFix depends (diff)
downloaddesmume-00d2f163c4793fc38be87523a456e80a4209f31c.tar.xz
Clean up PKGBUILD. And explicitly disable arch's lto.HEADmaster
-rw-r--r--PKGBUILD28
1 files changed, 22 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f26cb1c..402e987 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,15 +20,31 @@ pkgname=desmume
pkgver=0.9.13
_pkgver=0_9_13
pkgrel=1.2
-pkgdesc="Nintendo DS emulator"
-arch=('x86_64')
+pkgdesc='Nintendo DS emulator'
+arch=(x86_64)
url="https://desmume.org/"
-license=('GPL')
+license=(GPL)
# # For some reason this breaks compiling. "error: C++ compiler cannot create executables"
# # But old-fashioned raw injection of -flto=auto via export doesn't.
-#options=(lto)
-depends=('alsa-lib' 'desktop-file-utils' 'glu' 'gtk2' 'libopenal.so' 'libpcap' 'sdl2' 'soundtouch' 'zlib' 'zziplib')
-makedepends=('intltool' 'mesa' 'meson')
+# # Now explicitly disabled because arch now forces it by default.
+options=(!lto)
+depends=(
+ alsa-lib
+ desktop-file-utils
+ glu
+ gtk2
+ libopenal.so
+ libpcap
+ sdl2
+ soundtouch
+ zlib
+ zziplib
+)
+makedepends=(
+ intltool
+ mesa
+ meson
+)
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/TASEmulators/${pkgname}/archive/refs/tags/release_${_pkgver}.tar.gz")
b2sums=('d63ed03801a15a3429c12b05da4ff2e4ea851a7dc307d4a4e02b6a0f74b2c4fab3a27ff14f6c563c9b84a827bb7d7db3083884154049cf8a8ffd5df6aa310e5c')