summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2023-11-09 21:04:25 +0200
committerJimi Huotari <chiitoo@gentoo.org>2023-11-09 23:45:31 +0200
commita3428b7bc873386650bc8566646abe96e15be3a8 (patch)
treeac7697042d95baacae904f3c8635b885b614dbd0 /lxqt-base/liblxqt
parentapp-misc/qtxdg-tools: add 3.12.0 (diff)
downloadgentoo-a3428b7bc873386650bc8566646abe96e15be3a8.tar.gz
gentoo-a3428b7bc873386650bc8566646abe96e15be3a8.tar.bz2
gentoo-a3428b7bc873386650bc8566646abe96e15be3a8.zip
lxqt-base/liblxqt: add 1.4.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base/liblxqt')
-rw-r--r--lxqt-base/liblxqt/Manifest1
-rw-r--r--lxqt-base/liblxqt/liblxqt-1.4.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/lxqt-base/liblxqt/Manifest b/lxqt-base/liblxqt/Manifest
index cd1c944c8d0d..0cd72a891bfa 100644
--- a/lxqt-base/liblxqt/Manifest
+++ b/lxqt-base/liblxqt/Manifest
@@ -1 +1,2 @@
DIST liblxqt-1.3.0.tar.xz 83524 BLAKE2B 8a2c9df1e76dd93c7905f85d94e9c56db932fc89781aafc577d4b6f0b3db76a862576b39260b75dd219b280723b81ffa306619a9332bce3b5ba51c28b0c08f12 SHA512 71595c98e5236467c96ea903a7326c1ddf04329b34ecce48cda9f55970d4a3b608dd8297a3fc484275fc25d11efa2740837239e4cbf436954d87ee1a0857ba21
+DIST liblxqt-1.4.0.tar.xz 84388 BLAKE2B afb3e910a215b2e6ba6e99c13e49c63ab6f37ee754ce67d564f90f79d99b2ec8c9c874e4ad8834b796940cba0e0d17c8aaf53b96cd80630f8540f42562386e48 SHA512 2012bedab77fba7979d456c9e223e6a0a2f86c272d59eb66d3dbb4b028348972789249fa4a3889d419004210b7c5fcd1e989c196bb338ec8caa31bb0eca1d703
diff --git a/lxqt-base/liblxqt/liblxqt-1.4.0.ebuild b/lxqt-base/liblxqt/liblxqt-1.4.0.ebuild
new file mode 100644
index 000000000000..65577c1c00cb
--- /dev/null
+++ b/lxqt-base/liblxqt/liblxqt-1.4.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 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 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1+ BSD"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="+backlight"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ >=dev-util/lxqt-build-tools-0.13.0
+"
+DEPEND="
+ >=dev-libs/libqtxdg-3.12.0
+ >=dev-qt/qtcore-5.15:5
+ >=dev-qt/qtdbus-5.15:5
+ >=dev-qt/qtgui-5.15:5
+ >=dev-qt/qtwidgets-5.15:5
+ >=dev-qt/qtx11extras-5.15:5
+ >=dev-qt/qtxml-5.15:5
+ kde-frameworks/kwindowsystem:5[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
+}