summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-04-17 21:15:42 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-06-15 00:48:30 +0300
commit0d4a8adcb6bc76e18ce5ea2a20dc9357ca13c94e (patch)
tree91f29ca29adf039bbcd155da06bbb46078251a6c /lxqt-base/lxqt-session
parentlxqt-base/lxqt-runner: add version 2.0.0 (diff)
downloadgentoo-0d4a8adcb6bc76e18ce5ea2a20dc9357ca13c94e.tar.gz
gentoo-0d4a8adcb6bc76e18ce5ea2a20dc9357ca13c94e.tar.bz2
gentoo-0d4a8adcb6bc76e18ce5ea2a20dc9357ca13c94e.zip
lxqt-base/lxqt-session: add version 2.0.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base/lxqt-session')
-rw-r--r--lxqt-base/lxqt-session/Manifest1
-rw-r--r--lxqt-base/lxqt-session/lxqt-session-2.0.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest
index 2a99d1866033..a4620df94097 100644
--- a/lxqt-base/lxqt-session/Manifest
+++ b/lxqt-base/lxqt-session/Manifest
@@ -1,2 +1,3 @@
DIST lxqt-session-1.3.0.tar.xz 186860 BLAKE2B 7b52f82f2d4bc75bf03e7d2e3456797238ea91856088b2e39f8b5caa4f4f55ab92292e875d3aeb845e96e98435936a1fb0bf6db1c1d04091f5df80d75745bb22 SHA512 4ad358ad8a01fe6df697cb4dc19abee7ed9b37dce13022e2fc1b309a5adbb942c69fc4de401fbc16e51394d38482a98bf2f5ebcc0a64194e03bd714691ad96db
DIST lxqt-session-1.4.0.tar.xz 188324 BLAKE2B 508509a783f747c3dd72984264056466d8f9ef901b4a7731fbecca575951c528231cdb71a799ab7d617ed86c29d9026d9feb8fbb2b795a39958c1948d75812c2 SHA512 4f5731969582222eef9d0d2f2b37c4a160c3c6469f3a16cb4b1804ba76a9320d36b0ed91cada6ee905339ed8cfbd443851804086d978424c4d79045cc90e1629
+DIST lxqt-session-2.0.0.tar.xz 194480 BLAKE2B 18954f9d440ad8a553b9ccf0aa6bb28a971e7d2010a5b8f0dc32080d5829654bdbc5dd5bd292a0285b1e75af4e0cb0fe4585061e86814c0976c69824015719b4 SHA512 c0b8bbcb666b55b0218bfe1e6669fff0de44a89986dae9afb17ae169e13a2816ef56e62d0b9210449023113a8066d45ccef4fa54b0a5c08c60c2ca4311f142ed
diff --git a/lxqt-base/lxqt-session/lxqt-session-2.0.0.ebuild b/lxqt-base/lxqt-session/lxqt-session-2.0.0.ebuild
new file mode 100644
index 000000000000..e189a951d7d1
--- /dev/null
+++ b/lxqt-base/lxqt-session/lxqt-session-2.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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"
+fi
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+IUSE="+udev"
+
+BDEPEND="
+ >=dev-qt/qttools-6.6:6[linguist]
+ >=dev-util/lxqt-build-tools-2.0.0
+"
+DEPEND="
+ >=app-misc/qtxdg-tools-4.0.0
+ >=dev-libs/libqtxdg-4.0.0
+ >=dev-qt/qtbase-6.6:6[dbus,gui,widgets]
+ kde-frameworks/kwindowsystem:6[X]
+ kde-plasma/layer-shell-qt:6
+ =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_
+}