From 058d72a2e41985e3c5f944a56cb6e5bf4c59c5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 7 Oct 2024 06:37:22 +0700 Subject: [PATCH] New package: libqt5xdg-3.12.0 --- common/shlibs | 2 ++ srcpkgs/libqt5xdg-devel | 1 + srcpkgs/libqt5xdg/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 120000 srcpkgs/libqt5xdg-devel create mode 100644 srcpkgs/libqt5xdg/template diff --git a/common/shlibs b/common/shlibs index 3c9f4eea065..02731d0d821 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1954,6 +1954,8 @@ libQt5Bodymovin.so.5 qt5-lottie-5.15.2_3 libQt5WebKit.so.5 qt5-webkit-5.6.0_1 libQt5WebKitWidgets.so.5 qt5-webkit-5.6.0_1 libx265.so.209 x265-3.6_1 +libQt5Xdg.so.3 libqt5xdg-3.2.0_1 +libQt5XdgIconLoader.so.3 libqt5xdg-3.2.0_1 libQt6Xdg.so.4 libqtxdg-4.0.0_1 libQt6XdgIconLoader.so.4 libqtxdg-4.0.0_1 libqwt-qt5.so.6.2 qwt-6.2.0_2 diff --git a/srcpkgs/libqt5xdg-devel b/srcpkgs/libqt5xdg-devel new file mode 120000 index 00000000000..a1ab066662f --- /dev/null +++ b/srcpkgs/libqt5xdg-devel @@ -0,0 +1 @@ +libqt5xdg \ No newline at end of file diff --git a/srcpkgs/libqt5xdg/template b/srcpkgs/libqt5xdg/template new file mode 100644 index 00000000000..99abb9d02fd --- /dev/null +++ b/srcpkgs/libqt5xdg/template @@ -0,0 +1,29 @@ +# Template file for 'libqt5xdg' +pkgname=libqt5xdg +version=3.12.0 +revision=1 +build_style=cmake +hostmakedepends="pkg-config lxqt-build-tools-qt5 qt5-host-tools qt5-qmake" +makedepends="qt5-svg-devel libglib-devel" +depends="libqtxdg>=4" +short_desc="Qt5 implementation of freedesktop.org XDG specifications" +maintainer="Helmut Pozimski " +license="LGPL-2.1-or-later" +homepage="https://lxqt-project.org" +distfiles="https://github.com/lxqt/libqtxdg/archive/${version}.tar.gz" +checksum=084e5fe7b4087d95657be7b5be3668e98bf14c2ba3b150205ebd819508774d45 + +post_install() { + rm -rf "${DESTDIR}/etc" +} + +libqt5xdg-devel_package() { + short_desc+=" - development files" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/*.so + vmove usr/share/cmake + } +}