From 5b44f61751610da3003ddbde92a27b92558fd96d Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Tue, 5 Dec 2023 03:23:53 +0300 Subject: [PATCH] New package: libkmahjongg-24.08.2 --- common/shlibs | 1 + srcpkgs/libkmahjongg-devel | 1 + srcpkgs/libkmahjongg/template | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 120000 srcpkgs/libkmahjongg-devel create mode 100644 srcpkgs/libkmahjongg/template diff --git a/common/shlibs b/common/shlibs index 95f5918baf9..d9b54da3802 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4534,3 +4534,4 @@ libsfdo-basedir.so.0 libsfdo-0.1.3_1 libsfdo-desktop.so.0 libsfdo-0.1.3_1 libsfdo-desktop-file.so.0 libsfdo-0.1.3_1 libsfdo-icon.so.0 libsfdo-0.1.3_1 +libKMahjongg6.so.6 libkmahjongg-24.08.2_1 diff --git a/srcpkgs/libkmahjongg-devel b/srcpkgs/libkmahjongg-devel new file mode 120000 index 00000000000..e23c716037d --- /dev/null +++ b/srcpkgs/libkmahjongg-devel @@ -0,0 +1 @@ +libkmahjongg \ No newline at end of file diff --git a/srcpkgs/libkmahjongg/template b/srcpkgs/libkmahjongg/template new file mode 100644 index 00000000000..3039cb94fdb --- /dev/null +++ b/srcpkgs/libkmahjongg/template @@ -0,0 +1,26 @@ +# Template file for 'libkmahjongg' +pkgname=libkmahjongg +version=24.08.2 +revision=1 +build_style=cmake +configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake" +hostmakedepends="extra-cmake-modules gettext kf6-kconfig kf6-kcoreaddons + qt6-base svgcleaner" +makedepends="kf6-kcompletion-devel kf6-kconfig-devel kf6-kconfigwidgets-devel + kf6-kcoreaddons-devel qt6-svg-devel" +short_desc="Common code, backgrounds and tile sets for Majhongg games" +maintainer="chrysos349 " +license="GPL-2.0-or-later" +homepage="https://invent.kde.org/games/libkmahjongg" +distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" +checksum=a063a076e5e401c2fa5f46974bc1c6ac05ebcac1287b2a75e5348089c964ae1a + +libkmahjongg-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.so" + vmove usr/include + vmove usr/lib/cmake + } +}