Date: Friday, November 9, 2018 @ 22:41:16 Author: felixonmars Revision: 405043
archrelease: copy trunk to community-staging-x86_64 Added: kodi-addon-adsp-freesurround/repos/community-staging-x86_64/ kodi-addon-adsp-freesurround/repos/community-staging-x86_64/PKGBUILD (from rev 405041, kodi-addon-adsp-freesurround/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: kodi-addon-adsp-freesurround/repos/community-staging-x86_64/PKGBUILD (from rev 405041, kodi-addon-adsp-freesurround/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-09 22:41:16 UTC (rev 405043) @@ -0,0 +1,36 @@ +# Maintainer: BlackEagle <ike.devol...@gmail.com>> + +pkgname=kodi-addon-adsp-freesurround +_commit=79fa039 +pkgver=20170518.79fa039 +pkgrel=2 +pkgdesc="FreeSurround AudioDSP add-on for Kodi" +arch=('x86_64') +url='https://github.com/kodi-adsp/adsp.freesurround' +license=('GPL') +groups=('kodi-addons' 'kodi-addons-adsp') +depends=('kodi-platform') +makedepends=('git' 'cmake' 'kodi-dev') +source=("$pkgname::git://github.com/kodi-adsp/adsp.freesurround.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + git log -1 --date=short --format="%cd.%h" | tr -d '-' +} + +build() { + cd "$pkgname" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=1 \ + -DUSE_LTO=1 + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" install +} +