blob: 00e69ac1b981c8838d9c8bf9768270aeb67c0878 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: mcarni <michele DOT carnaghi AT googlemail DOT com>
pkgname=kodi-addon-game-libretro-fbneo
pkgver=1.0.0.76
_codename=Nexus
pkgrel=1
pkgdesc="This add-on provides a wrapper that allows Libretro cores to be loaded as game add-ons"
arch=('aarch64' 'armv7h')
url="https://github.com/kodi-game/game.libretro.fbneo"
license=('GPL2')
groups=('kodi-addons' 'kodi-addons-game')
makedepends=('cmake' 'kodi-dev' 'kodi-addon-game-libretro' 'libretro-fbneo')
options=(!lto debug)
source=("$pkgname-$pkgver.tar.gz::https://github.com/kodi-game/game.libretro.fbneo/archive/refs/tags/$pkgver-$_codename.tar.gz")
sha512sums=('21083646e8fbd468adc3294aa0a78754d7522ba5277b0f33c4e9c9267980f3a726b8dea530fd7bba288c2102a586f4be9fa08ad097a7718435cf4261dcb4d057')
build() {
cd "game.libretro.fbneo-$pkgver-$_codename"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DUSE_LTO=1 \
.
make
}
package() {
depends=('kodi-addon-game-libretro' 'libretro-fbneo')
cd "game.libretro.fbneo-$pkgver-$_codename"
make DESTDIR="$pkgdir/" install
}
|