summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2021-04-16 19:55:20 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-04-18 08:00:34 +0300
commit99c947ffbfb9effb125c26855a1fb99a49ac02b4 (patch)
tree0447415435785666fbeb96a91cc3ee5dd3fe0848 /lxqt-base/lxqt-session
parentlxqt-base/lxqt-panel: add version 0.17.1 (diff)
downloadgentoo-99c947ffbfb9effb125c26855a1fb99a49ac02b4.tar.gz
gentoo-99c947ffbfb9effb125c26855a1fb99a49ac02b4.tar.bz2
gentoo-99c947ffbfb9effb125c26855a1fb99a49ac02b4.zip
lxqt-base/lxqt-session: add version 0.17.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Joonas Niilola <juippis@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-0.17.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest
index 47e9a09e90da..bf582a8ae6da 100644
--- a/lxqt-base/lxqt-session/Manifest
+++ b/lxqt-base/lxqt-session/Manifest
@@ -1 +1,2 @@
DIST lxqt-session-0.16.0.tar.xz 180084 BLAKE2B 28329a4d28e6f9fd310953053d2169fa50c340557137dfcc627b8d650f32f4d09b80abde9601777d5a455f5387621f93de63908e6ea3c0d4340aab6a4757b9d4 SHA512 ce15b985ac5b11c16f58ba893ee7045aeb4f47fc77c7215a4d4ac0b782ebccf8e8f726d0c463638a5ec0101915ee367cb7d714035c1ea3057c5f3d9b7f0fd3c3
+DIST lxqt-session-0.17.0.tar.xz 179028 BLAKE2B 5f5a152f294482cc22e6285b22041eab6769d65f1f8ecccad560187e61827e4aad50a3069ea14044cd77610a4a4d3e23b575a427a4098af946d79d5b24df00a5 SHA512 e3573ee76e5fcf285b0ddd177ae7324f6fee038ea110c950d7054da622bf6615d9ac8715cc0cde6db9034d710933a80c80f14470197d2cc275d48695f74ba7b6
diff --git a/lxqt-base/lxqt-session/lxqt-session-0.17.0.ebuild b/lxqt-base/lxqt-session/lxqt-session-0.17.0.ebuild
new file mode 100644
index 000000000000..67aa60c15a23
--- /dev/null
+++ b/lxqt-base/lxqt-session/lxqt-session-0.17.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="LXQt Session Manager"
+HOMEPAGE="https://lxqt.github.io/"
+
+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 ~x86"
+fi
+
+IUSE="+udev"
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ >=dev-util/lxqt-build-tools-0.9.0
+"
+DEPEND="
+ >=dev-libs/libqtxdg-3.3.1
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ kde-frameworks/kwindowsystem:5[X]
+ =lxqt-base/liblxqt-${MY_PV}
+ 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_
+}