New package: libplasma-6.0.4

This commit is contained in:
John 2024-03-05 15:34:05 +01:00 committed by Đoàn Trần Công Danh
parent 6508ca2bac
commit c9f0036460
2 changed files with 39 additions and 0 deletions

1
srcpkgs/libplasma-devel Symbolic link
View File

@ -0,0 +1 @@
libplasma

View File

@ -0,0 +1,38 @@
# Template file for 'libplasma'
pkgname=libplasma
version=6.0.4
revision=1
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
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-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"
short_desc="Plasma library and runtime components"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/libplasma"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=61c2c148456cb97c7c104711b56cff010bfe5785c3f10c5b65ac804a3346fd74
do_check() {
cd build
# disable failing tests
ctest -E "plasma-dialogstatetest|dialognativetest"
}
libplasma-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}