summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2022-04-19 00:33:09 +0300
committerSam James <sam@gentoo.org>2022-05-15 00:12:08 +0000
commit2ba38628f437abbff270e4df8393663037e8d7c7 (patch)
tree9d9136faa4defd36145ef12e7b5ed0ca0adbbd8c /lxqt-base
parentlxqt-base/lxqt-panel: add version 1.1.0 (diff)
downloadgentoo-2ba38628f437abbff270e4df8393663037e8d7c7.tar.gz
gentoo-2ba38628f437abbff270e4df8393663037e8d7c7.tar.bz2
gentoo-2ba38628f437abbff270e4df8393663037e8d7c7.zip
lxqt-base/lxqt-session: add version 1.1.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'lxqt-base')
-rw-r--r--lxqt-base/lxqt-session/Manifest1
-rw-r--r--lxqt-base/lxqt-session/lxqt-session-1.1.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest
index 3b378e8db596..f2ac3962d14b 100644
--- a/lxqt-base/lxqt-session/Manifest
+++ b/lxqt-base/lxqt-session/Manifest
@@ -1,2 +1,3 @@
DIST lxqt-session-0.17.0.tar.xz 179028 BLAKE2B 5f5a152f294482cc22e6285b22041eab6769d65f1f8ecccad560187e61827e4aad50a3069ea14044cd77610a4a4d3e23b575a427a4098af946d79d5b24df00a5 SHA512 e3573ee76e5fcf285b0ddd177ae7324f6fee038ea110c950d7054da622bf6615d9ac8715cc0cde6db9034d710933a80c80f14470197d2cc275d48695f74ba7b6
DIST lxqt-session-1.0.1.tar.xz 182644 BLAKE2B 8ca252ceca5f122326337bf465db462ea5c78c970aa050c2a360c40ff882d77e8864ad6e2de97c000a9731aad583a375529824e09abd694baec93c1ca78ef4db SHA512 1f027237fa02a95952c0a42b9aac9ae1f55bb1bc74ceeee52eca2517a16804874639add7e1a130550a22373409012f203928953c14317ec1cbd7f18b238e017e
+DIST lxqt-session-1.1.1.tar.xz 184532 BLAKE2B 6eaa9f15080c527ac325ce4c48eccd4ad7eff108ff6457dcb1cb080b9758147b382cc474b92641d00d0272a88fb0f0955adbd80a35b4f24c864bb4145f26f145 SHA512 a0447fdd3299cc6b82c81bc2767eb690af19326ef0f7c9cf349de368072e7a5eb2bce3e5afd32b1c0f21d3e28a6f2e0eb47d00f76aadbf1651be76b82770a456
diff --git a/lxqt-base/lxqt-session/lxqt-session-1.1.1.ebuild b/lxqt-base/lxqt-session/lxqt-session-1.1.1.ebuild
new file mode 100644
index 000000000000..1708a51d23ee
--- /dev/null
+++ b/lxqt-base/lxqt-session/lxqt-session-1.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="LXQt Session Manager"
+HOMEPAGE="https://lxqt-project.org/"
+
+MY_PV="$(ver_cut 1-2)"
+
+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
+
+IUSE="+udev"
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+
+BDEPEND="
+ >=dev-qt/linguist-tools-5.15:5
+ >=dev-util/lxqt-build-tools-0.11.0
+"
+DEPEND="
+ >=app-misc/qtxdg-tools-3.9.1
+ >=dev-libs/libqtxdg-3.9.1
+ >=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
+ kde-frameworks/kwindowsystem:5[X]
+ =lxqt-base/liblxqt-${MY_PV}*:=
+ sys-process/procps:=
+ x11-libs/libX11
+ x11-misc/xdg-user-dirs
+ udev? ( virtual/libudev:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_LIBUDEV=$(usex udev)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ doman lxqt-config-session/man/*.1 lxqt-session/man/*.1
+
+ newenvd - 91lxqt-config-dir <<- _EOF_
+ XDG_CONFIG_DIRS='${EPREFIX}/usr/share'
+ _EOF_
+}