From 00d2f163c4793fc38be87523a456e80a4209f31c Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 25 Jul 2024 16:29:59 -0700 Subject: Clean up PKGBUILD. And explicitly disable arch's lto. --- PKGBUILD | 28 ++++++++++++++++++++++------ 1 file 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') -- cgit v1.2.1