summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-04-17 20:47:23 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-06-15 00:48:28 +0300
commitcca5179f428dbe78b983fb85827cf2170f9e7bce (patch)
tree42ce0a9cd0bcbe85912bc8840aadb75dd077e13b /lxqt-base
parentx11-misc/pcmanfm-qt: add version 2.0.0 (diff)
downloadgentoo-cca5179f428dbe78b983fb85827cf2170f9e7bce.tar.gz
gentoo-cca5179f428dbe78b983fb85827cf2170f9e7bce.tar.bz2
gentoo-cca5179f428dbe78b983fb85827cf2170f9e7bce.zip
lxqt-base/liblxqt: add version 2.0.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base')
-rw-r--r--lxqt-base/liblxqt/Manifest1
-rw-r--r--lxqt-base/liblxqt/liblxqt-2.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/lxqt-base/liblxqt/Manifest b/lxqt-base/liblxqt/Manifest
index 0cd72a891bfa..46d3e60c1df8 100644
--- a/lxqt-base/liblxqt/Manifest
+++ b/lxqt-base/liblxqt/Manifest
@@ -1,2 +1,3 @@
DIST liblxqt-1.3.0.tar.xz 83524 BLAKE2B 8a2c9df1e76dd93c7905f85d94e9c56db932fc89781aafc577d4b6f0b3db76a862576b39260b75dd219b280723b81ffa306619a9332bce3b5ba51c28b0c08f12 SHA512 71595c98e5236467c96ea903a7326c1ddf04329b34ecce48cda9f55970d4a3b608dd8297a3fc484275fc25d11efa2740837239e4cbf436954d87ee1a0857ba21
DIST liblxqt-1.4.0.tar.xz 84388 BLAKE2B afb3e910a215b2e6ba6e99c13e49c63ab6f37ee754ce67d564f90f79d99b2ec8c9c874e4ad8834b796940cba0e0d17c8aaf53b96cd80630f8540f42562386e48 SHA512 2012bedab77fba7979d456c9e223e6a0a2f86c272d59eb66d3dbb4b028348972789249fa4a3889d419004210b7c5fcd1e989c196bb338ec8caa31bb0eca1d703
+DIST liblxqt-2.0.0.tar.xz 85988 BLAKE2B f372ae8e0ee063a6918da998d49369fbf3631ee5f1e9d8e3095494060517243da8444b362dc840d5723e03828a7f0de868f823fe050b4aaa633df267252757f6 SHA512 916a035b9c57430f8abc57cbb38a6397183dbc54c708c25f05acae9ddbb2dc7c210bc1957258ff0553cc29772acbc5e51cd6ce670c58d857f395f0b1d0f1e588
diff --git a/lxqt-base/liblxqt/liblxqt-2.0.0.ebuild b/lxqt-base/liblxqt/liblxqt-2.0.0.ebuild
new file mode 100644
index 000000000000..cf0a296de331
--- /dev/null
+++ b/lxqt-base/liblxqt/liblxqt-2.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Common base library for the LXQt desktop environment"
+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"
+fi
+
+LICENSE="LGPL-2.1+ BSD"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="+backlight"
+
+BDEPEND="
+ >=dev-qt/qttools-6.6:6[linguist]
+ >=dev-util/lxqt-build-tools-2.0.0
+"
+DEPEND="
+ >=dev-libs/libqtxdg-4.0.0
+ >=dev-qt/qtbase-6.6:6[dbus,gui,widgets,xml]
+ kde-frameworks/kwindowsystem:6[X]
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ backlight? ( sys-auth/polkit-qt )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_BACKLIGHT_LINUX_BACKEND=$(usex backlight)
+ )
+
+ cmake_src_configure
+}