commit:     7be51d0ee39b75106e1e35c9b1553dd4cd0caa85
Author:     Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Sat Apr 15 19:05:54 2023 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 22:05:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be51d0e

lxqt-base/lxqt-session: add 1.3.0

Signed-off-by: Michael Vetter <jubalh <AT> iodoru.org>
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 lxqt-base/lxqt-session/Manifest                  |  1 +
 lxqt-base/lxqt-session/lxqt-session-1.3.0.ebuild | 61 ++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest
index ef273b1ea6c1..a0f473be4ff9 100644
--- a/lxqt-base/lxqt-session/Manifest
+++ b/lxqt-base/lxqt-session/Manifest
@@ -1 +1,2 @@
 DIST lxqt-session-1.2.0.tar.xz 185092 BLAKE2B 
625a099628203b3b75ad77490e58dba19c89e1ce9de49006d649e228b1ff74f5a2f4743b35e4ba161737eef6eca42cedcead0e50ea62b9e4a25e3d7680e1c363
 SHA512 
9edbf8ef084ebf5b3fc2e9b30c20d537d1dcefc518428e4367fd4a3ecb9e6a67fb4f8a56def838fb6ff167c481398491de4309f2ad16465bba1bbca1f1b7cf4d
+DIST lxqt-session-1.3.0.tar.xz 186860 BLAKE2B 
7b52f82f2d4bc75bf03e7d2e3456797238ea91856088b2e39f8b5caa4f4f55ab92292e875d3aeb845e96e98435936a1fb0bf6db1c1d04091f5df80d75745bb22
 SHA512 
4ad358ad8a01fe6df697cb4dc19abee7ed9b37dce13022e2fc1b309a5adbb942c69fc4de401fbc16e51394d38482a98bf2f5ebcc0a64194e03bd714691ad96db

diff --git a/lxqt-base/lxqt-session/lxqt-session-1.3.0.ebuild 
b/lxqt-base/lxqt-session/lxqt-session-1.3.0.ebuild
new file mode 100644
index 000000000000..52baaa17be4b
--- /dev/null
+++ b/lxqt-base/lxqt-session/lxqt-session-1.3.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 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 ~loong ~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.13.0
+"
+DEPEND="
+       >=app-misc/qtxdg-tools-3.11.0
+       >=dev-libs/libqtxdg-3.11.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
+       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_
+}

Reply via email to