summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2020-07-03 22:25:12 +0200
committerFabioLolix2020-07-03 22:25:12 +0200
commit2bd683bcf0867cf2ee9e883b69999a11612e8d69 (patch)
tree7eb111198ee5e4849cdb3ed207f1d58d38a056cb
parenteef4290622ce95d0ce058586aef909823c298686 (diff)
downloadaur-2bd683bcf0867cf2ee9e883b69999a11612e8d69.tar.gz
revision
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD35
2 files changed, 22 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0534cfd88ed..396b4629693 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = higan-git
pkgdesc = Nintendo multi-system emulator by Byuu
- pkgver = 107.r0.g3a12e1c5
+ pkgver = 110.r0.g483c5781
pkgrel = 1
url = https://higan.byuu.org/
arch = x86_64
@@ -8,6 +8,7 @@ pkgbase = higan-git
license = GPL3
makedepends = git
makedepends = mesa
+ depends = qt5-base
depends = libpulse
depends = gtksourceview2
depends = sdl2
diff --git a/PKGBUILD b/PKGBUILD
index 9cf30e2b259..d004adc6483 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
-# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
+# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Salvador PardiƱas <darkfm@vera.com.uy>
pkgname=higan-git
-pkgver=107.r0.g3a12e1c5
+pkgver=110.r0.g483c5781
pkgrel=1
pkgdesc="Nintendo multi-system emulator by Byuu"
arch=(x86_64 i686)
url="https://higan.byuu.org/"
license=(GPL3)
-depends=(libpulse gtksourceview2 sdl2 libxv libao libgl openal)
+depends=(qt5-base libpulse gtksourceview2 sdl2 libxv libao libgl openal)
makedepends=(git mesa)
provides=(higan)
conflicts=(higan)
@@ -20,23 +20,28 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd higan
+ sed 's|/usr/local/lib/qt5/bin/moc|moc|' -i hiro/GNUmakefile
+}
+
build() {
cd higan
- make -C higan target=higan
- make -C icarus
+
+ make -C higan hiro=qt5
+ make -C icarus hiro=qt5
}
package() {
- cd higan
+ install -dm 755 "${pkgdir}"/usr/share/{higan,icarus}
- install -Dm 755 higan/out/higan -t "${pkgdir}"/usr/bin/
- install -Dm 644 higan/target-higan/resource/higan.desktop -t "${pkgdir}"/usr/share/applications/
- install -Dm 644 higan/target-higan/resource/higan.png -t "${pkgdir}"/usr/share/pixmaps/
- cp -dr --no-preserve='ownership' higan/System "${pkgdir}"/usr/share/higan
+ install -Dm 755 higan/higan/out/higan -t "${pkgdir}"/usr/bin/
+ install -Dm 644 higan/higan/target-higan/resource/higan.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 644 higan/higan/target-higan/resource/higan.svg -t "${pkgdir}"/usr/share/pixmaps/
+ cp -dr --no-preserve='ownership' higan/higan/System "${pkgdir}"/usr/share/higan/Templates
- install -Dm 755 icarus/out/icarus -t "${pkgdir}"/usr/bin/
- install -Dm 644 icarus/data/icarus.desktop -t "${pkgdir}"/usr/share/applications/
- install -Dm 644 icarus/data/icarus.png -t "${pkgdir}"/usr/share/pixmaps/
- install -dm 755 "${pkgdir}"/usr/share/icarus
- cp -dr --no-preserve='ownership' icarus/Database "${pkgdir}"/usr/share/icarus/
+ install -Dm 755 higan/icarus/out/icarus -t "${pkgdir}"/usr/bin/
+ install -Dm 644 higan/icarus/data/icarus.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 644 higan/icarus/data/icarus.svg -t "${pkgdir}"/usr/share/pixmaps/
+ cp -dr --no-preserve='ownership' higan/icarus/Database higan/icarus/Firmware "${pkgdir}"/usr/share/icarus/
}