New package: kf6-kconfig-6.1.0

This commit is contained in:
John 2024-02-29 21:12:38 +01:00 committed by Đoàn Trần Công Danh
parent 90d62dcc75
commit 3a6c9de86f
3 changed files with 39 additions and 0 deletions

View File

@ -1937,6 +1937,9 @@ libQt5Xdg.so.3 libqtxdg-3.1.0_1
libQt5XdgIconLoader.so.3 libqtxdg-3.1.0_1
libqwt-qt5.so.6.2 qwt-6.2.0_2
libqwt-qt6.so.6.2 qwt-qt6-6.2.0_2
libKF6ConfigCore.so.6 kf6-kconfig-6.0.0_1
libKF6ConfigQml.so.6 kf6-kconfig-6.0.0_1
libKF6ConfigGui.so.6 kf6-kconfig-6.0.0_1
liblxqt-qt5.so.0 liblxqt-0.8.0_1
liblxqt-globalkeys-qt5.so.0 lxqt-globalkeys-0.8.0_1
liblxqt-globalkeys-ui-qt5.so.0 lxqt-globalkeys-0.8.0_1

1
srcpkgs/kf6-kconfig-devel Symbolic link
View File

@ -0,0 +1 @@
kf6-kconfig

View File

@ -0,0 +1,35 @@
# Template file for 'kf6-kconfig'
pkgname=kf6-kconfig
version=6.1.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel"
short_desc="KDE Persistent platform-independent application settings"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kconfig"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=2fda5f25beac5260a70f3f629144b5c229bf352cae208893ed44a9732c6dcaf7
do_check() {
cd build
# disable failing tests
ctest -E "kconfigcore-kconfigtest|kconfiggui-kstandardshortcutwatchertest"
}
kf6-kconfig-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
mkdir -p "${DESTDIR}/usr/lib/cmake/KF6Config"
mv ${PKGDESTDIR}/usr/lib/cmake/KF6Config/KF6ConfigCompiler* \
"${DESTDIR}/usr/lib/cmake/KF6Config"
vmove "usr/lib/*.so"
}
}