aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2024-03-11 09:52:50 +0100
committerptrcnull <git@ptrcnull.me>2024-03-11 09:52:50 +0100
commitb5ae064bf6fcd251027bf00757fc59c465b54f1f (patch)
tree3aba152153ae6a26f8e97383ad57aaa21a9bfb99
parenta4753933729c813a786aa777342e5b673eed1e95 (diff)
community/plasma-framework5: restore
used by: - alkimia - krunner5 - kup - mycroft-plasmoid - mauikit - mycroft-gui - libreoffice - plasma-pass - plasma-videoplayer
-rw-r--r--community/plasma-framework5/APKBUILD78
1 files changed, 78 insertions, 0 deletions
diff --git a/community/plasma-framework5/APKBUILD b/community/plasma-framework5/APKBUILD
new file mode 100644
index 00000000000..a55f9bd8377
--- /dev/null
+++ b/community/plasma-framework5/APKBUILD
@@ -0,0 +1,78 @@
+# Contributor: 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=plasma-framework5
+pkgver=5.115.0
+pkgrel=1
+pkgdesc="Plasma library and runtime components based upon KF5 and Qt5"
+# armhf blocked by qt5-qtdeclarative
+arch="all !armhf"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later AND GPL-2.0-or-later"
+depends_dev="
+ kactivities5-dev
+ karchive5-dev
+ kconfig5-dev
+ kconfigwidgets5-dev
+ kcoreaddons5-dev
+ kdbusaddons5-dev
+ kdeclarative5-dev
+ kglobalaccel5-dev
+ kguiaddons5-dev
+ ki18n5-dev
+ kiconthemes5-dev
+ kio5-dev
+ kirigami2-dev
+ knotifications5-dev
+ kpackage5-dev
+ kservice5-dev
+ kwayland5-dev
+ kwindowsystem5-dev
+ kxmlgui5-dev
+ mesa-dev
+ qt5-qtbase-dev
+ qt5-qtdeclarative-dev
+ qt5-qtquickcontrols2-dev
+ "
+makedepends="$depends_dev
+ doxygen
+ extra-cmake-modules
+ graphviz
+ kdoctools5-dev
+ qt5-qttools-dev
+ samurai
+ "
+checkdepends="
+ hicolor-icon-theme
+ xvfb-run
+ "
+_repo_url="https://invent.kde.org/plasma/plasma-framework.git"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/plasma-framework-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+options="!check" # 8 out of 13 tests fail
+builddir="$srcdir/plasma-framework-$pkgver"
+
+replaces="plasma-framework<=5.110.0-r0"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ cmake --build build
+}
+
+check() {
+ xvfb-run ctest --test-dir build --output-on-failure
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+46ff7c6e93c7be3bb6998010b8b613f7c90cb9b3313290d6ebf0b94ed896e676c245aa090f0beb74c4c68576909f7dc7b6f580e386c18a923be90f74bdc1fbb6 plasma-framework-5.115.0.tar.xz
+"