diff options
Diffstat (limited to 'community/dolphin-plugins/APKBUILD')
-rw-r--r-- | community/dolphin-plugins/APKBUILD | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/community/dolphin-plugins/APKBUILD b/community/dolphin-plugins/APKBUILD index efd0de8713a..511caa20f5c 100644 --- a/community/dolphin-plugins/APKBUILD +++ b/community/dolphin-plugins/APKBUILD @@ -1,31 +1,48 @@ # 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-applications pkgname=dolphin-plugins -pkgver=20.04.1 +pkgver=24.02.2 pkgrel=0 -arch="all !armhf" -url="https://www.kde.org/applications/system/dolphin/" pkgdesc="Extra Dolphin plugins" +url="https://www.kde.org/applications/system/dolphin/" +# armhf blocked by extra-cmake-modules +arch="all !armhf" license="GPL-2.0-or-later" -makedepends="extra-cmake-modules qt5-qtbase-dev kxmlgui-dev ki18n-dev kio-dev ktextwidgets-dev ktexteditor-dev dolphin-dev" -source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-plugins-$pkgver.tar.xz" +makedepends=" + dolphin-dev + extra-cmake-modules + ki18n-dev + kio-dev + ktexteditor-dev + ktextwidgets-dev + kxmlgui-dev + qt6-qtbase-dev + samurai + " subpackages="$pkgname-lang" +_repo_url="https://invent.kde.org/sdk/dolphin-plugins.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-plugins-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_svn=OFF # Broken "error: expected unqualified-id before '(' token" cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + ctest --test-dir build --output-on-failure } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="5dab9c10f3ed93dab83a401c4317dc5f0d4252016d5157a0bb69ff82b2f3f8d4f78a0c65941203b5aaf92d7de8ed8efc903841cffc0024513b8e0e106edc32e3 dolphin-plugins-20.04.1.tar.xz" +sha512sums=" +585249422ef1637c2caee044a71d11c621127ef578131d2323e879b12bee2f17082c4811273e6bb0013d1386f7010ded187627965bfce0b1b412b25048cd11d8 dolphin-plugins-24.02.2.tar.xz +" |