KDE: rebuild against plasma-wayland-protocol

https://bugs.kde.org/show_bug.cgi?id=488794
This commit is contained in:
Đoàn Trần Công Danh 2024-06-26 10:42:21 +07:00
parent 2c524b61af
commit 9c0f556473
18 changed files with 53 additions and 54 deletions

View File

@ -8,8 +8,9 @@ configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules kf6-kcoreaddons kf6-kdoctools python3
gettext"
makedepends="kmime6-devel kf6-akonadi-devel"
gettext qt6-base qt6-tools kf6-kconfig"
makedepends="kmime6-devel kf6-akonadi-devel kf6-kconfig-devel kf6-kdoctools-devel
kf6-kcoreaddons-devel"
short_desc="Libraries and daemons to implement basic email handling"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
@ -17,10 +18,6 @@ homepage="https://community.kde.org/KDE_PIM/Akonadi"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-mime-${version}.tar.xz"
checksum=b0651626bda53a0ba36c8044d1147239cc551ef00eed1dfff8388a166d1ce413
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt6-base qt6-tools kf6-kconfig"
fi
do_check() {
cd build
ctest -E "mailserializerplugintest"

View File

@ -1,7 +1,7 @@
# Template file for 'kf6-kguiaddons'
pkgname=kf6-kguiaddons
version=6.3.0
revision=2
revision=3
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
wayland-devel pkg-config qt6-wayland-tools"
@ -24,7 +24,7 @@ kf6-kguiaddons-geo-uri-handler_package() {
}
kf6-kguiaddons-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig

View File

@ -1,7 +1,7 @@
# Template file for 'kf6-kidletime'
pkgname=kf6-kidletime
version=6.3.0
revision=2
revision=3
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
@ -17,7 +17,7 @@ distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.x
checksum=cd8f677cce6738342b88817d0e7c1803460f00e409d730c5ae0ea33b1426472d
kf6-kidletime-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include

View File

@ -1,7 +1,7 @@
# Template file for 'kf6-kwayland'
pkgname=kf6-kwayland
version=6.0.5
revision=2
revision=3
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kf6-kcoreaddons pkg-config extra-cmake-modules qt6-tools qt6-base
@ -17,7 +17,7 @@ checksum=a8b88411d2ad9497e27d6dbd95d647de5ebe6314561e7a8d935fd79b2fe7ae84
kf6-kwayland-devel_package() {
short_desc+=" - development"
depends="${makedepends//private-} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt6-base-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake

View File

@ -1,7 +1,7 @@
# Template file for 'kf6-kwindowsystem'
pkgname=kf6-kwindowsystem
version=6.3.0
revision=2
revision=3
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
@ -37,7 +37,7 @@ do_check() {
}
kf6-kwindowsystem-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig

View File

@ -1,7 +1,7 @@
# Template file for 'kguiaddons'
pkgname=kguiaddons
version=5.115.0
revision=2
revision=3
build_style=cmake
configure_args="-DBUILD_TESTING=ON -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner
$(vopt_bool wayland WITH_WAYLAND) -DBUILD_GEO_SCHEME_HANDLER=OFF"
@ -21,7 +21,7 @@ build_options_default="wayland x11"
kguiaddons-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt5-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake

View File

@ -1,7 +1,7 @@
# Template file for 'kidletime'
pkgname=kidletime
version=5.115.0
revision=1
revision=2
build_style=cmake
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel
qt5-wayland wayland-devel"
@ -17,7 +17,7 @@ checksum=9d8029aa6a740dbcdee6988987d097538f369ce7b6f3dee09d502aa29737ae56
kidletime-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt5-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake

View File

@ -1,7 +1,7 @@
# Template file for 'kpipewire'
pkgname=kpipewire
version=6.0.5
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
@ -9,6 +9,7 @@ hostmakedepends="extra-cmake-modules gettext qt6-base qt6-tools pkg-config
pipewire qt6-wayland-tools wayland-devel qt6-declarative-host-tools"
makedepends="ffmpeg-devel kf6-kcoreaddons-devel kf6-kwayland-devel
kf6-ki18n-devel libva-devel libepoxy-devel pipewire-devel qt6-wayland-devel
plasma-wayland-protocols
wayland-devel qt6-declarative-devel qt6-base-private-devel"
depends="pipewire"
short_desc="Components relating to Flatpak 'pipewire' use in Plasma"
@ -24,7 +25,8 @@ do_check() {
}
kpipewire-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}
qt6-base-devel pipewire-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include

View File

@ -1,7 +1,7 @@
# Template file for 'krfb'
pkgname=krfb
version=24.02.2
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake

View File

@ -1,13 +1,14 @@
# Template file for 'kwayland-integration'
pkgname=kwayland-integration
version=6.0.5
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake wayland-devel
pkg-config wayland-protocols qt5-wayland-devel"
pkg-config wayland-protocols qt5-wayland-devel
plasma-wayland-protocols"
makedepends="kidletime-devel kwayland-devel kwindowsystem-devel kguiaddons-devel
libxkbcommon-devel"
libxkbcommon-devel qt5-wayland-devel wayland-protocols wayland-devel"
short_desc="Integration plugins for Kwayland"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"

View File

@ -1,7 +1,7 @@
# Template file for 'kwayland'
pkgname=kwayland
version=5.115.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel
@ -17,7 +17,7 @@ checksum=07b512d9ce51a1cacc6d13c1c26143b57372afed0e30bd1c100ad46861b4643c
kwayland-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt5-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake

View File

@ -1,7 +1,7 @@
# Template file for 'kwin'
pkgname=kwin
version=6.0.5
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON
@ -9,10 +9,12 @@ configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules gettext pkg-config kf6-kauth-tools
qt6-base qt6-tools libcap-progs kf6-kconfig kf6-kpackage kf6-kcmutils
qt6-wayland-tools"
qt6-wayland-tools kf6-kirigami-devel libcap-devel"
makedepends="libplasma-devel kf6-kcmutils-devel kf6-knewstuff-devel
kscreenlocker-devel kglobalacceld-devel xcb-util-cursor-devel qt6-wayland-devel
qt6-base-private-devel
qt6-base-private-devel plasma-wayland-protocols qt6-declarative-devel
kf6-kconfig-devel kf6-kcoreaddons-devel kf6-kwindowsystem-devel
wayland-devel libepoxy-devel qt6-tools-devel
qt6-multimedia-devel kf6-kdecoration-devel libxkbcommon-devel libinput-devel
libSM-devel libICE-devel xcb-util-wm-devel qt6-sensors-devel lcms2-devel
pipewire-devel kf6-krunner-devel xorg-server-xwayland libxcvt-devel hwids
@ -28,13 +30,11 @@ distfiles="${KDE_SITE}/plasma/${version:0:5}/${pkgname}-${version}.tar.xz"
checksum=242e7d210529ec631bc5fe3fe0a117a3d1d4edb1dd3a644aafd5089312f8b0d7
replaces="kwayland-server>=0"
if [ $CROSS_BUILD ]; then
hostmakedepends+=" kf6-kirigami-devel libcap-devel"
fi
kwin-devel_package() {
short_desc+=" - development"
depends="${makedepends//private-} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt6-base-devel
qt6-declarative-devel kf6-kconfig-devel kf6-kcoreaddons-devel
kf6-kwindowsystem-devel wayland-devel libepoxy-devel"
replaces="kwayland-server-devel>=0"
pkg_install() {
vmove usr/include

View File

@ -1,7 +1,7 @@
# Template file for 'libkf6screen'
pkgname=libkf6screen
version=6.0.5
revision=2
revision=3
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
@ -18,7 +18,7 @@ checksum=01a77569f372d354c172a23f2d4e0661701c024e44d972971b146735e16ae1d9
libkf6screen-devel_package() {
short_desc+=" - development"
depends="${makedepends//private-} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision} qt6-base-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake

View File

@ -1,20 +1,20 @@
# Template file for 'libplasma'
pkgname=libplasma
version=6.0.5
revision=3
revision=4
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools
hostmakedepends="extra-cmake-modules qt6-base qt6-tools qt6-wayland-tools
qt6-declarative-host-tools wayland-devel gettext pkg-config
kf6-kconfig-devel kf6-kirigami-devel kf6-kcmutils-devel
kf6-kpackage-devel"
makedepends="qt6-base-devel qt6-declarative-devel qt6-svg-devel
kf6-kconfig kf6-kirigami-devel kf6-kcmutils
kf6-kpackage"
makedepends="qt6-base-private-devel qt6-declarative-devel qt6-svg-devel
kf6-kcmutils-devel kf6-ksvg-devel kf6-ki18n-devel kf6-kwindowsystem-devel
kf6-kpackage-devel kf6-kiconthemes-devel kf6-kguiaddons-devel kf6-karchive-devel
kf6-kconfigwidgets-devel plasma-activities-devel wayland-devel
qt6-wayland-devel qt6-base-private-devel"
plasma-wayland-protocols qt6-wayland-devel"
short_desc="Plasma library and runtime components"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
@ -29,7 +29,8 @@ do_check() {
}
libplasma-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} qt6-declarative-devel
qt6-base-devel kf6-kpackage-devel kf6-kwindowsystem-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include

View File

@ -1,7 +1,7 @@
# Template file for 'plasma-desktop'
pkgname=plasma-desktop
version=6.0.5
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF
@ -9,7 +9,8 @@ configure_args="-DBUILD_TESTING=OFF
-DKDE_INSTALL_QMLDIR=lib/qt6/qml -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config intltool gettext qt6-base
qt6-tools wayland-protocols plasma-wayland-protocols kf6-kdoctools
kf6-kconfig kf6-kcmutils kf6-kpackage kf6-kauth-tools"
kf6-kconfig kf6-kcmutils kf6-kpackage kf6-kauth-tools wayland-devel
qt6-wayland-tools qt6-declarative-host-tools"
makedepends="kf6-kauth-devel kf6-kcrash-devel kf6-kdoctools-devel
kf6-ki18n-devel kf6-kcmutils-devel kf6-knewstuff-devel
kf6-kio-devel kf6-knotifications-devel kf6-knotifyconfig-devel
@ -34,7 +35,3 @@ distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=5d9001baea32e35055337667f204e28f206ebccaa0a172e0f109426ba8042ecf
replaces="user-manager>=0"
python_version=3
if [ $CROSS_BUILD ]; then
hostmakedepends+=" kf6-kirigami-devel kirigami-addons-devel kf6-qqc2-desktop-style-devel"
fi

View File

@ -1,7 +1,7 @@
# Template file for 'plasma-integration'
pkgname=plasma-integration
version=6.0.5
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DBUILD_QT5=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
@ -10,8 +10,7 @@ hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
wayland-devel qt6-wayland-tools kf6-kconfig"
makedepends="kf6-kio-devel kf6-kxmlgui-devel kf6-kstatusnotifieritem-devel
kf6-kwayland-devel libXcursor-devel breeze-qt6 qt6-base-private-devel
qt6-wayland-devel
wayland-devel"
qt6-wayland-devel plasma-wayland-protocols wayland-devel"
depends="noto-fonts-ttf font-hack-ttf breeze-qt6 kf6-qqc2-desktop-style"
short_desc="Theme integration plugins for the Plasma workspaces"
maintainer="John <me@johnnynator.dev>"

View File

@ -1,7 +1,7 @@
# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=6.0.5.1
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKDE_INSTALL_QMLDIR=lib/qt6/qml
@ -20,6 +20,8 @@ makedepends="qt6-declarative-devel libplasma-devel qt6-base-private-devel
libXft-devel libkf6screen-devel plasma5support-devel
plasma-activities-stats-devel kf6-kwallet-devel plasma-activities-devel
kf6-kded-devel kf6-networkmanager-qt-devel kf6-kirigami-devel
kf6-ksvg-devel kf6-kdeclarative-devel kf6-kwayland-devel
kscreenlocker-devel plasma-wayland-protocols
kf6-kuserfeedback-devel phonon-devel polkit-qt6-devel qt6-wayland-private-devel
$(vopt_if pipewire kpipewire-devel) kirigami-addons-devel libkexiv2-devel"
depends="kactivitymanagerd kwin iso-codes milou plasma-integration

View File

@ -1,7 +1,7 @@
# Template file for 'xdg-desktop-portal-kde'
pkgname=xdg-desktop-portal-kde
version=6.0.5
revision=2
revision=3
build_style=cmake
build_helper=qemu
configure_args="-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"