summaryrefslogtreecommitdiff
path: root/user/juk
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-24 15:23:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-24 15:23:14 -0500
commit624e00afcb2ea205b88fa4b5cd2fba427476d064 (patch)
tree21e6921d593446cdc6caa8f0bf3763294ecbb9af /user/juk
parent5979537c85d1b96d1275ecae1819219516e4d65a (diff)
downloadpackages-624e00afcb2ea205b88fa4b5cd2fba427476d064.tar.gz
packages-624e00afcb2ea205b88fa4b5cd2fba427476d064.tar.bz2
packages-624e00afcb2ea205b88fa4b5cd2fba427476d064.tar.xz
packages-624e00afcb2ea205b88fa4b5cd2fba427476d064.zip
user/juk: new package
Diffstat (limited to 'user/juk')
-rw-r--r--user/juk/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/juk/APKBUILD b/user/juk/APKBUILD
new file mode 100644
index 000000000..5a3efc433
--- /dev/null
+++ b/user/juk/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=juk
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="KDE Jukebox"
+url="https://juk.kde.org/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
+ kcoreaddons-dev kcompletion-dev kcrash-dev kglobalaccel-dev ki18n-dev
+ kiconthemes-dev kdoctools-dev kio-dev kjobwidgets-dev ktextwidgets-dev
+ knotifications-dev kxmlgui-dev kwallet-dev kwidgetsaddons-dev
+ kwindowsystem-dev taglib-dev phonon-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/juk-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="32f35ba5d1f7bc0d38555ab5a1da3deda0055e96ec2ca993f18f5339b3e231d903fa73d1a26a72413a159708cd08575b111bae8046603672f80f20678c36a362 juk-17.12.2.tar.xz"