aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dragon/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 13:27:10 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:50:34 -0300
commitf15098fec6bd689365d56dc8426a37ad14b02ce0 (patch)
treed4089f59b533192228eb68be864f0326a4afd953 /testing/dragon/APKBUILD
parentb8c67d3a0755906cd98de8a06934a81dd5d6d7b1 (diff)
downloadaports-f15098fec6bd689365d56dc8426a37ad14b02ce0.tar.bz2
aports-f15098fec6bd689365d56dc8426a37ad14b02ce0.tar.xz
testing/dragon: new aport
Diffstat (limited to 'testing/dragon/APKBUILD')
-rw-r--r--testing/dragon/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/dragon/APKBUILD b/testing/dragon/APKBUILD
new file mode 100644
index 0000000000..d841054788
--- /dev/null
+++ b/testing/dragon/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=dragon
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/multimedia/org.kde.dragonplayer"
+pkgdesc="A multimedia player where the focus is on simplicity, instead of features"
+license="GPL-2.0-only OR GPL-3.0-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kjobwidgets-dev kio-dev kparts-dev solid-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev knotifications-dev phonon-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="f46d949e44ae4014fcad9186f36de50068095154af9632fc6d5ba4b7285b078caa4d09e0f1d3d84edb08aace6335db2ec6c8f4771061e2e2932901fd198eca7d dragon-19.04.2.tar.xz"