summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-11-07 16:26:18 +0200
committerJimi Huotari <chiitoo@gentoo.org>2024-11-08 01:11:47 +0200
commit7ed6aae705520914925541295f44291d356c1860 (patch)
treeda903996bbed65d5fa7c0c84037a1738a4063b05 /lxqt-base
parentgui-libs/xdg-desktop-portal-lxqt: add 1.1.0 (diff)
downloadgentoo-7ed6aae705520914925541295f44291d356c1860.tar.gz
gentoo-7ed6aae705520914925541295f44291d356c1860.tar.bz2
gentoo-7ed6aae705520914925541295f44291d356c1860.zip
lxqt-base/liblxqt: add 2.1.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.1.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/lxqt-base/liblxqt/Manifest b/lxqt-base/liblxqt/Manifest
index c750de20a888..fb2a259a926e 100644
--- a/lxqt-base/liblxqt/Manifest
+++ b/lxqt-base/liblxqt/Manifest
@@ -1,2 +1,3 @@
DIST liblxqt-1.4.0.tar.xz 84388 BLAKE2B afb3e910a215b2e6ba6e99c13e49c63ab6f37ee754ce67d564f90f79d99b2ec8c9c874e4ad8834b796940cba0e0d17c8aaf53b96cd80630f8540f42562386e48 SHA512 2012bedab77fba7979d456c9e223e6a0a2f86c272d59eb66d3dbb4b028348972789249fa4a3889d419004210b7c5fcd1e989c196bb338ec8caa31bb0eca1d703
DIST liblxqt-2.0.0.tar.xz 85988 BLAKE2B f372ae8e0ee063a6918da998d49369fbf3631ee5f1e9d8e3095494060517243da8444b362dc840d5723e03828a7f0de868f823fe050b4aaa633df267252757f6 SHA512 916a035b9c57430f8abc57cbb38a6397183dbc54c708c25f05acae9ddbb2dc7c210bc1957258ff0553cc29772acbc5e51cd6ce670c58d857f395f0b1d0f1e588
+DIST liblxqt-2.1.0.tar.xz 86344 BLAKE2B 7746d8c214f2540c808afc413e86832587ba3df819c1380aa1286991d07d6aab2ccc9a11f3b04de8cb1de23b40f96ef4e51b87274a381de2358ed1d8e75533ed SHA512 98f234ddab09e01f9ac105826ec43171bdffd220d8b462776b5c157a691cbc24a2d8e601ed46f8e55d435403f5518a42a103b151ee3e367eaa909bfc535e45a9
diff --git a/lxqt-base/liblxqt/liblxqt-2.1.0.ebuild b/lxqt-base/liblxqt/liblxqt-2.1.0.ebuild
new file mode 100644
index 000000000000..7099861d247a
--- /dev/null
+++ b/lxqt-base/liblxqt/liblxqt-2.1.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 ~arm64 ~ppc64 ~riscv ~x86"
+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.1.0
+"
+DEPEND="
+ >=dev-libs/libqtxdg-4.1.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-0.200.0[qt6] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_BACKLIGHT_LINUX_BACKEND=$(usex backlight)
+ )
+
+ cmake_src_configure
+}