aports/testing/kodi-audioencoder-lame/APKBUILD
psykose bdd58e57d1 testing/kodi-*: disable on x86
kodi was disabled on x86 so these don't install anymore
2023-06-29 20:06:44 +02:00

30 lines
1 KiB
Text

# Contributor: Damian Kurek <starfire24680@gmail.com>
# Maintainer: Damian Kurek <starfire24680@gmail.com>
pkgname=kodi-audioencoder-lame
pkgver=20.3.0
_realname=Nexus
pkgrel=1
pkgdesc="Lame MP3 encoder addon for Kodi"
options="!check" # no test suite
url="https://github.com/xbmc/audioencoder.lame"
arch="x86_64 aarch64 armv7" # kodi is available only on these architectures
license="GPL-2.0-only"
makedepends="cmake lame-dev kodi-dev samurai"
source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/xbmc/audioencoder.lame/archive/$pkgver-$_realname.tar.gz"
builddir="$srcdir/audioencoder.lame-$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
}
sha512sums="
83956e7874e84f6f1e211352ff031764f8173d554fa22c45eedb96d01275969858378ef52cc8cdb8ab10914e04c5bb460104d511b96f9724c23b4eaa654dd1b9 kodi-audioencoder-lame-20.3.0-Nexus.tar.gz
"