diff options
author | Damian Kurek <starfire24680@gmail.com> | 2021-02-13 01:47:45 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-02-22 15:14:21 +0000 |
commit | 401262a7aa94aac2b8a52d3ea9b8b68b28fe6846 (patch) | |
tree | 78c061e7262e9ef0018060bd4cc5bc1bfdf3fcf3 /testing/kodi-game-libretro-frodo | |
parent | 5f02d603fa368c7c41e660bd1c2b3009536a9a18 (diff) | |
download | aports-401262a7aa94aac2b8a52d3ea9b8b68b28fe6846.zip |
testing/kodi-game-libretro-frodo: new aport
https://github.com/kodi-game/game.libretro.frodo
Commodore - C64 (Frodo) game addon for Kodi
Diffstat (limited to 'testing/kodi-game-libretro-frodo')
-rw-r--r-- | testing/kodi-game-libretro-frodo/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kodi-game-libretro-frodo/APKBUILD b/testing/kodi-game-libretro-frodo/APKBUILD new file mode 100644 index 00000000000..6854fba0780 --- /dev/null +++ b/testing/kodi-game-libretro-frodo/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Damian Kurek <starfire24680@gmail.com> +# Maintainer: Damian Kurek <starfire24680@gmail.com> +pkgname=kodi-game-libretro-frodo +pkgver=0.0.1.5 +_realname=Matrix +pkgrel=0 +pkgdesc="Commodore - C64 (Frodo) game addon for Kodi" +options="!check" # no test suite +url="https://github.com/kodi-game/game.libretro.frodo" +arch="x86 x86_64 aarch64" # kodi +license="GPL-2.0-only" +makedepends="cmake kodi-dev" +depends="kodi-game-libretro libretro-frodo" +source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/kodi-game/game.libretro.frodo/archive/$pkgver-$_realname.tar.gz" +builddir="$srcdir/game.libretro.frodo-$pkgver-$_realname" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi \ + -DUSE_LTO=1 + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install + rm -r "$pkgdir"/usr/lib/kodi/addons/game.libretro.frodo/game.libretro.frodo.so + ln -s /usr/lib/libretro/frodo_libretro.so \ + "$pkgdir"/usr/lib/kodi/addons/game.libretro.frodo/game.libretro.frodo.so +} + +sha512sums="3ce19c82ad0021c3f27d91dd2b3ab4fe152091e8faca8a1bc71878ffe15a936529e86b691b0dcf8348d769580a604be163ad35d0f6b1b5d8a978b994ac144db6 kodi-game-libretro-frodo-0.0.1.5-Matrix.tar.gz" |