mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 08:17:14 +02:00
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
# Contributor: Damian Kurek <starfire24680@gmail.com>
|
|
# Maintainer: Damian Kurek <starfire24680@gmail.com>
|
|
pkgname=kodi-game-libretro-dosbox
|
|
pkgver=0.74.0.25
|
|
_realname=Nexus
|
|
pkgrel=0
|
|
pkgdesc="DosBox GameClient for XBMC"
|
|
options="!check" # no test suite
|
|
url="https://github.com/kodi-game/game.libretro.dosbox"
|
|
arch="x86_64 aarch64 armv7" # kodi is available only on these architectures
|
|
license="GPL-2.0-only"
|
|
makedepends="cmake kodi-dev samurai"
|
|
depends="kodi-game-libretro libretro-dosbox"
|
|
source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/kodi-game/game.libretro.dosbox/archive/$pkgver-$_realname.tar.gz"
|
|
builddir="$srcdir/game.libretro.dosbox-$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 --install build
|
|
rm "$pkgdir"/usr/lib/kodi/addons/game.libretro.dosbox/game.libretro.dosbox.so
|
|
ln -s /usr/lib/libretro/dosbox_libretro.so \
|
|
"$pkgdir"/usr/lib/kodi/addons/game.libretro.dosbox/game.libretro.dosbox.so
|
|
}
|
|
|
|
sha512sums="
|
|
13fe96afaac484cab0a1db242bc6f80b8a732543ee1b554dece3b099f7e308338d96564a6ad7c469aee07363ddcfc387aa126613d3ed203faaff19a9cadc08b9 kodi-game-libretro-dosbox-0.74.0.25-Nexus.tar.gz
|
|
"
|