aports/community/libdjinterop/APKBUILD

41 lines
1,014 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
maintainer="fossdd <fossdd@pwned.life>"
pkgname=libdjinterop
pkgver=0.24.3 # This needs to be the exact version testing/mixxx expects
pkgrel=0
pkgdesc="C++ library for access to DJ record libraries"
url="https://github.com/xsco/libdjinterop"
arch="all"
license="LGPL-3.0-only"
depends_dev="
sqlite-dev
zlib-dev
"
makedepends="$depends_dev
cmake
samurai
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/xsco/libdjinterop/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8107f2e6461c6c8f45592caf90b3a0775330960bc565724a53ae91b39f7911dab52725b6993182c0bc663c588acab6ee9e58a3c10426bf2d81a801bcfe540569 libdjinterop-0.24.3.tar.gz
"