plasma-integration: drop qt5

This commit is contained in:
Đoàn Trần Công Danh 2024-05-16 14:40:44 +07:00 committed by Đoàn Trần Công Danh
parent 3597f15eb0
commit ad5f34274f

View file

@ -1,28 +1,20 @@
# Template file for 'plasma-integration' # Template file for 'plasma-integration'
# TODO remove Qt5 bits or split once we moved everything to KDE6
pkgname=plasma-integration pkgname=plasma-integration
version=6.0.4 version=6.0.4
revision=1 revision=1
build_style=cmake build_style=cmake
build_helper=qemu build_helper=qemu
configure_args="-DBUILD_TESTING=OFF configure_args="-DBUILD_TESTING=OFF -DBUILD_QT5=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKF6_HOST_TOOLING=/usr/lib/cmake" -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
qt5-qmake qt5-host-tools qt5-wayland kconfig kcoreaddons wayland-devel wayland-devel qt6-wayland-tools kf6-kconfig"
qt6-wayland-tools kf6-kconfig"
makedepends="kf6-kio-devel kf6-kxmlgui-devel kf6-kstatusnotifieritem-devel makedepends="kf6-kio-devel kf6-kxmlgui-devel kf6-kstatusnotifieritem-devel
kf6-kwayland-devel libXcursor-devel breeze qt6-wayland-devel kf6-kwayland-devel libXcursor-devel breeze qt6-wayland-devel
wayland-devel kio-devel kwayland-devel qt5-quickcontrols2-devel" wayland-devel"
depends="noto-fonts-ttf font-hack-ttf breeze kf6-qqc2-desktop-style depends="noto-fonts-ttf font-hack-ttf breeze kf6-qqc2-desktop-style"
qqc2-desktop-style"
short_desc="Theme integration plugins for the Plasma workspaces" short_desc="Theme integration plugins for the Plasma workspaces"
maintainer="John <me@johnnynator.dev>" maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/plasma-integration" homepage="https://invent.kde.org/plasma/plasma-integration"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=eef5c21ee43eefa1034126a45d2b34da967af81cf921a9c2a4314a4fb2738913 checksum=eef5c21ee43eefa1034126a45d2b34da967af81cf921a9c2a4314a4fb2738913
post_patch() {
sed -i '1i set(KDE_INSTALL_QTPLUGINDIR lib/qt6/plugins)' \
qt6/CMakeLists.txt
}