summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-11-07 16:24:47 +0200
committerJimi Huotari <chiitoo@gentoo.org>2024-11-08 01:11:47 +0200
commit5332003c6d561a81166ccd243242a54ea063356d (patch)
treef9acaab091de6bc0e825da6fbc8a5f0fdeb45356 /dev-libs
parentdev-libs/libdbusmenu-lxqt: add 0.2.0 (diff)
downloadgentoo-5332003c6d561a81166ccd243242a54ea063356d.tar.gz
gentoo-5332003c6d561a81166ccd243242a54ea063356d.tar.bz2
gentoo-5332003c6d561a81166ccd243242a54ea063356d.zip
dev-libs/libqtxdg: add 4.1.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libqtxdg/Manifest1
-rw-r--r--dev-libs/libqtxdg/libqtxdg-4.1.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest
index 6fb49cc315bd..99152c859f04 100644
--- a/dev-libs/libqtxdg/Manifest
+++ b/dev-libs/libqtxdg/Manifest
@@ -2,3 +2,4 @@ DIST libqtxdg-3.11.0.tar.xz 71688 BLAKE2B df5f9ebe6d964a23c89402419e4b6e27812a25
DIST libqtxdg-3.12.0.tar.xz 71684 BLAKE2B 909fe97ccd8815d9d923d440abef9f0e9cf28fa8e18220f6998e69ff17a1bbb28b37c734758c01cb0a9537464fb0dd2f38b1f61640fd8468c30f8aac57e62106 SHA512 9db46b0dddb027a24e1c19a2e3679014735cc246f15d32bc5fb9e778cd7d8fb57c9b105f819091308002f0a2eff8269920ecc0d7bd5ce8a01fbaf0b37e61a76e
DIST libqtxdg-4.0.0.tar.xz 71508 BLAKE2B 823bfaba4ea1beb88b064d4935e7c660569b9215aa9f40b7ad6e3ffab965259467d968cd6b5f0c42c2912478d2766d52d52f0296d9eb3586c45ac5ddd7b97ed7 SHA512 4a8a32968e74ed54d700cf65c9cfb238001f58d93a9e374e18d60023615d6277f80459dd8477205ce31a6d8caf798cde70b91681df80b1bff3b754e0586868d2
DIST libqtxdg-4.0.1.tar.xz 71964 BLAKE2B 11c45e8e27a539e8c9b001667479e7a7c447937f82fd17a4b89ed9ba9d263ea416664b8f0b288d41eb27a63842fe9de563fe34efa0097c6af63f1340f45f9006 SHA512 767210f6a42375da48db26f7f9e005c5bf18230cee58351d52849b7451e54b45e91aef1226a3f5b8db78cd68a18c9208a94a2077c964430cc3384027ef29898b
+DIST libqtxdg-4.1.0.tar.xz 71980 BLAKE2B 5fbebcd5fe65a6c8d5f0fd79d694b326cfc122d64f2f815401efdd2e0c9e66300b86806015446a325021951afcb62bed557fc59006aecc561e1d358081995e24 SHA512 6c28b611d32284e28982b89658c051297ed739d35e9d795b837e822d93651a4c282695c7fa8fe27861cd1e5703578b8dcc28711ba1ad0a73cc3686f0eef461ea
diff --git a/dev-libs/libqtxdg/libqtxdg-4.1.0.ebuild b/dev-libs/libqtxdg/libqtxdg-4.1.0.ebuild
new file mode 100644
index 000000000000..d639f5b51ac8
--- /dev/null
+++ b/dev-libs/libqtxdg/libqtxdg-4.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature virtualx
+
+DESCRIPTION="Qt Implementation of XDG Standards"
+HOMEPAGE="https://lxqt-project.org/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+ SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ >=dev-util/lxqt-build-tools-2.1.0
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-qt/qtbase-6.6:6=[dbus,gui,widgets,xml]
+ >=dev-qt/qtsvg-6.6:6
+ x11-misc/xdg-utils
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ # Tests don't work with C
+ LC_ALL=en_US.utf8 virtx cmake_src_test
+}
+
+pkg_postinst() {
+ ! has_version lxqt-base/lxqt-meta && optfeature "features that require a terminal emulator" x11-terms/xterm
+}