aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNevadim 'ov <vluzan@disroot.org>2021-11-13 09:41:36 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-11-15 13:49:57 +0000
commit3c7135a7e453ce8e28c36aee2fa2aa8cf06a2aa6 (patch)
treeed7011e4797d425209519184c8ba3b7d82c28259
parent29431e97e82e01bd8a7fa71b4aede64c76d4055d (diff)
downloadaports-3c7135a7e453ce8e28c36aee2fa2aa8cf06a2aa6.tar.gz
aports-3c7135a7e453ce8e28c36aee2fa2aa8cf06a2aa6.tar.bz2
aports-3c7135a7e453ce8e28c36aee2fa2aa8cf06a2aa6.tar.xz
testing/pcem: new aport
-rw-r--r--testing/pcem/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/pcem/APKBUILD b/testing/pcem/APKBUILD
new file mode 100644
index 0000000000..0b9ce5d953
--- /dev/null
+++ b/testing/pcem/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Vladimir Luzan <vluzan@disroot.org>
+# Maintainer: Vladimir Luzan <vluzan@disroot.org>
+pkgname=pcem
+pkgver=17
+pkgrel=0
+pkgdesc="Retro PC emulator"
+url="http://pcem-emulator.co.uk"
+# not supported due to pcem specifics
+arch="all !aarch64 !armv7 !armhf !ppc64le !s390x !mips !mips64 !riscv64"
+license="GPL-2.0-only"
+makedepends="wxgtk-dev openal-soft-dev sdl2-dev alsa-lib-dev make autoconf automake"
+source="http://pcem-emulator.co.uk/files/PCemV${pkgver}Linux.tar.gz"
+
+
+prepare() {
+ default_prepare
+ autoreconf
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-alsa \
+ --enable-release-build \
+ --enable-networking
+ make
+}
+
+package() {
+ make -C src DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+6d84c8cbe9b6116f6439f542ac08139cfc5652a34b615a1ed841a6f8c227e77f1d26573ec35d57511b9a69e7472fbe51f2abb9307f8f8c1207c74fbe8107cadd PCemV17Linux.tar.gz
+"