summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2021-11-06 14:11:50 +0100
committerSam James <sam@gentoo.org>2022-01-21 19:06:58 +0000
commit74d6001c6b4fd5d21b841df548d3799cde3047eb (patch)
treefba628f03cb1d8da198f5ebd4d64b22a893b1937
parentlxqt-base/lxqt-about: version bump to 1.0.0 (diff)
downloadgentoo-74d6001c6b4fd5d21b841df548d3799cde3047eb.tar.gz
gentoo-74d6001c6b4fd5d21b841df548d3799cde3047eb.tar.bz2
gentoo-74d6001c6b4fd5d21b841df548d3799cde3047eb.zip
lxqt-base/liblxqt: version bump to 1.0.0
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--lxqt-base/liblxqt/Manifest1
-rw-r--r--lxqt-base/liblxqt/liblxqt-1.0.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/lxqt-base/liblxqt/Manifest b/lxqt-base/liblxqt/Manifest
index 4f0529a2af74..f08d458ec783 100644
--- a/lxqt-base/liblxqt/Manifest
+++ b/lxqt-base/liblxqt/Manifest
@@ -1,2 +1,3 @@
DIST liblxqt-0.16.0.tar.xz 81032 BLAKE2B 4cca40db916773366187db440c85160e0064d1ed329b1f170a32c5e337e6e21b1799d1ae4d43c8c2a092abd932c1aef48e81558887dc549c5d03371e2e1ac767 SHA512 ef44d046b5c3fe40ee528a9565964814656507395585cc2df4a7debd735bcc81b6e76ed9f91fb846504104182e74b037cbea0c6beecb41ce0003f811f1dd887d
DIST liblxqt-0.17.0.tar.xz 82052 BLAKE2B a46a93b01a8df11a2158ddcd650b3bf6316447782563965ce17e3cf86f4e55443f450b3f25ce053b51a4249919d9a233f44d3c8ef4105e623d3a288ebe3c37b0 SHA512 72fd06a1bd8cee422432c3eead9ed8bf15f460848b9a3f7cdb4ee1b31c3896e6af00bc62935fe0fd7d70170010c5f128dcf9c3ecb904366818fbbfc2af3dbbf1
+DIST liblxqt-1.0.0.tar.xz 82140 BLAKE2B 49dc6003207614e16c627a5b574aef9c6e42d2889eb1c0eff8da57be2476b8c1d54705ca41daa9bcd5b88f6c10153c65dc0e4f1bc10af56488152fe811913fd0 SHA512 9b0c081f644285e929f73a2a3aeb051383432ff353f918d4f8cbe57d2f5f330ab7b29329dcc17dd3605fe0904005b1c5009be77ee5ac6e2739b8baaf0fadaa5b
diff --git a/lxqt-base/liblxqt/liblxqt-1.0.0.ebuild b/lxqt-base/liblxqt/liblxqt-1.0.0.ebuild
new file mode 100644
index 000000000000..b3fc0d901392
--- /dev/null
+++ b/lxqt-base/liblxqt/liblxqt-1.0.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Common base library for the LXQt desktop environment"
+HOMEPAGE="https://lxqt.github.io/"
+
+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 ~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.10.0
+"
+DEPEND="
+ >=dev-libs/libqtxdg-3.8.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
+}