diff --git a/srcpkgs/kwin-x11-devel b/srcpkgs/kwin-x11-devel new file mode 120000 index 00000000000..380fb38d98e --- /dev/null +++ b/srcpkgs/kwin-x11-devel @@ -0,0 +1 @@ +kwin-x11 \ No newline at end of file diff --git a/srcpkgs/kwin-x11/patches/cross.patch b/srcpkgs/kwin-x11/patches/cross.patch new file mode 120000 index 00000000000..65be419e21a --- /dev/null +++ b/srcpkgs/kwin-x11/patches/cross.patch @@ -0,0 +1 @@ +../../kwin/patches/cross.patch \ No newline at end of file diff --git a/srcpkgs/kwin-x11/template b/srcpkgs/kwin-x11/template new file mode 100644 index 00000000000..f355eedd6a0 --- /dev/null +++ b/srcpkgs/kwin-x11/template @@ -0,0 +1,38 @@ +# Template file for 'kwin-x11' +pkgname=kwin-x11 +version=6.4.3 +revision=1 +build_style=cmake +build_helper=qemu +configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON + -DKF6_HOST_TOOLING=/usr/lib/cmake -DKDE_INSTALL_QMLDIR=lib/qt6/qml + -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins" +hostmakedepends="extra-cmake-modules gettext pkg-config libcap-progs + qt6-wayland-tools qt6-base qt6-tools qt6-declarative-host-tools wayland-devel + python3 kf6-kpackage kf6-kconfig kf6-kauth-tools kf6-kcmutils kf6-kdoctools" +makedepends="qt6-tools-devel qt6-wayland-devel qt6-sensors-devel kf6-kglobalaccel-devel + kf6-kpackage-devel kf6-ksvg-devel kf6-kcmutils-devel kf6-knewstuff-devel kf6-kdeclarative-devel + kf6-kxmlgui-devel kf6-kdecoration-devel libdisplay-info-devel xorg-server-xwayland + plasma-wayland-protocols kscreenlocker-devel plasma-activities-devel libqaccessibilityclient-devel + libcap-devel breeze-qt6 aurorae kglobalacceld-devel" +depends="aurorae" +short_desc="KDE X11 window manager" +maintainer="John " +license="GPL-2.0-or-later AND MIT" +homepage="https://invent.kde.org/plasma/kwin-x11" +distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" +checksum=4f2b60193967c24a067b9dda82d59f811f5663f5783d59e03424fc0281ccd188 + +kwin-x11-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +} + +post_install() { + vlicense LICENSES/MIT.txt MIT.txt +}