From 9aa3a65a83cd86afa5180bf56f7339ee824498ed Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 21 Jan 2021 16:56:19 +0100 Subject: [PATCH] temp/plasma*: fork from Alpine to upgrade to 5.20.90 (MR 1881) [ci:skip-build] Never succeeds in time [ci:skip-vercheck] We need our Mauikit to be a rel newer than in Alpine repos, but the CI doesn't like it This includes a big rewrite in kwin which should increase the performance a whole lot, and some awesome other stuff --- temp/bluedevil/APKBUILD | 59 ++++++++++ temp/breeze-grub/APKBUILD | 32 +++++ temp/breeze-gtk/APKBUILD | 43 +++++++ temp/breeze-plymouth/APKBUILD | 36 ++++++ temp/breeze/APKBUILD | 51 ++++++++ temp/breeze/breeze-light-default.patch | 31 +++++ temp/discover/APKBUILD | 110 ++++++++++++++++++ temp/drkonqi/APKBUILD | 58 +++++++++ temp/kactivitymanagerd/APKBUILD | 50 ++++++++ temp/kde-cli-tools/APKBUILD | 60 ++++++++++ temp/kde-gtk-config/APKBUILD | 53 +++++++++ temp/kdecoration/APKBUILD | 42 +++++++ temp/kdeplasma-addons/APKBUILD | 66 +++++++++++ temp/kgamma5/APKBUILD | 45 +++++++ temp/khotkeys/APKBUILD | 53 +++++++++ temp/kinfocenter/APKBUILD | 62 ++++++++++ temp/kmenuedit/APKBUILD | 51 ++++++++ temp/kscreen/APKBUILD | 57 +++++++++ temp/kscreenlocker/APKBUILD | 74 ++++++++++++ temp/kscreenlocker/kde-np.pam | 10 ++ temp/kscreenlocker/kde.pam | 11 ++ temp/ksshaskpass/APKBUILD | 46 ++++++++ temp/ksysguard/APKBUILD | 55 +++++++++ temp/kwallet-pam/APKBUILD | 39 +++++++ temp/kwayland-integration/APKBUILD | 39 +++++++ temp/kwayland-server/APKBUILD | 43 +++++++ temp/kwin/APKBUILD | 108 +++++++++++++++++ temp/kwin/fix-build-with-musl.patch | 58 +++++++++ temp/kwrited/APKBUILD | 39 +++++++ temp/libkscreen/APKBUILD | 47 ++++++++ temp/libksysguard/APKBUILD | 60 ++++++++++ temp/mauikit/APKBUILD | 56 +++++++++ ...compilation-with-master-kdecoration2.patch | 48 ++++++++ ...-against-correct-kdecoration-version.patch | 48 ++++++++ temp/milou/APKBUILD | 48 ++++++++ temp/oxygen/APKBUILD | 57 +++++++++ temp/plasma-browser-integration/APKBUILD | 51 ++++++++ temp/plasma-desktop/APKBUILD | 98 ++++++++++++++++ temp/plasma-disks/APKBUILD | 54 +++++++++ temp/plasma-integration/APKBUILD | 62 ++++++++++ temp/plasma-nano/APKBUILD | 14 ++- temp/plasma-nm/APKBUILD | 76 ++++++++++++ temp/plasma-pa/APKBUILD | 52 +++++++++ ...-add-back-panels-if-they-disappeared.patch | 39 +++++++ .../0002-fix-logic-error.patch | 26 +++++ .../0003-Use-loop-instead-of-recursion.patch | 53 +++++++++ temp/plasma-phone-components/APKBUILD | 23 ++-- temp/plasma-sdk/APKBUILD | 66 +++++++++++ temp/plasma-thunderbolt/APKBUILD | 51 ++++++++ temp/plasma-vault/APKBUILD | 52 +++++++++ temp/plasma-wayland-protocols/APKBUILD | 24 ++++ temp/plasma-workspace-wallpapers/APKBUILD | 31 +++++ temp/plasma-workspace/APKBUILD | 103 ++++++++++++++++ .../dont-crash-if-panelview-not-ready.patch | 30 +++++ temp/plasma/APKBUILD | 78 +++++++++++++ temp/plasma/sddm.conf | 3 + temp/plymouth-kcm/APKBUILD | 52 +++++++++ temp/polkit-kde-agent-1/APKBUILD | 46 ++++++++ temp/powerdevil/APKBUILD | 64 ++++++++++ {kde => temp}/qqc2-breeze-style/APKBUILD | 28 +++-- temp/sddm-kcm/APKBUILD | 58 +++++++++ temp/systemsettings/APKBUILD | 62 ++++++++++ temp/xdg-desktop-portal-kde/APKBUILD | 49 ++++++++ 63 files changed, 3167 insertions(+), 23 deletions(-) create mode 100644 temp/bluedevil/APKBUILD create mode 100644 temp/breeze-grub/APKBUILD create mode 100644 temp/breeze-gtk/APKBUILD create mode 100644 temp/breeze-plymouth/APKBUILD create mode 100644 temp/breeze/APKBUILD create mode 100644 temp/breeze/breeze-light-default.patch create mode 100644 temp/discover/APKBUILD create mode 100644 temp/drkonqi/APKBUILD create mode 100644 temp/kactivitymanagerd/APKBUILD create mode 100644 temp/kde-cli-tools/APKBUILD create mode 100644 temp/kde-gtk-config/APKBUILD create mode 100644 temp/kdecoration/APKBUILD create mode 100644 temp/kdeplasma-addons/APKBUILD create mode 100644 temp/kgamma5/APKBUILD create mode 100644 temp/khotkeys/APKBUILD create mode 100644 temp/kinfocenter/APKBUILD create mode 100644 temp/kmenuedit/APKBUILD create mode 100644 temp/kscreen/APKBUILD create mode 100644 temp/kscreenlocker/APKBUILD create mode 100644 temp/kscreenlocker/kde-np.pam create mode 100644 temp/kscreenlocker/kde.pam create mode 100644 temp/ksshaskpass/APKBUILD create mode 100644 temp/ksysguard/APKBUILD create mode 100644 temp/kwallet-pam/APKBUILD create mode 100644 temp/kwayland-integration/APKBUILD create mode 100644 temp/kwayland-server/APKBUILD create mode 100644 temp/kwin/APKBUILD create mode 100644 temp/kwin/fix-build-with-musl.patch create mode 100644 temp/kwrited/APKBUILD create mode 100644 temp/libkscreen/APKBUILD create mode 100644 temp/libksysguard/APKBUILD create mode 100644 temp/mauikit/APKBUILD create mode 100644 temp/mauikit/fix-compilation-with-master-kdecoration2.patch create mode 100644 temp/mauikit/guard-against-correct-kdecoration-version.patch create mode 100644 temp/milou/APKBUILD create mode 100644 temp/oxygen/APKBUILD create mode 100644 temp/plasma-browser-integration/APKBUILD create mode 100644 temp/plasma-desktop/APKBUILD create mode 100644 temp/plasma-disks/APKBUILD create mode 100644 temp/plasma-integration/APKBUILD create mode 100644 temp/plasma-nm/APKBUILD create mode 100644 temp/plasma-pa/APKBUILD create mode 100644 temp/plasma-phone-components/0001-add-back-panels-if-they-disappeared.patch create mode 100644 temp/plasma-phone-components/0002-fix-logic-error.patch create mode 100644 temp/plasma-phone-components/0003-Use-loop-instead-of-recursion.patch create mode 100644 temp/plasma-sdk/APKBUILD create mode 100644 temp/plasma-thunderbolt/APKBUILD create mode 100644 temp/plasma-vault/APKBUILD create mode 100644 temp/plasma-wayland-protocols/APKBUILD create mode 100644 temp/plasma-workspace-wallpapers/APKBUILD create mode 100644 temp/plasma-workspace/APKBUILD create mode 100644 temp/plasma-workspace/dont-crash-if-panelview-not-ready.patch create mode 100644 temp/plasma/APKBUILD create mode 100644 temp/plasma/sddm.conf create mode 100644 temp/plymouth-kcm/APKBUILD create mode 100644 temp/polkit-kde-agent-1/APKBUILD create mode 100644 temp/powerdevil/APKBUILD rename {kde => temp}/qqc2-breeze-style/APKBUILD (50%) create mode 100644 temp/sddm-kcm/APKBUILD create mode 100644 temp/systemsettings/APKBUILD create mode 100644 temp/xdg-desktop-portal-kde/APKBUILD diff --git a/temp/bluedevil/APKBUILD b/temp/bluedevil/APKBUILD new file mode 100644 index 000000000..873fabfa1 --- /dev/null +++ b/temp/bluedevil/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=bluedevil +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kiconthemes +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends=" + bluez + kded + " +makedepends=" + bluez-qt-dev + extra-cmake-modules + kcoreaddons-dev + kdbusaddons-dev + kded + kded-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kwidgetsaddons-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + shared-mime-info + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/bluedevil-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="5ec3db393b50783e713509d530a0559098ee5374892cb384052d04ec423a34cda841f73d7d68efc31bf550b7b8e86cd985519c34da88bfadd7f9f812cc73ed1a bluedevil-5.20.90.tar.xz" diff --git a/temp/breeze-grub/APKBUILD b/temp/breeze-grub/APKBUILD new file mode 100644 index 000000000..5e7089612 --- /dev/null +++ b/temp/breeze-grub/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-grub +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Breeze theme for GRUB" +arch="noarch !s390x !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="GPL-3.0-or-later" +depends="grub" +makedepends=" + extra-cmake-modules + grub-mkfont + unifont + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-grub-$pkgver.tar.xz" +options="!check" # No test suite available + +build() { + ./mkfont.sh +} + +package() { + install -d "$pkgdir"/usr/share/grub/themes + cp -r breeze "$pkgdir"/usr/share/grub/themes +} +sha512sums="177e01e4fd821f98f396134a40343b924586ed48ca15d92fc0b6786c2bbab06e9a477ab9da40d80e9fdc70d52a86d23bba623db5165b582980df060199c77a65 breeze-grub-5.20.90.tar.xz" diff --git a/temp/breeze-gtk/APKBUILD b/temp/breeze-gtk/APKBUILD new file mode 100644 index 000000000..25982f541 --- /dev/null +++ b/temp/breeze-gtk/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-gtk +pkgver=5.20.90 +pkgrel=0 +pkgdesc="A GTK Theme Built to Match KDE's Breeze" +# armhf blocked by extra-cmake-modules +# s390x blocked by breeze +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only" +depends="gtk-engines" +makedepends=" + breeze + breeze-dev + extra-cmake-modules + py3-cairo + sassc + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-gtk-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="937b888d66f5214d2576f7c1ad789a7a8a3f3dbc0da32132bc2bcfdbd98b9b6f8370662fd93223f81ba4cf98d74df3bda6a5a994e3fb341a15749cd8d2d11640 breeze-gtk-5.20.90.tar.xz" diff --git a/temp/breeze-plymouth/APKBUILD b/temp/breeze-plymouth/APKBUILD new file mode 100644 index 000000000..c25d3a83b --- /dev/null +++ b/temp/breeze-plymouth/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-plymouth +pkgver=5.20.90 +pkgrel=0 +arch="all !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/" +pkgdesc="Breeze theme for Plymouth" +license="GPL-2.0-or-later" +depends="plymouth" +makedepends=" + extra-cmake-modules + plymouth-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-plymouth-$pkgver.tar.xz" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDISTRO_NAME="$(grep PRETTY_NAME /etc/os-release | awk -F = '{ print $2 }')" \ + -DDISTRO_VERSION="$(grep VERSION_ID /etc/os-release | awk -F = '{ print $2 }')" + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="e2e50afe6ff4c86cb5b1ed02f099183eff9ff41f8ec6788470413b392b340add12d5b9a614702ea2a8d23cf6675472fb1efc4bbcfedd4773725eda0308ffcb57 breeze-plymouth-5.20.90.tar.xz" diff --git a/temp/breeze/APKBUILD b/temp/breeze/APKBUILD new file mode 100644 index 000000000..00649a161 --- /dev/null +++ b/temp/breeze/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Artwork, styles and assets for the Breeze visual style for the Plasma Desktop" +# armhf blocked by qt5-qtdeclarative +# mips, mips64, s390x blocked by kiconthemes +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends_dev=" + kconfigwidgets-dev + kdecoration-dev + kguiaddons-dev + ki18n-dev + kiconthemes-dev + kpackage-dev + kwindowsystem-dev + " +makedepends="$depends_dev + extra-cmake-modules + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-$pkgver.tar.xz + breeze-light-default.patch + " +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="9eb6bc4970c797a36e38b7bcd39aa4cc626df06e52b50fab568d780aea2726b86ff9aacfe0c301871fffe6fe0f0044d49f7e28ee8547d07aeea8ae117a34f520 breeze-5.20.90.tar.xz +cad3251cddf7b4eaccc7b259dbba3c111d149d85f873c8a7d39f22606254f74b56009bc0dfd62b89aef69e2967ca2ecd77faf60802e99b6643fa62647908ac88 breeze-light-default.patch" diff --git a/temp/breeze/breeze-light-default.patch b/temp/breeze/breeze-light-default.patch new file mode 100644 index 000000000..8ac70d73f --- /dev/null +++ b/temp/breeze/breeze-light-default.patch @@ -0,0 +1,31 @@ +From f6a9d492115b7d57e9e0de8e9e2e89acccbe8857 Mon Sep 17 00:00:00 2001 +From: David Redondo +Date: Fri, 22 Jan 2021 16:11:02 +0000 +Subject: [PATCH] kde4breeze: Breeze Light is the new default + +Otherwise this kconf_update binary writes Breeze colors to the users kdeglobals. +I created a new user, added its ~/.config/kdeglobals to auditd and saw that this binary wrote to it. +BUG: 431917 + + +(cherry picked from commit 9d404df129774922efaa744423597f8af7ca9e32) +--- + misc/kde4breeze/src/main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/misc/kde4breeze/src/main.cpp b/misc/kde4breeze/src/main.cpp +index d4d541b2..af6c9f6b 100644 +--- a/misc/kde4breeze/src/main.cpp ++++ b/misc/kde4breeze/src/main.cpp +@@ -88,7 +88,7 @@ void updateKdeGlobals() + } + + const QString widgetStyle = readConfigValue(lnfConfig, defaultLnfConfig, "KDE", "widgetStyle", "Breeze").toString(); +- const QString colorScheme = readConfigValue(lnfConfig, defaultLnfConfig, "General", "ColorScheme", "Breeze").toString(); ++ const QString colorScheme = readConfigValue(lnfConfig, defaultLnfConfig, "General", "ColorScheme", "BreezeLight").toString(); + const QString icons = readConfigValue(lnfConfig, defaultLnfConfig, "Icons", "Theme", "breeze").toString(); + + cloneColorScheme(colorScheme); +-- +GitLab + diff --git a/temp/discover/APKBUILD b/temp/discover/APKBUILD new file mode 100644 index 000000000..2d2e3a011 --- /dev/null +++ b/temp/discover/APKBUILD @@ -0,0 +1,110 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=discover +pkgver=5.20.90 +pkgrel=0 +# armhf blocked by qt5-qtdeclarative +# s390x blocked by flatpak +arch="all !armhf !s390x !mips64" +url="https://userbase.kde.org/Discover" +pkgdesc="KDE Plasma resources management GUI" +license="LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only" +depends="kirigami2" +makedepends=" + appstream-dev + attica-dev + extra-cmake-modules + flatpak-dev + karchive-dev + kcmutils-dev + kconfig-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + kidletime-dev + kio-dev + kitemmodels-dev + knewstuff-dev + kxmlgui-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/discover-$pkgver.tar.xz" +subpackages="$pkgname-lang $pkgname-backend-flatpak:backend_flatpak" + +case "$CARCH" in + x86|x86_64) + makedepends="$makedepends fwupd-dev" + subpackages="$subpackages $pkgname-backend-fwupd:backend_fwupd" + ;; + *) ;; +esac + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_DISABLE_FIND_PACKAGE_Snapd=ON + cmake --build build +} + +check() { + cd build + # knsbackendtest and flatpaktest fail to find their required executables + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(knsbackend|flatpak)test" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +backend_flatpak() { + pkgdesc="Flatpak backend for $pkgname" + depends="" + install_if="$pkgname flatpak" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins/discover \ + "$subpkgdir"/usr/share/libdiscover/categories \ + "$subpkgdir"/usr/lib/qt5/plugins/discover-notifier \ + "$subpkgdir"/usr/share/applications \ + "$subpkgdir"/usr/share/metainfo \ + "$subpkgdir"/usr/share/icons/hicolor/scalable/apps + + mv "$pkgdir"/usr/lib/qt5/plugins/discover/flatpak-backend.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover/ + mv "$pkgdir"/usr/share/libdiscover/categories/flatpak-backend-categories.xml \ + "$subpkgdir"/usr/share/libdiscover/categories/ + mv "$pkgdir"/usr/lib/qt5/plugins/discover-notifier/FlatpakNotifier.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover-notifier/ + mv "$pkgdir"/usr/share/applications/org.kde.discover-flatpak.desktop \ + "$subpkgdir"/usr/share/applications/ + mv "$pkgdir"/usr/share/metainfo/org.kde.discover.flatpak.appdata.xml \ + "$subpkgdir"/usr/share/metainfo/ + mv "$pkgdir"/usr/share/icons/hicolor/scalable/apps/flatpak-discover.svg \ + "$subpkgdir"/usr/share/icons/hicolor/scalable/apps/ +} + +backend_fwupd() { + pkgdesc="fwupd backend for $pkgname" + depends="" + install_if="$pkgname fwupd" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins/discover + + mv "$pkgdir"/usr/lib/qt5/plugins/discover/fwupd-backend.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover/ +} + +sha512sums="f5cde987e5026eece047a32285421bf1eada4ed9496c514378c16ccd99dcfe768fc5d64caf63bbcad53295d60e21c567fd6712a09006f0adbcb66f809413ac9e discover-5.20.90.tar.xz" diff --git a/temp/drkonqi/APKBUILD b/temp/drkonqi/APKBUILD new file mode 100644 index 000000000..a1dc5520f --- /dev/null +++ b/temp/drkonqi/APKBUILD @@ -0,0 +1,58 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=drkonqi +pkgver=5.20.90 +pkgrel=0 +pkgdesc="The KDE crash handler" +# armhf blocked by extra-cmake-modules +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcompletion-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + ki18n-dev + kidletime-dev + kio-dev + kjobwidgets-dev + knotifications-dev + kservice-dev + kwallet-dev + kwidgetsaddons-dev + kxmlrpcclient-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + syntax-highlighting-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/drkonqi-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF # Broken + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="a96efef5ae5c506875b3e56d9709003368946b81459abb2d63d779b7d994473cf802a68fbb04969c6ae4fd18a682d532c7091484257ed80368639436f264a667 drkonqi-5.20.90.tar.xz" diff --git a/temp/kactivitymanagerd/APKBUILD b/temp/kactivitymanagerd/APKBUILD new file mode 100644 index 000000000..8a4fec0a5 --- /dev/null +++ b/temp/kactivitymanagerd/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kactivitymanagerd +pkgver=5.20.90 +pkgrel=0 +pkgdesc="System service to manage user's activities and track the usage patterns" +# armhf blocked by qt5-qtdeclarative +# s390x, mips64 blocked by kxmlgui, kio +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-only OR GPL-3.0-only" +depends="qt5-qtbase-sqlite" +makedepends=" + boost-dev + extra-cmake-modules + kconfig-dev + kcoreaddons-dev + kdbusaddons-dev + kglobalaccel-dev + ki18n-dev + kio-dev + kwindowsystem-dev + kxmlgui-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kactivitymanagerd-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="cec65e26726fdd549fa28930765bd7961e72c6e10d35c0ac086461e87dfe3392a1c41eab64c8ee59065a7f067ed3a90d49003f31ab1289ce1d45a118c609a278 kactivitymanagerd-5.20.90.tar.xz" diff --git a/temp/kde-cli-tools/APKBUILD b/temp/kde-cli-tools/APKBUILD new file mode 100644 index 000000000..44c4406d1 --- /dev/null +++ b/temp/kde-cli-tools/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kde-cli-tools +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Tools based on KDE Frameworks 5 to better interact with the system" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/kde-cli-tools" +license="(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only" +makedepends=" + extra-cmake-modules + kactivities-dev + kcmutils-dev + kconfig-dev + kdeclarative-dev + kdesu-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kinit-dev + kio-dev + kservice-dev + kwindowsystem-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtsvg-dev + qt5-qtx11extras-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kde-cli-tools-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # Broken + +# Workaround a circular dependency https://gitlab.alpinelinux.org/alpine/aports/-/issues/11785 +install_if="plasma-workspace" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="dcf18a4537c4d8592d952d634be4a18c1c43a37d146b42d344acc82500b321b9886a9cc6e9916a079b2c2718f79e503a89cc1aadb0d0d7f6d0384fd71fcdf774 kde-cli-tools-5.20.90.tar.xz" diff --git a/temp/kde-gtk-config/APKBUILD b/temp/kde-gtk-config/APKBUILD new file mode 100644 index 000000000..5ca46c78c --- /dev/null +++ b/temp/kde-gtk-config/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kde-gtk-config +pkgver=5.20.90 +pkgrel=0 +pkgdesc="GTK2 and GTK3 Configurator for KDE" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kcmutils +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/kde-gtk-config" +license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only" +depends="gsettings-desktop-schemas" +makedepends=" + extra-cmake-modules + gsettings-desktop-schemas-dev + gtk+2.0-dev + gtk+3.0-dev + karchive-dev + kcmutils-dev + kconfigwidgets-dev + kdecoration-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + qt5-qtbase-dev + qt5-qtsvg-dev + sassc + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="e7be60e48d1b1f3e2e4ec9c47999ac79026a78658c627122ccedc51340b9422c268305f58d26802debf06162819e116a2bb5b75f81fcbbf3188e43c0b2a2d5ef kde-gtk-config-5.20.90.tar.xz" diff --git a/temp/kdecoration/APKBUILD b/temp/kdecoration/APKBUILD new file mode 100644 index 000000000..0e6adf9b5 --- /dev/null +++ b/temp/kdecoration/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdecoration +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plugin based library to create window decorations" +arch="all !armhf" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends_dev=" + ki18n-dev + qt5-qtbase-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kdecoration-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="e37d5c84ce6ad7b34e89e005d7e8d4c52e553a2cea093e20793cd4acf44dd2c9c2b16dc2fb27594fa5812714010564f363ff41b47f714ce0000726eb8a31e33f kdecoration-5.20.90.tar.xz" diff --git a/temp/kdeplasma-addons/APKBUILD b/temp/kdeplasma-addons/APKBUILD new file mode 100644 index 000000000..25e143c85 --- /dev/null +++ b/temp/kdeplasma-addons/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdeplasma-addons +pkgver=5.20.90 +pkgrel=0 +pkgdesc="All kind of addons to improve your Plasma experience" +# mips, ppc64le and s390x blocked by qt5-qtwebengine +# armhf blocked by qt5-qtdeclarative +arch="all !ppc64le !s390x !armhf !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.0-only AND GPL-2.0-or-later" +depends="purpose" +depends_dev=" + karchive-dev + kcmutils-dev + kconfig-dev + kcoreaddons-dev + kdeclarative-dev + kholidays-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + knotifications-dev + kross-dev + krunner-dev + kservice-dev + kunitconversion-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtwebengine-dev + sonnet-dev + " + +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kdeplasma-addons-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # converterrunnertest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "converterrunnertest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="5c8b3f9828ffde42d62b75f9a46a1597765a922b5a93c9ff10444a6284fbae430d58ac107baec530e4e1858915daa33f960a892dc1ce5ea3d47b108bf3d91a44 kdeplasma-addons-5.20.90.tar.xz" diff --git a/temp/kgamma5/APKBUILD b/temp/kgamma5/APKBUILD new file mode 100644 index 000000000..3d27a46bc --- /dev/null +++ b/temp/kgamma5/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kgamma5 +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Adjust your monitor's gamma settings" +# armhf blocked by extra-cmake-modules +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kconfig-dev + kconfigwidgets-dev + kdoctools-dev + ki18n-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kgamma5-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="e958edb06b22d0acfae6d4184d955111435ac35deced22590574f274f5048dc83c3bf05fb6c9ecec69b31730e0f5aab94e7b9cce5d05ceacd034e58e044b00d0 kgamma5-5.20.90.tar.xz" diff --git a/temp/khotkeys/APKBUILD b/temp/khotkeys/APKBUILD new file mode 100644 index 000000000..572016703 --- /dev/null +++ b/temp/khotkeys/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=khotkeys +pkgver=5.20.90 +pkgrel=0 +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +pkgdesc="Key Accelerator Application" +license="GPL-2.0-only AND LGPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcmutils-dev + kdbusaddons-dev + kdelibs4support-dev + kdoctools-dev + kglobalaccel-dev + ki18n-dev + kio-dev + kxmlgui-dev + plasma-framework-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/khotkeys-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="d6d01c63e26b362fbc58d0f27032a9aeb95a53b901a89c0cbf2925ca65980dec565999961061d9c746d4d3fc6441fb6579ae323ced86a48b485f26711c73b901 khotkeys-5.20.90.tar.xz" diff --git a/temp/kinfocenter/APKBUILD b/temp/kinfocenter/APKBUILD new file mode 100644 index 000000000..245dab374 --- /dev/null +++ b/temp/kinfocenter/APKBUILD @@ -0,0 +1,62 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kinfocenter +pkgver=5.20.90 +pkgrel=0 +pkgdesc="A utility that provides information about a computer system" +# armhf blocked by extra-cmake-modules +# mips64, s390x blocked by kconfigwidgets, polkit-qt +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + glu-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kio-dev + kpackage-dev + kservice-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + qt5-qtbase-dev + solid-dev + solid-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kinfocenter-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="ae185908db0f59199fef49d4a684e32971efb7b76f4372c9110b820b93b9a7b9676b80412c659ff172eaa6ed7562d88fdf5568b87e246dbea43f9d508bb52cac kinfocenter-5.20.90.tar.xz" diff --git a/temp/kmenuedit/APKBUILD b/temp/kmenuedit/APKBUILD new file mode 100644 index 000000000..6e58fee08 --- /dev/null +++ b/temp/kmenuedit/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kmenuedit +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE menu editor" +# armhf blocked by qt5-qtdeclarative +# s390x and mips64 blocked by polkit (blocked by mozjs, blocked by rust) +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kdbusaddons-dev + kdoctools-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kinit-dev + kio-dev + kitemviews-dev + kxmlgui-dev + qt5-qtbase-dev + sonnet-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kmenuedit-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="86482093b8667922b19a983c575cc6ffe3657c9c1354efaefed0a70d039a3ca138b1a2ffff306f3b61dff3c6695efbcbcd7713626781252030dd4a51e4de456d kmenuedit-5.20.90.tar.xz" diff --git a/temp/kscreen/APKBUILD b/temp/kscreen/APKBUILD new file mode 100644 index 000000000..6353ffc6a --- /dev/null +++ b/temp/kscreen/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kscreen +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE's screen management software" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" +depends="hicolor-icon-theme" +makedepends=" + extra-cmake-modules + kcmutils-dev + kconfig-dev + kconfigwidgets-dev + kdbusaddons-dev + kdeclarative-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kwidgetsaddons-dev + kxmlgui-dev + libkscreen-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtsensors-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kscreen-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # kscreen-kded-configtest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kscreen-kded-configtest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="ae3e28aecb62479fec4b5f5e9f4d971cb4a80640182f726841ff7d232b9b8a8d1520e279d16d7a968280529e835883fc3cdc3f96a9f3e0ac8dbbd0493ffe46b5 kscreen-5.20.90.tar.xz" diff --git a/temp/kscreenlocker/APKBUILD b/temp/kscreenlocker/APKBUILD new file mode 100644 index 000000000..7bdc3a4cc --- /dev/null +++ b/temp/kscreenlocker/APKBUILD @@ -0,0 +1,74 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kscreenlocker +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Library and components for secure lock screen architecture" +# armhf blocked by extra-cmake-modules +# s390x, mips64 blocked by kdeclarative-dev, kcmutils-dev, ktextwidgets-dev, kxmlgui-dev +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends=" + elogind + linux-pam + " +depends_dev=" + elogind-dev + kcmutils-dev + kcrash-dev + kdeclarative-dev + kglobalaccel-dev + ki18n-dev + kidletime-dev + knotifications-dev + ktextwidgets-dev + kwayland-dev + kwindowsystem-dev + kxmlgui-dev + libseccomp-dev + linux-pam-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + solid-dev + xcb-util-keysyms-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kscreenlocker-$pkgver.tar.xz + kde.pam + kde-np.pam + " +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running loginctl + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde + install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np +} + +sha512sums="be176a5f34bf2a0d82a604937354680cb2c04e5d7f21d88c5db2e19e4069d7a83bea5fdbd55c9fd0bb2636086d8ce348f0641c034f8b052ebbb3a210e9a137cb kscreenlocker-5.20.90.tar.xz +56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam +565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam" diff --git a/temp/kscreenlocker/kde-np.pam b/temp/kscreenlocker/kde-np.pam new file mode 100644 index 000000000..07b7861ed --- /dev/null +++ b/temp/kscreenlocker/kde-np.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth required pam_permit.so + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/temp/kscreenlocker/kde.pam b/temp/kscreenlocker/kde.pam new file mode 100644 index 000000000..1b9e446ce --- /dev/null +++ b/temp/kscreenlocker/kde.pam @@ -0,0 +1,11 @@ +#%PAM-1.0 + +auth required pam_nologin.so + +auth include base-auth + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/temp/ksshaskpass/APKBUILD b/temp/ksshaskpass/APKBUILD new file mode 100644 index 000000000..471cb794b --- /dev/null +++ b/temp/ksshaskpass/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=ksshaskpass +pkgver=5.20.90 +pkgrel=0 +pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kwallet +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdoctools-dev + ki18n-dev + kwallet-dev + kwidgetsaddons-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="7a04cee55b68994e6b5cbc363242372966559bc7f739131e2f145d543624a73364f75a60e552dad4d06e8df284d54b035c45632463c23f2136815de9a54d99fd ksshaskpass-5.20.90.tar.xz" diff --git a/temp/ksysguard/APKBUILD b/temp/ksysguard/APKBUILD new file mode 100644 index 000000000..62eef9f8a --- /dev/null +++ b/temp/ksysguard/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=ksysguard +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Track and control the processes running in your system" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://userbase.kde.org/KSysGuard" +license="GPL-2.0-only" +makedepends=" + extra-cmake-modules + kconfig-dev + kcoreaddons-dev + kdbusaddons-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kinit-dev + kio-dev + kitemviews-dev + knewstuff-dev + knotifications-dev + kwindowsystem-dev + libksysguard-dev + libnl3-dev + lm-sensors-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/ksysguard-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # ksystemstatstest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "ksystemstatstest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="41f333afb89c2a8bb0f22a439a16cbc3080892416bae30711009899e49ae7b93e98b6d00cdc92b01520f0bb7b907bda6c23d3522026d4acd70bafcb12faaa638 ksysguard-5.20.90.tar.xz" diff --git a/temp/kwallet-pam/APKBUILD b/temp/kwallet-pam/APKBUILD new file mode 100644 index 000000000..546fc2e02 --- /dev/null +++ b/temp/kwallet-pam/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwallet-pam +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KWallet PAM integration" +# armhf blocked by extra-cmake-modules +# s390x blocked by kwallet +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later" +makedepends=" + extra-cmake-modules + kwallet-dev + libgcrypt-dev + linux-pam-dev + socat + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwallet-pam-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="1c3bd0c0873d988893349cac827e5710a9d0c5e393a609bc5e681fcd59749fc09ad563bd131450e6f0df58e0c96a1dc204a2760eb5ccee2b959894365fb9ee77 kwallet-pam-5.20.90.tar.xz" diff --git a/temp/kwayland-integration/APKBUILD b/temp/kwayland-integration/APKBUILD new file mode 100644 index 000000000..bebaf3363 --- /dev/null +++ b/temp/kwayland-integration/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bhushan Shah +# Maintainer: Bart Ribbers +pkgname=kwayland-integration +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KWayland integration" +url="https://kde.org/plasma-desktop/" +arch="all !armhf" # armhf blocked by extra-cmake-modules +license="LGPL-2.1-only OR LGPL-3.0-only" +depends="kglobalaccel" +makedepends=" + extra-cmake-modules + kguiaddons-dev + kidletime-dev + kwayland-dev + kwindowsystem-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwayland-integration-$pkgver.tar.xz" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="dee94db3ddea3bbc19e471244b4cd352b7b0eaaaf7946935d693d12f91d28f35b979f35e37dc956e1c2f57d869199931cfe8ab7cec95d9ee6806e589ce405649 kwayland-integration-5.20.90.tar.xz" diff --git a/temp/kwayland-server/APKBUILD b/temp/kwayland-server/APKBUILD new file mode 100644 index 000000000..30896dbd5 --- /dev/null +++ b/temp/kwayland-server/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwayland-server +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Wayland Server Components built on KDE Frameworks" +arch="all !armhf" # armhf blocked by qt5-qtdeclarative +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only" +depends_dev=" + kwayland-dev + plasma-wayland-protocols + qt5-qtbase-dev + " +makedepends="$depends_dev + doxygen + extra-cmake-modules + linux-headers + qt5-qttools-dev + wayland-protocols + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwayland-server-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running wayland compositor + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="027aff53b57022857b0ec63178f64b55f0f8ba18789fa3edaa09a3be06f32f3a75031c787ec8e6d77beac6878dba88bc0a25fbb881246c2c74ed7e005164dca0 kwayland-server-5.20.90.tar.xz" diff --git a/temp/kwin/APKBUILD b/temp/kwin/APKBUILD new file mode 100644 index 000000000..0b6888e89 --- /dev/null +++ b/temp/kwin/APKBUILD @@ -0,0 +1,108 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwin +pkgver=5.20.90 +pkgrel=0 +pkgdesc="An easy to use, but flexible, composited Window Manager" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kscreenlocker +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only" +depends=" + kirigami2 + qt5-qtmultimedia + qt5-qtwayland + xorg-server-xwayland + " +depends_dev=" + breeze-dev + eudev-dev + fontconfig-dev + kactivities-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + kdeclarative-dev + kdecoration-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kidletime-dev + kinit-dev + kio-dev + knewstuff-dev + knotifications-dev + kpackage-dev + krunner-dev + kscreenlocker-dev + kservice-dev + ktextwidgets-dev + kwayland-dev + kwayland-server-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + lcms2-dev + libdrm-dev + libepoxy-dev + libinput-dev + libxi-dev + libxkbcommon-dev + mesa-dev + mesa-gbm + pipewire-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtscript-dev + qt5-qtsensors-dev + qt5-qtx11extras-dev + wayland-dev + xcb-util-cursor-dev + xcb-util-image-dev + xcb-util-wm-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + qt5-qttools-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwin-$pkgver.tar.xz + fix-build-with-musl.patch + " +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # kwin_wayland has CAP_SYS_NICE set. Because of this, libdbus doesn't trust the + # environment and ignores it, causing for example keyboard shortcuts to not work + # Remove CAP_SYS_NICE from kwin_wayland to make them work again + setcap -r "$pkgdir"/usr/bin/kwin_wayland +} +sha512sums="6c2f3069c353820ce6f26b5175551d0998a5e859c3e2924d1126eafaa251d644bca5b1275672d3be3a4b358d30ae6f3ef5ccd62c64117110347c39cef630e9ef kwin-5.20.90.tar.xz +7d4e3e009d1b198c2d6fe1306a1d7bf444a86edf58514484287fb39723a2750a0e7a74b739fe7795cb0fdf77c81e7c23cd582d47e90e3957434ceb09c26c7c6e fix-build-with-musl.patch" diff --git a/temp/kwin/fix-build-with-musl.patch b/temp/kwin/fix-build-with-musl.patch new file mode 100644 index 000000000..49e147226 --- /dev/null +++ b/temp/kwin/fix-build-with-musl.patch @@ -0,0 +1,58 @@ +From 7db93b7cd7ab860eb05e5267797e24430caa918a Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Thu, 21 Jan 2021 22:00:33 +0100 +Subject: [PATCH 1/2] Replace uint with unsigned int + +Improves portability by avoiding the non-standard 'uint'. For example +this fixes building with musl libc: + +".../kwin_wrapper.c:45:9: error: unknown type name 'uint'; + did you mean 'int'?" +--- + helpers/wayland_wrapper/kwin_wrapper.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/helpers/wayland_wrapper/kwin_wrapper.c b/helpers/wayland_wrapper/kwin_wrapper.c +index 061e05c06..6cd221da7 100644 +--- a/helpers/wayland_wrapper/kwin_wrapper.c ++++ b/helpers/wayland_wrapper/kwin_wrapper.c +@@ -42,7 +42,7 @@ pid_t launch_kwin(struct wl_socket *socket, int argc, char **argv) + snprintf(fdString, sizeof(fdString) - 1, "%d", wl_socket_get_fd(socket)); + + char **args = calloc(argc + 6, sizeof(char *)); +- uint pos = 0; ++ unsigned int pos = 0; + args[pos++] = (char *)"kwin_wayland"; //process name is the first argument by convention + args[pos++] = (char *)"--wayland_fd"; + args[pos++] = fdString; +-- +GitLab + + +From 44713ac64280b5e48b47199dace333b128920b73 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Thu, 21 Jan 2021 22:18:33 +0100 +Subject: [PATCH 2/2] Include for open() + +According to POSIX [1] that's where it is defined. + +[1] https://pubs.opengroup.org/onlinepubs/009604499/basedefs/fcntl.h.html +--- + helpers/wayland_wrapper/wl-socket.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/helpers/wayland_wrapper/wl-socket.c b/helpers/wayland_wrapper/wl-socket.c +index 4110e9529..34eb59305 100644 +--- a/helpers/wayland_wrapper/wl-socket.c ++++ b/helpers/wayland_wrapper/wl-socket.c +@@ -10,6 +10,7 @@ + + #include + #include ++#include + #include + #include + #include +-- +GitLab + diff --git a/temp/kwrited/APKBUILD b/temp/kwrited/APKBUILD new file mode 100644 index 000000000..9910f7340 --- /dev/null +++ b/temp/kwrited/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwrited +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE daemon listening for wall and write messages" +arch="all !armhf" # qt5-qtdeclarative-dev unavilable on armhf +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdbusaddons-dev + ki18n-dev + knotifications-dev + kpty-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwrited-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="d7f2a541851e80701ec15c33578257d5743709853c4056be071258ce08c59d9ab3b55d96f92f2464cad62d82c04b013642a44c1239acc5b773e223c2a8d58294 kwrited-5.20.90.tar.xz" diff --git a/temp/libkscreen/APKBUILD b/temp/libkscreen/APKBUILD new file mode 100644 index 000000000..97ab778e2 --- /dev/null +++ b/temp/libkscreen/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libkscreen +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE screen management software" +arch="all !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends_dev=" + kwayland-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + " +makedepends="$depends_dev + doxygen + extra-cmake-modules + graphviz + qt5-qttools-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/libkscreen-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc" +options="!check" # Fails due to requiring dbus-x11 and it running + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="e2c23b3a0a7093f6b197500c48c3d66d996be9d27d905544e8d13823ae0363d6613825f00292ffb810d12e96ce8f9b5cd10669c2af38fe62beaa93cd0ecef995 libkscreen-5.20.90.tar.xz" diff --git a/temp/libksysguard/APKBUILD b/temp/libksysguard/APKBUILD new file mode 100644 index 000000000..7de0cef16 --- /dev/null +++ b/temp/libksysguard/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libksysguard +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE system monitor library" +# armhf blocked by extra-cmake-modules +# mips, mips64, s390x blocked by kauth +arch="all !armhf !mips !mips64 !s390x" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends_dev=" + kauth-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + kservice-dev + kwidgetsaddons-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qttools-dev + qt5-qtwebchannel-dev + zlib-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/libksysguard-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # processtest requires working OpenGL + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "processtest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="17ff0052eaf2176839fc2dd09e3c4bdb580669d5518fdace7a01c40bd980db65af04b30468ab0cf2a1673e2a8222cb5e659bcea816c19b801c176b3c85f72bde libksysguard-5.20.90.tar.xz" diff --git a/temp/mauikit/APKBUILD b/temp/mauikit/APKBUILD new file mode 100644 index 000000000..1a2cf7965 --- /dev/null +++ b/temp/mauikit/APKBUILD @@ -0,0 +1,56 @@ +# Maintainer: Bart Ribbers +pkgname=mauikit +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Kit for developing MAUI Apps" +# armhf blocked by qt5-qtdeclarative +# mips64, s390x blocked by plasma-framework +arch="all !armhf !mips64 !s390x" +url="https://invent.kde.org/kde/mauikit" +license="GPL-2.0-or-later" +depends="kirigami2" +depends_dev=" + kconfig-dev + kconfigwidgets-dev + kdeclarative-dev + kdecoration-dev + ki18n-dev + kio-dev + knotifications-dev + kservice-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtquickcontrols2-dev + qt5-qtsvg-dev + syntax-highlighting-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +source="https://invent.kde.org/maui/mauikit/-/archive/v$pkgver/mauikit-v$pkgver.tar.gz + fix-compilation-with-master-kdecoration2.patch + guard-against-correct-kdecoration-version.patch + " +subpackages="$pkgname-dev" +builddir="$srcdir/$pkgname-v$pkgver" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install +} +sha512sums="55795e332053b49edf4ea966ea19dbe804ba671587a6bf72e5cbe2f52acc5df0661235a4f38cf555a390c2701da1ddfa6ed6800576d385a72cd422996b1538a5 mauikit-v1.2.0.tar.gz +75bf24a91679ce07654ad2cbaa23494f95606cdceecc28765d180da71abbe85c688b18923ed86d49bb7c3f68ab859e87e7ac057057c338478f96ce1aa2aa6a69 fix-compilation-with-master-kdecoration2.patch +88bbdb35841609e69bd9a47191717d6ced52f983703b00e50d153fc07f8fa2bca7626ecfa9cca90539c5a8b07dab2ebc1b6498feb5600bc49e8a75a1275ee7b7 guard-against-correct-kdecoration-version.patch" diff --git a/temp/mauikit/fix-compilation-with-master-kdecoration2.patch b/temp/mauikit/fix-compilation-with-master-kdecoration2.patch new file mode 100644 index 000000000..1c15a4eca --- /dev/null +++ b/temp/mauikit/fix-compilation-with-master-kdecoration2.patch @@ -0,0 +1,48 @@ +From 535ee9e32a33603c723bd6a4a5ce59955fa48b38 Mon Sep 17 00:00:00 2001 +From: Carl Schwan +Date: Sat, 28 Nov 2020 12:16:18 +0100 +Subject: [PATCH] Fix compilation with master kdecoration2 + +--- + src/csd/libappletdecoration/previewclient.cpp | 6 ++++++ + src/csd/libappletdecoration/previewclient.h | 4 ++++ + 2 files changed, 10 insertions(+) + +diff --git a/src/csd/libappletdecoration/previewclient.cpp b/src/csd/libappletdecoration/previewclient.cpp +index 907d02f..425b983 100644 +--- a/src/csd/libappletdecoration/previewclient.cpp ++++ b/src/csd/libappletdecoration/previewclient.cpp +@@ -426,8 +426,14 @@ void PreviewClient::requestToggleKeepBelow() + setKeepBelow(!isKeepBelow()); + } + ++#if KDECORATION2_VERSION_MINOR >= 77 ++void PreviewClient::requestShowWindowMenu(const QRect &rect) ++{ ++ Q_UNUSED(rect); ++#else + void PreviewClient::requestShowWindowMenu() + { ++#end + emit showWindowMenuRequested(); + } + +diff --git a/src/csd/libappletdecoration/previewclient.h b/src/csd/libappletdecoration/previewclient.h +index dabbc67..dabf411 100644 +--- a/src/csd/libappletdecoration/previewclient.h ++++ b/src/csd/libappletdecoration/previewclient.h +@@ -119,7 +119,11 @@ public: + void requestToggleKeepAbove() override; + void requestToggleKeepBelow() override; + void requestToggleShade() override; ++#if KDECORATION2_VERSION_MINOR >= 77 ++ void requestShowWindowMenu(const QRect &rect) override; ++#else + void requestShowWindowMenu() override; ++#endif + void requestShowApplicationMenu(const QRect &rect, int actionId) override; + void requestToggleOnAllDesktops() override; + +-- +GitLab + diff --git a/temp/mauikit/guard-against-correct-kdecoration-version.patch b/temp/mauikit/guard-against-correct-kdecoration-version.patch new file mode 100644 index 000000000..9ea69b3c6 --- /dev/null +++ b/temp/mauikit/guard-against-correct-kdecoration-version.patch @@ -0,0 +1,48 @@ +From d1ef99f8f8f4ee371485a470df53a495f5e5a830 Mon Sep 17 00:00:00 2001 +From: Carl Schwan +Date: Sat, 28 Nov 2020 12:30:00 +0100 +Subject: [PATCH] Guard against correct version + +--- + src/csd/libappletdecoration/previewclient.cpp | 4 ++-- + src/csd/libappletdecoration/previewclient.h | 3 ++- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/src/csd/libappletdecoration/previewclient.cpp b/src/csd/libappletdecoration/previewclient.cpp +index 425b983..d62a4a1 100644 +--- a/src/csd/libappletdecoration/previewclient.cpp ++++ b/src/csd/libappletdecoration/previewclient.cpp +@@ -426,14 +426,14 @@ void PreviewClient::requestToggleKeepBelow() + setKeepBelow(!isKeepBelow()); + } + +-#if KDECORATION2_VERSION_MINOR >= 77 ++#if KDECORATION2_VERSION_MINOR >= 20 + void PreviewClient::requestShowWindowMenu(const QRect &rect) + { + Q_UNUSED(rect); + #else + void PreviewClient::requestShowWindowMenu() + { +-#end ++#endif + emit showWindowMenuRequested(); + } + +diff --git a/src/csd/libappletdecoration/previewclient.h b/src/csd/libappletdecoration/previewclient.h +index dabf411..f95f215 100644 +--- a/src/csd/libappletdecoration/previewclient.h ++++ b/src/csd/libappletdecoration/previewclient.h +@@ -119,7 +119,8 @@ public: + void requestToggleKeepAbove() override; + void requestToggleKeepBelow() override; + void requestToggleShade() override; +-#if KDECORATION2_VERSION_MINOR >= 77 ++ ++#if KDECORATION2_VERSION_MINOR >= 20 + void requestShowWindowMenu(const QRect &rect) override; + #else + void requestShowWindowMenu() override; +-- +GitLab + diff --git a/temp/milou/APKBUILD b/temp/milou/APKBUILD new file mode 100644 index 000000000..3ae9ae720 --- /dev/null +++ b/temp/milou/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=milou +pkgver=5.20.90 +pkgrel=0 +pkgdesc="A dedicated search application built on top of Baloo" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kdeclarative +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdeclarative-dev + ki18n-dev + kitemmodels-dev + krunner-dev + kservice-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/milou-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="d803db74cbf11120b75d490cd7320507ee2708fa39148affd8c61be563a8e9fc9f13471796b4110aa0afc2ce423d091a1039d68f67c61494f710003450dcce66 milou-5.20.90.tar.xz" diff --git a/temp/oxygen/APKBUILD b/temp/oxygen/APKBUILD new file mode 100644 index 000000000..a6e63b305 --- /dev/null +++ b/temp/oxygen/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=oxygen +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Artwork, styles and assets for the Oxygen visual style for the Plasma Desktop" +# armhf blocked by extra-cmake-modules +# s390x and mips64 blocked by frameworkintegration +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later" +makedepends=" + extra-cmake-modules + frameworkintegration-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kdecoration-dev + kguiaddons-dev + ki18n-dev + kservice-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + qt5-qtbase-dev + xcb-util-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/oxygen-$pkgver.tar.xz" +subpackages="$pkgname-lang $pkgname-sounds::noarch" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sounds() { + pkgdesc="$pkgdesc (sounds)" + amove usr/share/sounds +} +sha512sums="53f0ca2908939cf2fe6fca452f29b6f6f1ab4c876fc31ffcce7bf3298c0a04ee7c5e7ed40da5b8b8415535ba01da02d22b574146b51c102e904fba6aae8e7d13 oxygen-5.20.90.tar.xz" diff --git a/temp/plasma-browser-integration/APKBUILD b/temp/plasma-browser-integration/APKBUILD new file mode 100644 index 000000000..8bb799315 --- /dev/null +++ b/temp/plasma-browser-integration/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-browser-integration +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Components necessary to integrate browsers into the Plasma Desktop" +# armhf blocked by extra-cmake-modules +# s390x, mips64 blocked by kio-dev, krunner-dev, purpose-dev +arch="all !armhf !s390x !mips64" +url="https://community.kde.org/Plasma/Browser_Integration" +license="GPL-3.0-or-later" +makedepends=" + extra-cmake-modules + kactivities-dev + kconfig-dev + kdbusaddons-dev + kfilemetadata-dev + ki18n-dev + kio-dev + knotifications-dev + krunner-dev + plasma-workspace-dev + purpose-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-browser-integration-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="57b41406857b4a4f7013d4e4d7c09c84a29ba4c50aac1bb8ad3c4d3edda169c621da2cfe87e747a6656f6ef82a4f2c45d2b08bcf451fcce580639616a733bca8 plasma-browser-integration-5.20.90.tar.xz" diff --git a/temp/plasma-desktop/APKBUILD b/temp/plasma-desktop/APKBUILD new file mode 100644 index 000000000..0a83202f8 --- /dev/null +++ b/temp/plasma-desktop/APKBUILD @@ -0,0 +1,98 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-desktop +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE Plasma Desktop" +# s390x, mips, mips64 blocked by ibus +# armhf blocked by qt5-qtdeclarative +arch="all !s390x !armhf !mips !mips64" +url='https://kde.org/plasma-desktop/' +license="GPL-2.0-only AND LGPL-2.1-only" +depends=" + font-noto-emoji + ibus-emoji + kirigami2 + plasma-workspace + qqc2-desktop-style + setxkbmap + " +makedepends=" + attica-dev + baloo-dev + eudev-dev + extra-cmake-modules + fontconfig-dev + ibus-dev + kaccounts-integration-dev + kactivities-dev + kactivities-stats-dev + kauth-dev + kcmutils-dev + kconfig-dev + kdbusaddons-dev + kdeclarative-dev + kdelibs4support-dev + kdoctools-dev + kemoticons-dev + kglobalaccel-dev + ki18n-dev + kitemmodels-dev + knewstuff-dev + knotifications-dev + knotifyconfig-dev + kpeople-dev + krunner-dev + kwallet-dev + kwin-dev + libxcursor-dev + libxi-dev + libxkbfile-dev + plasma-framework-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtsvg-dev + qt5-qtx11extras-dev + xf86-input-evdev-dev + xf86-input-libinput-dev + xf86-input-synaptics-dev + " +checkdepends="xvfb-run iso-codes" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-desktop-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang knetattach" +options="!check" # Requires running dbus + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + rm "$pkgdir"/usr/bin/knetattach + rm "$pkgdir"/usr/share/applications/org.kde.knetattach.desktop +} + +knetattach() { + pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop" + depends="kdelibs4support" + + cd "$builddir"/build/knetattach + DESTDIR="$subpkgdir" make install +} +sha512sums="3fd0edd43ffd580fc6b258d12974826e67138186c6779af1f932839f05f21575beb06a0400ee8ca367e9256a28023760d87d8e2383014d4a4e0db2bdd946e237 plasma-desktop-5.20.90.tar.xz" diff --git a/temp/plasma-disks/APKBUILD b/temp/plasma-disks/APKBUILD new file mode 100644 index 000000000..f831053f6 --- /dev/null +++ b/temp/plasma-disks/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-disks +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by solid, kio, kauth and kdeclarative +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends=" + kirigami2 + smartmontools + " +makedepends=" + extra-cmake-modules + qt5-qtbase-dev + kcoreaddons-dev + kdbusaddons-dev + knotifications-dev + ki18n-dev + solid-dev + kservice-dev + kio-dev + kauth-dev + kdeclarative-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-disks-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="5476d3d3565cf26331b0e22c5985c0bb9e940aba2cb4f98d5ee376f50b180c62ca71e268606cb875ac4217d26b1b0f77abbebf1ee09e3a7264536130fa81b9c0 plasma-disks-5.20.90.tar.xz" diff --git a/temp/plasma-integration/APKBUILD b/temp/plasma-integration/APKBUILD new file mode 100644 index 000000000..6b0621f0e --- /dev/null +++ b/temp/plasma-integration/APKBUILD @@ -0,0 +1,62 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-integration +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Qt Platform Theme integration plugins for the Plasma workspaces" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1))" +depends=" + font-noto + qqc2-desktop-style + ttf-hack + " +makedepends=" + breeze-dev + extra-cmake-modules + kconfig-dev + kconfigwidgets-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + libxcursor-dev + qt5-qtbase-dev + qt5-qtquickcontrols2-dev + qt5-qtx11extras-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-integration-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontHack=true + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="941ee19234d1d40f89d3b9d7419f47439c70abb91acfed59fda9608c213ff460f17cbafea250ccd36af47902a8fb1271a582693125fa327c1e74a8d8241b6c29 plasma-integration-5.20.90.tar.xz" diff --git a/temp/plasma-nano/APKBUILD b/temp/plasma-nano/APKBUILD index c8efd2a30..dcf7d69ff 100644 --- a/temp/plasma-nano/APKBUILD +++ b/temp/plasma-nano/APKBUILD @@ -1,8 +1,7 @@ # Forked from Alpine to package newer commits pkgname=plasma-nano -pkgver=5.20.80_git20201001 +pkgver=5.20.90 pkgrel=0 -_commit="6a456033bfa13cc57d28b2a49a8ac6615bc60439" pkgdesc="A minimal Plasma shell package intended for embedded devices" arch="all !armhf" url="https://invent.kde.org/plasma/plasma-nano" @@ -15,9 +14,12 @@ makedepends=" qt5-qtbase-dev qt5-qtdeclarative-dev " -source="https://invent.kde.org/plasma/plasma-nano/-/archive/$_commit/plasma-nano-$_commit.tar.gz" +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nano-$pkgver.tar.xz" options="!check" # No tests -builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ @@ -33,6 +35,6 @@ check() { } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="2d16e3409207195303b127e286011f21c1be010f50524f782067740b10f08c8f65dbdc11c6917076031228b3d1d1c14b6926e341c3ee1e6207912fbc194cc3f7 plasma-nano-6a456033bfa13cc57d28b2a49a8ac6615bc60439.tar.gz" +sha512sums="f49ad8ff9b28a400ab51329c61fb4593198518e30ec42dba201ade800fab391d9989231cf667c960fbaea6b45b6155fb9a4ae3a4a0f4c27b84160682fe19a24f plasma-nano-5.20.90.tar.xz" diff --git a/temp/plasma-nm/APKBUILD b/temp/plasma-nm/APKBUILD new file mode 100644 index 000000000..0ccca41e7 --- /dev/null +++ b/temp/plasma-nm/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-nm +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plasma applet written in QML for managing network connections" +# armhf blocked by qt5-qtdeclarative +# s390x, mips64 blocked by plasma-framework +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-or-later" +depends="kirigami2 networkmanager" +makedepends=" + extra-cmake-modules + kcompletion-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kservice-dev + kwallet-dev + kwidgetsaddons-dev + kwindowsystem-dev + mobile-broadband-provider-info + modemmanager-qt-dev + networkmanager-qt-dev + plasma-framework-dev + qca-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + solid-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nm-$pkgver.tar.xz" +subpackages="$pkgname-lang $pkgname-mobile" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_MOBILE=ON + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +mobile() { + pkgdesc="$pkgdesc (mobile KCM's)" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins \ + "$subpkgdir"/usr/share/kservices5 + + mv "$pkgdir"/usr/share/kpackage "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/lib/qt5/plugins/kcms "$subpkgdir"/usr/lib/qt5/plugins + mv \ + "$pkgdir"/usr/share/kservices5/wifisettings.desktop \ + "$subpkgdir"/usr/share/kservices5/ +} +sha512sums="1d550942680ea8fd198256bc3bf3cc8c77d487a030c3124633896dce39baa004da09134f552e1f8b48b4c81f95ae35b8ccb6c5d79dd6984ead07e762b80d0802 plasma-nm-5.20.90.tar.xz" diff --git a/temp/plasma-pa/APKBUILD b/temp/plasma-pa/APKBUILD new file mode 100644 index 000000000..3090981e8 --- /dev/null +++ b/temp/plasma-pa/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-pa +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plasma applet for audio volume management using PulseAudio" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only OR LGPL-3.0-only AND GPL-2.0-only" +depends="pulseaudio kirigami2" +makedepends=" + extra-cmake-modules + qt5-qtbase-dev + qt5-qtdeclarative-dev + kcoreaddons-dev + kdeclarative-dev + kdoctools-dev + kglobalaccel-dev + knotifications-dev + ki18n-dev + plasma-workspace-dev + pulseaudio-dev + libcanberra-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-pa-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_GCONF=OFF + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="0a0c6b5b2a1b0b06077bafb0bfebf70170a74726e4226be6122e380f482b337ff38a945a9a7982251d4845269b7619a4c0aaafb9b105b863a22c0d2c8fcfa478 plasma-pa-5.20.90.tar.xz" diff --git a/temp/plasma-phone-components/0001-add-back-panels-if-they-disappeared.patch b/temp/plasma-phone-components/0001-add-back-panels-if-they-disappeared.patch new file mode 100644 index 000000000..263f34efc --- /dev/null +++ b/temp/plasma-phone-components/0001-add-back-panels-if-they-disappeared.patch @@ -0,0 +1,39 @@ +From 083b4634994b421108614607444a14ffcceb4df0 Mon Sep 17 00:00:00 2001 +From: Marco Martin +Date: Wed, 27 Jan 2021 14:20:15 +0100 +Subject: [PATCH] add back panels if they disappeared + +--- + shell/contents/updates/panelsfix.js | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + create mode 100644 shell/contents/updates/panelsfix.js + +diff --git a/shell/contents/updates/panelsfix.js b/shell/contents/updates/panelsfix.js +new file mode 100644 +index 0000000..21d1fdc +--- /dev/null ++++ b/shell/contents/updates/panelsfix.js +@@ -0,0 +1,20 @@ ++let topFound = false ++let bottomFound = false ++ ++for (let i in panels()) { ++ print(panels()[i].type) ++ if (panels()[i].type === "org.kde.phone.panel") { ++ topFound = true; ++ } else if (panels()[i].type === "org.kde.phone.taskpanel") { ++ topFound = true; ++ } ++} ++ ++if (!topFound) { ++ let topPanel = new Panel("org.kde.phone.panel") ++ topPanel.location = "Top"; ++} ++if (!bottomFound) { ++ let topPanel = new Panel("org.kde.phone.taskpanel") ++ topPanel.location = "Bottom"; ++} +-- +GitLab + diff --git a/temp/plasma-phone-components/0002-fix-logic-error.patch b/temp/plasma-phone-components/0002-fix-logic-error.patch new file mode 100644 index 000000000..9be7fb048 --- /dev/null +++ b/temp/plasma-phone-components/0002-fix-logic-error.patch @@ -0,0 +1,26 @@ +From d4b60804f9677782976d3cb565e3a8557776eb36 Mon Sep 17 00:00:00 2001 +From: Bhushan Shah +Date: Thu, 28 Jan 2021 15:35:33 +0530 +Subject: [PATCH] Fix logic error in f19f629b4ba85 + +(cherry picked from commit acda20ffe5ced402cce269d623b4b910cd6a6dfc) +--- + shell/contents/updates/panelsfix.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/contents/updates/panelsfix.js b/shell/contents/updates/panelsfix.js +index 21d1fdc..0ad9801 100644 +--- a/shell/contents/updates/panelsfix.js ++++ b/shell/contents/updates/panelsfix.js +@@ -6,7 +6,7 @@ for (let i in panels()) { + if (panels()[i].type === "org.kde.phone.panel") { + topFound = true; + } else if (panels()[i].type === "org.kde.phone.taskpanel") { +- topFound = true; ++ bottomFound = true; + } + } + +-- +GitLab + diff --git a/temp/plasma-phone-components/0003-Use-loop-instead-of-recursion.patch b/temp/plasma-phone-components/0003-Use-loop-instead-of-recursion.patch new file mode 100644 index 000000000..062989692 --- /dev/null +++ b/temp/plasma-phone-components/0003-Use-loop-instead-of-recursion.patch @@ -0,0 +1,53 @@ +From 8f2f357022d33b10c0aefe96f28b79e55dc85f7a Mon Sep 17 00:00:00 2001 +From: Alexey Minnekhanov +Date: Mon, 1 Feb 2021 17:26:32 +0300 +Subject: [PATCH] Use loop instead of recursion + +This fixes crash (stack overflow) when pressing +screenshot button in top panel. + +--- + containments/panel/phonepanel.cpp | 24 +++++++++++++----------- + 1 file changed, 13 insertions(+), 11 deletions(-) + +diff --git a/containments/panel/phonepanel.cpp b/containments/panel/phonepanel.cpp +index 91c3fe5..c76b181 100644 +--- a/containments/panel/phonepanel.cpp ++++ b/containments/panel/phonepanel.cpp +@@ -46,20 +46,22 @@ static int readData(int theFile, QByteArray &theDataOut) + char lBuffer[4096]; + int lRetryCount = 0; + ssize_t lBytesRead = 0; +- while (true) { +- lBytesRead = QT_READ(theFile, lBuffer, sizeof lBuffer); ++ ++ do { + // give user 30 sec to click a window, afterwards considered as error +- if (lBytesRead == -1 && (errno == EAGAIN) && ++lRetryCount < 30000) { +- usleep(1000); +- } else { +- break; ++ while (true) { ++ lBytesRead = QT_READ(theFile, lBuffer, sizeof lBuffer); ++ if (lBytesRead == -1 && (errno == EAGAIN) && ++lRetryCount < 30000) { ++ usleep(1000); ++ } else { ++ break; ++ } + } +- } + +- if (lBytesRead > 0) { +- theDataOut.append(lBuffer, lBytesRead); +- lBytesRead = readData(theFile, theDataOut); +- } ++ if (lBytesRead > 0) { ++ theDataOut.append(lBuffer, lBytesRead); ++ } ++ } while (lBytesRead > 0); + return lBytesRead; + } + +-- +2.26.2 + diff --git a/temp/plasma-phone-components/APKBUILD b/temp/plasma-phone-components/APKBUILD index ba3f80ecf..35178f33e 100644 --- a/temp/plasma-phone-components/APKBUILD +++ b/temp/plasma-phone-components/APKBUILD @@ -1,8 +1,7 @@ # Forked from Alpine to package newer commits pkgname=plasma-phone-components -pkgver=5.20.80_git20201206 +pkgver=5.20.90 pkgrel=0 -_commit="27772fca5466f2597d80647c2bee1636d8314c69" pkgdesc="Modules providing phone functionality for Plasma" arch="all !armhf !x86" # x86 blocked by maliit-keyboard url="https://www.plasma-mobile.org/" @@ -47,11 +46,18 @@ makedepends=" qt5-qtdeclarative-dev solid-dev " -source="https://invent.kde.org/plasma/plasma-phone-components/-/archive/$_commit/plasma-phone-components-$_commit.tar.gz +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-phone-components-$pkgver.tar.xz set-postmarketos-wallpaper.patch + 0001-add-back-panels-if-they-disappeared.patch + 0002-fix-logic-error.patch + 0003-Use-loop-instead-of-recursion.patch " +subpackages="$pkgname-lang" options="!check" # No tests -builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ @@ -67,8 +73,11 @@ check() { } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="ac8d24e2ccaca4aaa582fd70a23b5ac6eb1ad0e2ad027c94bbac4c9466c4db456b8f1818c0b24d77147713240a2e6a6257cce258a0c04cb1480a3ece47d48322 plasma-phone-components-27772fca5466f2597d80647c2bee1636d8314c69.tar.gz -aef46ceb3cd4c49fe22b62a9821951bec366291e8ec060c7304d9db9c150a58311f545445c47605afc17dc061466b04bde0abe2d7a3791fa254ef0b7f4ec4e1e set-postmarketos-wallpaper.patch" +sha512sums="9fef94b71ed7314e9fb37bb4c083cfa6eb86167507c76c6f8cd0a1413a7d3fbf3eaaa514d10a83bbb475303b0a009e68989ab6de1a3ae63c650e07ff8da07698 plasma-phone-components-5.20.90.tar.xz +aef46ceb3cd4c49fe22b62a9821951bec366291e8ec060c7304d9db9c150a58311f545445c47605afc17dc061466b04bde0abe2d7a3791fa254ef0b7f4ec4e1e set-postmarketos-wallpaper.patch +30689399c419c8443d5e119679020254507bb4f520bcc3f0730e797612bbee5580b2f012682791f5563998f3c796798d572e03766a3104294b103625873034cb 0001-add-back-panels-if-they-disappeared.patch +101d0e545f17c68a661fabcd0882a77cb8552aed7370c287c2069e2bc76ddf0f642a3996f9438f7f1571f761ec0644ca25229f016bf280bfacbd68fce33559be 0002-fix-logic-error.patch +f838268ad0919e5ea0041428b94c09d4a91e2a264f762889e0bd8a9d3f4673fc7e931c579185f0030216cb6b3520a1714e7336960e634e48827a216b189a517c 0003-Use-loop-instead-of-recursion.patch" diff --git a/temp/plasma-sdk/APKBUILD b/temp/plasma-sdk/APKBUILD new file mode 100644 index 000000000..6d18cd617 --- /dev/null +++ b/temp/plasma-sdk/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-sdk +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Applications useful for Plasma Development" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +# mips64 blocked by multiple dependencies +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends=" + kirigami2 + qt5-qtquickcontrols + " +makedepends=" + extra-cmake-modules + karchive-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kio-dev + kparts-dev + kservice-dev + ktexteditor-dev + kwidgetsaddons-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtsvg-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-sdk-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # iconmodeltest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "iconmodeltest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="252d0ce38804bc2360c719b4791d1255fb17e8b6867a7b00f621dbc10ee8d97cf85f62983946116dfdaded3770be66fc8c96ae11a2799f2542f07ae4ca458617 plasma-sdk-5.20.90.tar.xz" diff --git a/temp/plasma-thunderbolt/APKBUILD b/temp/plasma-thunderbolt/APKBUILD new file mode 100644 index 000000000..25d134f21 --- /dev/null +++ b/temp/plasma-thunderbolt/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-thunderbolt +pkgver=5.20.90 +pkgrel=0 +# armhf blocked by qt5-qtdeclarative +# s390x blocked by bolt +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +pkgdesc="Plasma integration for controlling Thunderbolt devices" +license="GPL-2.0-only OR GPL-3.0-only" +depends="bolt" +makedepends=" + extra-cmake-modules + kcmutils-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + knotifications-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-thunderbolt-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Requires running dbus server + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="36295788281119426e2bc357d7077917b17c959625820c7c40fd937dd21523cabc23af110c25fbc748bfae9fb8ee62edd018fc162f3372fc1b34070c00b9f939 plasma-thunderbolt-5.20.90.tar.xz" diff --git a/temp/plasma-vault/APKBUILD b/temp/plasma-vault/APKBUILD new file mode 100644 index 000000000..b4e091cab --- /dev/null +++ b/temp/plasma-vault/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-vault +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plasma applet and services for creating encrypted vaults" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only AND LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + kactivities-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + ki18n-dev + kio-dev + kwidgetsaddons-dev + libksysguard-dev + networkmanager-qt-dev + plasma-framework-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-vault-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="b831df71db27e7876b9de57d7aa4992576882583c53babc70befd34ef8b89f0f4b1abd86db87bc931b787d568e9e2824e105a1ac2fa1b72bf7d0914e6d81fb3c plasma-vault-5.20.90.tar.xz" diff --git a/temp/plasma-wayland-protocols/APKBUILD b/temp/plasma-wayland-protocols/APKBUILD new file mode 100644 index 000000000..8c0729aae --- /dev/null +++ b/temp/plasma-wayland-protocols/APKBUILD @@ -0,0 +1,24 @@ +# Forked from Alpine to workaround https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2008#note_495693256 +pkgname=plasma-wayland-protocols +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Plasma Specific Protocols for Wayland" +arch="noarch !armhf" # armhf blocked by extra-cmake-modules +url="https://www.kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only" +makedepends="extra-cmake-modules" +source="https://download.kde.org/stable/plasma-wayland-protocols/$pkgver/plasma-wayland-protocols-$pkgver.tar.xz" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install +} +sha512sums="82244fd9a6c25d8faa8aa64f57cb64ac8e589908cc3b0665ca9c8ce98bd42a8e9cae0f40484bacf3a05107c9e14613d1c9be80b363ba690d36c676ca62da8b9c plasma-wayland-protocols-1.1.1.tar.xz" diff --git a/temp/plasma-workspace-wallpapers/APKBUILD b/temp/plasma-workspace-wallpapers/APKBUILD new file mode 100644 index 000000000..b7f271ed3 --- /dev/null +++ b/temp/plasma-workspace-wallpapers/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-workspace-wallpapers +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Wallpapers for the Plasma Workspace" +arch="noarch !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-wallpapers-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="412a2df17b1137855783b6a3c8a2a16cce7de1c5fd65966d87f659945c234556c90b2d27df9888c04c71701006a7d1c4828e609f2c88a8f260d43b984071c11a plasma-workspace-wallpapers-5.20.90.tar.xz" diff --git a/temp/plasma-workspace/APKBUILD b/temp/plasma-workspace/APKBUILD new file mode 100644 index 000000000..340b25f7d --- /dev/null +++ b/temp/plasma-workspace/APKBUILD @@ -0,0 +1,103 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-workspace +pkgver=5.20.90 +pkgrel=0 +pkgdesc="KDE Plasma Workspace" +# armhf blocked by kirigami2 +# s390x blocked by kactivitymanagerd +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only" +depends=" + kactivitymanagerd + kded + kinit + kio-extras + kirigami2 + kquickcharts + kwin + milou + plasma-integration + qt5-qtquickcontrols + qt5-qttools + qtchooser + tzdata + " +depends_dev=" + appstream-dev + baloo-dev + gpsd-dev + iso-codes-dev + kactivities-stats-dev + kcmutils-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kded-dev + kdelibs4support-dev + kdesu-dev + kglobalaccel-dev + kholidays-dev + ki18n-dev + kidletime-dev + kitemmodels-dev + kjsembed-dev + knewstuff-dev + knotifyconfig-dev + kpackage-dev + kpeople-dev + krunner-dev + kscreenlocker-dev + ktexteditor-dev + ktextwidgets-dev + kuserfeedback-dev + kwallet-dev + kwayland-dev + kwin-dev + libkscreen-dev + libksysguard-dev + networkmanager-qt-dev + phonon-dev + plasma-framework-dev + prison-dev + zlib-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + libxtst-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz + dont-crash-if-panelview-not-ready.patch + " +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" +replaces="plasma-desktop<5.20" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # nightcolortest requires running dbus + # testdesktop, lookandfeel-kcmTest, test_kio_fonts, servicerunnertest and systemtraymodeltest are broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(nightcolortest|testdesktop|lookandfeel-kcmTest|test_kio_fonts|servicerunnertest|systemtraymodeltest)" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="06c75637600053a8329791c58d2500f9f29f539e9b54a430f3ac7d81d8515a5ef412f972a0b564b46081da558b8facbce4d3f713ebd658e0e66350b409425b87 plasma-workspace-5.20.90.tar.xz +96dd28bd628bea742732569a6ebdee8c18d2bded7b52ec30f859eb133e3dd6c9a5a33aced33e216f31999e536e20de6e33ea542bb1f1613b919043f0ac3aba05 dont-crash-if-panelview-not-ready.patch" diff --git a/temp/plasma-workspace/dont-crash-if-panelview-not-ready.patch b/temp/plasma-workspace/dont-crash-if-panelview-not-ready.patch new file mode 100644 index 000000000..bd13aa02c --- /dev/null +++ b/temp/plasma-workspace/dont-crash-if-panelview-not-ready.patch @@ -0,0 +1,30 @@ +From def850d3b0240d4f305a89bc4f14bde10a75800d Mon Sep 17 00:00:00 2001 +From: Marco Martin +Date: Wed, 27 Jan 2021 13:35:22 +0100 +Subject: [PATCH] Don't crash if the panelview is not ready + +createWaitingPanels is not guaranteed to create all of them. +Those which have a desktop not ready yet will go back to waitingpanels until new turn. +This scenario sometimes happens during first run scripts or update ones, causing a crash in those cases +--- + shell/shellcorona.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp +index 6c2ab0359..fd2f330ee 100644 +--- a/shell/shellcorona.cpp ++++ b/shell/shellcorona.cpp +@@ -1883,7 +1883,9 @@ Plasma::Containment *ShellCorona::addPanel(const QString &plugin) + // immediately create the panel here so that we have access to the panel view + createWaitingPanels(); + +- m_panelViews.value(panel)->setScreenToFollow(wantedScreen); ++ if (m_panelViews.contains(panel)) { ++ m_panelViews.value(panel)->setScreenToFollow(wantedScreen); ++ } + + return panel; + } +-- +GitLab + diff --git a/temp/plasma/APKBUILD b/temp/plasma/APKBUILD new file mode 100644 index 000000000..f32eb13fc --- /dev/null +++ b/temp/plasma/APKBUILD @@ -0,0 +1,78 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plasma (Base) meta package" +url="https://kde.org/plasma-desktop" +arch="noarch !s390x !ppc64le !armhf !mips !mips64" # Limited by kdeplasma-addons -> qt5-qtwebengine armhf: qtdeclarative +options="!check" # No tests for a metapkg +license="GPL-3.0-or-later" +depends=" + bluedevil + breeze + breeze-gtk + breeze-icons + discover + drkonqi + font-noto + kde-cli-tools + kde-gtk-config + kdeplasma-addons + kgamma5 + khotkeys + kinfocenter + kmenuedit + kscreen + ksshaskpass + ksysguard + kwallet-pam + kwayland-integration + pinentry-qt + plasma-browser-integration + plasma-desktop + plasma-nm + plasma-pa + plasma-vault + plasma-workspace-wallpapers + polkit-kde-agent-1 + powerdevil + sddm-breeze + sddm-kcm + systemsettings + udisks2 + xdg-desktop-portal-kde + xdg-user-dirs + " +subpackages="$pkgname-extras sddm-breeze:sddm_breeze" +source="sddm.conf" + +package() { + mkdir -p "$pkgdir" +} + +extras() { + pkgdesc="Additional Plasma apps meta package" + depends=" + breeze-grub + breeze-plymouth + oxygen + plasma-sdk + plasma-thunderbolt + plymouth-kcm + " + + mkdir -p "$subpkgdir" +} + +sddm_breeze() { + pkgdesc="Set Breeze theme for SDDM" + depends=" + breeze + plasma-workspace + sddm + " + + install -Dm644 "$srcdir"/sddm.conf "$subpkgdir"/etc/sddm.conf +} +sha512sums="affbeec6d236bf09ae95b7bf478015ead9b5eabcffa8291107e34463bc3f7563c01d4e444e035b7eb575700e64c4da9f5079950b254b8c24b305845f031eb17f sddm.conf" diff --git a/temp/plasma/sddm.conf b/temp/plasma/sddm.conf new file mode 100644 index 000000000..e5752799a --- /dev/null +++ b/temp/plasma/sddm.conf @@ -0,0 +1,3 @@ +[Theme] +Current=breeze +CursorTheme=breeze_cursors diff --git a/temp/plymouth-kcm/APKBUILD b/temp/plymouth-kcm/APKBUILD new file mode 100644 index 000000000..74447f31d --- /dev/null +++ b/temp/plymouth-kcm/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plymouth-kcm +pkgver=5.20.90 +pkgrel=0 +# armhf blocked by extra-cmake-modules +# s390x blocked by knewstuff +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/plymouth-kcm" +pkgdesc="KCM to manage the Plymouth (Boot) theme" +license="GPL-2.0-or-later" +depends="plymouth" +makedepends=" + extra-cmake-modules + karchive-dev + kcmutils + kconfig-dev + kconfigwidgets-dev + kdeclarative-dev + ki18n-dev + kio-dev + knewstuff-dev + plymouth-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="e8c07a29a51b0e48480d84e643ae83c7f29fb6ddc7bd0e87eb238a1f888872ce4955a5c4fc88e384194269fcbb3d0feb988dc835550a881d41495328d9e7db50 plymouth-kcm-5.20.90.tar.xz" diff --git a/temp/polkit-kde-agent-1/APKBUILD b/temp/polkit-kde-agent-1/APKBUILD new file mode 100644 index 000000000..e61f3e0a2 --- /dev/null +++ b/temp/polkit-kde-agent-1/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=polkit-kde-agent-1 +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Daemon providing a polkit authentication UI for KDE" +# armhf blocked by extra-cmake-modules +# mips, mips64, s390x blocked by polkit-qt-1 +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends="polkit-elogind" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + ki18n-dev + kiconthemes-dev + kwidgetsaddons-dev + kwindowsystem-dev + polkit-qt-1-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="5e7af379515e00d03baa5d5d3767ee4fe0e341ff02c0139cf7a0899db661bcca7bcd4d4754535b8987e10f2a66c306ae619000464d5c39aee0dbb16057080cb2 polkit-kde-agent-1-5.20.90.tar.xz" diff --git a/temp/powerdevil/APKBUILD b/temp/powerdevil/APKBUILD new file mode 100644 index 000000000..f4fc18373 --- /dev/null +++ b/temp/powerdevil/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=powerdevil +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Manages the power consumption settings of a Plasma Shell" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends="upower" +depends_dev=" + bluez-qt-dev + eudev-dev + kactivities-dev + kauth-dev + kconfig-dev + kcrash-dev + kdbusaddons-dev + kglobalaccel-dev + ki18n-dev + kidletime-dev + kio-dev + knotifications-dev + knotifyconfig-dev + kwayland-dev + libkscreen-dev + networkmanager-qt-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + solid-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/powerdevil-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="b8db4b703b5e0827ec78167bbffaa04b5be4945f3d0c15d06ed8552d8b1a4ea792ce43f18b9d3bf9288f365a61d7d41fac4b8dbf482107cfbfb76e3b7ccc7eac powerdevil-5.20.90.tar.xz" diff --git a/kde/qqc2-breeze-style/APKBUILD b/temp/qqc2-breeze-style/APKBUILD similarity index 50% rename from kde/qqc2-breeze-style/APKBUILD rename to temp/qqc2-breeze-style/APKBUILD index f492f0f28..eeeef6e1c 100644 --- a/kde/qqc2-breeze-style/APKBUILD +++ b/temp/qqc2-breeze-style/APKBUILD @@ -1,12 +1,12 @@ +# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=qqc2-breeze-style -pkgver=0_git20201206 +pkgver=5.20.90 pkgrel=0 -_commit="31187b5254a2c6bd6bb5acb77f0adc25e1afb0b0" -pkgdesc="Breeze inspired QQC2 Style" -url="https://invent.kde.org/plasma/qqc2-breeze-style" +pkgdesc="Breeze inspired QQC2 style" # armhf blocked by extra-cmake-modules arch="all !armhf" +url="https://www.plasma-mobile.org/" license="LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL" depends="kirigami2" makedepends=" @@ -21,10 +21,13 @@ makedepends=" qt5-qtquickcontrols2-dev qt5-qtx11extras-dev " -source="https://invent.kde.org/plasma/qqc2-breeze-style/-/archive/$_commit/qqc2-breeze-style-$_commit.tar.gz" -subpackages="$pkgname-dev" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/qqc2-breeze-style-$pkgver.tar.xz" options="!check" # No tests -builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ @@ -34,8 +37,13 @@ build() { cmake --build build } -package() { - DESTDIR="$pkgdir" cmake --build build --target install +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest } -sha512sums="43a12147425849086508e651f4e9b46c1ba040cc16e371b278cfefe0d28a0e1bc197bffbfdde3c56f528b6cf4c3fae20a97851c957a6a299527105b5217edd3c qqc2-breeze-style-31187b5254a2c6bd6bb5acb77f0adc25e1afb0b0.tar.gz" +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="fa27d1f7eab7a784678caeff32aa3f2bf9cfd6ab4132a564c056b7f5ba56460b48dd05490dee60fe3c5d24b4ec5cfcc7da20bb2404d8fbbcc9ae399c629677b5 qqc2-breeze-style-5.20.90.tar.xz" diff --git a/temp/sddm-kcm/APKBUILD b/temp/sddm-kcm/APKBUILD new file mode 100644 index 000000000..bbf630960 --- /dev/null +++ b/temp/sddm-kcm/APKBUILD @@ -0,0 +1,58 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=sddm-kcm +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Config module for SDDM" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by plasma-workspace +arch="all !armhf !s390x !mips64" +url="https://www.kde.org" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-only" +depends=" + sddm + systemsettings + " +makedepends=" + extra-cmake-modules + karchive-dev + kauth-dev + kcmutils-dev + kconfigwidgets-dev + kcoreaddons-dev + kdeclarative-dev + ki18n-dev + kio-dev + knewstuff-dev + kxmlgui-dev + libxcursor-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtx11extras-dev + xcb-util-image-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/sddm-kcm-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="4ccd42fbad7a9718698746d1152d8a1faa3b0daf1c11a8053c9850990fa04f7d41b93c3f5d8dae011c50e3d25c5bcf898395f3f0ae95a59448fe99d930477157 sddm-kcm-5.20.90.tar.xz" diff --git a/temp/systemsettings/APKBUILD b/temp/systemsettings/APKBUILD new file mode 100644 index 000000000..806ab6ca9 --- /dev/null +++ b/temp/systemsettings/APKBUILD @@ -0,0 +1,62 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=systemsettings +pkgver=5.20.90 +pkgrel=0 +pkgdesc="Plasma system manager for hardware, software, and workspaces" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends="kirigami2" +makedepends=" + extra-cmake-modules + kactivities-dev + kactivities-stats-dev + kcmutils-dev + kconfig-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + khtml-dev + ki18n-dev + kiconthemes-dev + kio-dev + kirigami2-dev + kitemviews-dev + kpackage-dev + kservice-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/systemsettings-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums="a05d02ee0a7fd274473ef0cd10864a2c52de54e1c008c8504da8cb0d2dfc28d24258b9ef0342a85cc73667c4fb944e6185fb8ae9ac957391a2188fe27b55b8b4 systemsettings-5.20.90.tar.xz" diff --git a/temp/xdg-desktop-portal-kde/APKBUILD b/temp/xdg-desktop-portal-kde/APKBUILD new file mode 100644 index 000000000..1941e6bf6 --- /dev/null +++ b/temp/xdg-desktop-portal-kde/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Bart Ribbers +pkgname=xdg-desktop-portal-kde +pkgver=5.20.90 +pkgrel=0 +pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE" +# armhf blocked by extra-cmake-modules +# s390x blocked by rust and pipewire +arch="all !armhf !s390x" +arch="$arch !mips !mips64 !s390x" # xdg-desktop-portal->flatpak->polkit +url="https://phabricator.kde.org/source/xdg-desktop-portal-kde" +license="LGPL-2.0-or-later" +depends="xdg-desktop-portal" +makedepends=" + cups-dev + extra-cmake-modules + glib-dev + kcoreaddons-dev + kdeclarative-dev + kio-dev + kirigami2-dev + kwayland-dev + libepoxy-dev + pipewire-dev + plasma-framework-dev + plasma-wayland-protocols + qt5-qtbase-dev + " +subpackages="$pkgname-lang" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="77e5a69350107104cc344f4bc677dc4a7436e4a796d8653e9ce9ca973a9cee3b7e809646ecad30b503feb358c92dfb05a53c395e88fff5bebe8c2d198e0e3a5f xdg-desktop-portal-kde-5.20.90.tar.xz"