aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kfilemetadata/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-28 21:25:25 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-29 18:46:53 +0000
commit18a1af220785e0b37e2caa600edea0a8700c9630 (patch)
treed530698087525c3e04c21696c1efabc354407752 /testing/kfilemetadata/APKBUILD
parent60533f22a87473ae583e6966c37d5bfdeb30d20a (diff)
downloadaports-18a1af220785e0b37e2caa600edea0a8700c9630.tar.bz2
aports-18a1af220785e0b37e2caa600edea0a8700c9630.tar.xz
testing/kfilemetadata: new aport
Closes GH-8204
Diffstat (limited to 'testing/kfilemetadata/APKBUILD')
-rw-r--r--testing/kfilemetadata/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/kfilemetadata/APKBUILD b/testing/kfilemetadata/APKBUILD
new file mode 100644
index 0000000000..3866a6a916
--- /dev/null
+++ b/testing/kfilemetadata/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kfilemetadata
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="A library for extracting file metadata"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
+depends_dev="qt5-qtbase-dev karchive-dev kcoreaddons-dev ki18n-dev exiv2-dev taglib-dev ffmpeg-dev attr-dev"
+makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ # extractorcoveragetest, propertyinfotest_localized, extractorcollectiontest fail on armhf
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(extractorcoveragetest|propertyinfotest_localized|extractorcollectiontest)'
+}
+
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="1a8967b10882910645254fec74a0b61fa9a7458a5cfeb105d3161deda07591871b505c4b415f2ae8612235a3fc611084da5ea534224405bdb19b0cd04a674c11 kfilemetadata-5.58.0.tar.xz"