summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2020-11-05 22:46:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-23 08:11:34 +0100
commit8210da3e454bd08dfa5dcbc0f4553e811da70850 (patch)
treecde58be1f4f80cec33db082143402d539c346450 /lxqt-base
parentlxqt-base/lxqt-panel: add version 0.16.1 (diff)
downloadgentoo-8210da3e454bd08dfa5dcbc0f4553e811da70850.tar.gz
gentoo-8210da3e454bd08dfa5dcbc0f4553e811da70850.tar.bz2
gentoo-8210da3e454bd08dfa5dcbc0f4553e811da70850.zip
lxqt-base/lxqt-session: add version 0.16.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'lxqt-base')
-rw-r--r--lxqt-base/lxqt-session/Manifest1
-rw-r--r--lxqt-base/lxqt-session/lxqt-session-0.16.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest
index bfa151cd351..ba362bd0277 100644
--- a/lxqt-base/lxqt-session/Manifest
+++ b/lxqt-base/lxqt-session/Manifest
@@ -1 +1,2 @@
DIST lxqt-session-0.15.0.tar.xz 181900 BLAKE2B 87a96f832497d235de2b86deb9b66f21bae270906c5fd17d5ea3059f6be1527502423cf55bff7b2fecfd9a881c867791dd603ce9aa1bb29b1ae1b337e05ab529 SHA512 96ef9e58ca25303ac0213f1cb5faee5efddb61ac3705484ac55b39db56c9302ff646e317dbc753b213a5e2ea38818b247244a2be5219fbe6db9e419b8c638591
+DIST lxqt-session-0.16.0.tar.xz 180084 BLAKE2B 28329a4d28e6f9fd310953053d2169fa50c340557137dfcc627b8d650f32f4d09b80abde9601777d5a455f5387621f93de63908e6ea3c0d4340aab6a4757b9d4 SHA512 ce15b985ac5b11c16f58ba893ee7045aeb4f47fc77c7215a4d4ac0b782ebccf8e8f726d0c463638a5ec0101915ee367cb7d714035c1ea3057c5f3d9b7f0fd3c3
diff --git a/lxqt-base/lxqt-session/lxqt-session-0.16.0.ebuild b/lxqt-base/lxqt-session/lxqt-session-0.16.0.ebuild
new file mode 100644
index 00000000000..17b2e85aad2
--- /dev/null
+++ b/lxqt-base/lxqt-session/lxqt-session-0.16.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 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.8.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}
+ !lxqt-base/lxqt-l10n
+"
+
+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_
+}