diff options
author | Damian Kurek <starfire24680@gmail.com> | 2021-02-06 12:46:17 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-02-07 20:01:44 +0000 |
commit | 5b10ca14f96923678246d4eecc09bf1adcdb7d55 (patch) | |
tree | a92db610b0b918a66ffcebb6d3a79fe2de43e8a5 /testing | |
parent | d5f1f5c53c9f66bb6b103475cd97340e51ee1dff (diff) | |
download | aports-5b10ca14f96923678246d4eecc09bf1adcdb7d55.zip |
testing/kodi-audioencoder-lame: new aport
https://github.com/xbmc/audioencoder.lame
Lame MP3 encoder addon for Kodi
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kodi-audioencoder-lame/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/kodi-audioencoder-lame/APKBUILD b/testing/kodi-audioencoder-lame/APKBUILD new file mode 100644 index 00000000000..348f4e4bc97 --- /dev/null +++ b/testing/kodi-audioencoder-lame/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Damian Kurek <starfire24680@gmail.com> +# Maintainer: Damian Kurek <starfire24680@gmail.com> +pkgname=kodi-audioencoder-lame +pkgver=2.0.4 +_realname=Leia +pkgrel=0 +pkgdesc="Lame MP3 encoder addon for Kodi" +options="!check" # no test suite +url="https://github.com/xbmc/audioencoder.lame" +arch="x86 x86_64 aarch64" # kodi +license="GPL-2.0-only" +makedepends="cmake lame-dev kodi-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/xbmc/audioencoder.lame/archive/$pkgver-$_realname.tar.gz" +builddir="$srcdir/audioencoder.lame-$pkgver-$_realname" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi \ + -DUSE_LTO=1 + make -C build +} + +package() { + make -C build DESTDIR="$pkgdir" install +} + +sha512sums="8b57d20c2d02ec7148a83ab7af78eaf92b600a40faa666c4f26b5acb59838ade54f026dc3869b23fc79511fc5901acca5322d2f04336fc8d4f545f5d7c04cb2c kodi-audioencoder-lame-2.0.4.tar.gz" |