aboutsummaryrefslogtreecommitdiffstats
path: root/community/kfilemetadata/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kfilemetadata/APKBUILD')
-rw-r--r--community/kfilemetadata/APKBUILD38
1 files changed, 28 insertions, 10 deletions
diff --git a/community/kfilemetadata/APKBUILD b/community/kfilemetadata/APKBUILD
index 57695e36bdb..e7009ccf0a8 100644
--- a/community/kfilemetadata/APKBUILD
+++ b/community/kfilemetadata/APKBUILD
@@ -1,16 +1,36 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
-# Maintainer: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: team/kde <bribbers@disroot.org>
+
+# The group tag is just to easily find this APKBUILD by some scripts for automation
+# group=kde-frameworks
pkgname=kfilemetadata
-pkgver=5.97.0
+pkgver=6.1.0
pkgrel=0
pkgdesc="A library for extracting file metadata"
arch="all !armhf" # armhf blocked by extra-cmake-modules
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 kconfig-dev exiv2-dev taglib-dev attr-dev"
-makedepends="$depends_dev extra-cmake-modules ffmpeg-dev qt5-qttools-dev doxygen samurai"
-source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kfilemetadata-$pkgver.tar.xz"
+depends_dev="
+ attr-dev
+ exiv2-dev
+ karchive-dev
+ kcodecs-dev
+ kconfig-dev
+ kcoreaddons-dev
+ ki18n-dev
+ qt6-qtbase-dev
+ taglib-dev
+ "
+makedepends="$depends_dev
+ doxygen
+ extra-cmake-modules
+ ffmpeg-dev
+ qt6-qttools-dev
+ samurai
+ "
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+_repo_url="https://invent.kde.org/frameworks/kfilemetadata.git"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kfilemetadata-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
@@ -22,8 +42,6 @@ build() {
}
check() {
- cd build
-
# Broken tests
local skipped_tests="("
local tests="
@@ -36,13 +54,13 @@ check() {
skipped_tests="$skipped_tests|$test"
done
skipped_tests="$skipped_tests)test"
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "$skipped_tests"
+ ctest --test-dir build --output-on-failure -E "$skipped_tests"
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
-497a4744606f09fb30958ceebd0a287f24b0928b4ec1a5db901aea1e69fb00f3a9886c2134d2c8cf5ca0fd5549ad8b4981964a742c39caee492d243ae5eae920 kfilemetadata-5.97.0.tar.xz
+afeee8f47c202906d12a48153f325dc694e929d634ec785d6bf1db36c23dca913c3e0d4cd39947b1f4cf6aa62b5f3fa4e543590ec81b736e666335e62182dbd2 kfilemetadata-6.1.0.tar.xz
"