aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-04-21 20:22:10 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-04-21 22:48:26 +0300
commitc23c14e1831283813b6551ef7574097b3810593e (patch)
tree789b7071ae8f5d7129f76e0f29cd45a9e9d74a4e /lxqt-base
parentapp-misc/qtxdg-tools: add 4.0.0 (diff)
downloadqt-c23c14e1831283813b6551ef7574097b3810593e.tar.gz
qt-c23c14e1831283813b6551ef7574097b3810593e.tar.bz2
qt-c23c14e1831283813b6551ef7574097b3810593e.zip
lxqt-base/liblxqt: add 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
new file mode 100644
index 00000000..fcef760f
--- /dev/null
+++ b/lxqt-base/liblxqt/Manifest
@@ -0,0 +1 @@
+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 00000000..cf0a296d
--- /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
+}