# Contributor: Damian Kurek # Maintainer: Damian Kurek pkgname=kodi-game-libretro pkgver=20.1.0 _realname=Nexus pkgrel=0 pkgdesc="Libretro compatibility layer for the Kodi Game API" options="!check" # no test suite url="https://github.com/kodi-game/game.libretro" arch="x86_64 aarch64 armv7" # kodi is available only on these architectures license="GPL-2.0-only" makedepends="cmake kodi-dev samurai" depends="libretro-core-info" source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/kodi-game/game.libretro/archive/$pkgver-$_realname.tar.gz" builddir="$srcdir/game.libretro-$pkgver-$_realname" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" df1ea78b978a753b8698e808cd241fafc34d731e38d4f165b713e2bb836e9b1353ea6d8506e2f4915116e5e430286903615faa7eb6c3526f163e7cba88cedabf kodi-game-libretro-20.1.0-Nexus.tar.gz "