Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxqt-base/lxqt-config/
Date: Wed, 20 May 2020 23:28:57
Message-Id: 1590017309.356e16f0fd1f48bb3831152afca45ae07309abff.asturm@gentoo
1 commit: 356e16f0fd1f48bb3831152afca45ae07309abff
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 18:41:59 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 23:28:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356e16f0
7
8 lxqt-base/lxqt-config: add version 0.15.0
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 lxqt-base/lxqt-config/Manifest | 1 +
15 lxqt-base/lxqt-config/lxqt-config-0.15.0.ebuild | 74 +++++++++++++++++++++++++
16 2 files changed, 75 insertions(+)
17
18 diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest
19 index 703c24268e9..b4d0b6dbfc0 100644
20 --- a/lxqt-base/lxqt-config/Manifest
21 +++ b/lxqt-base/lxqt-config/Manifest
22 @@ -1 +1,2 @@
23 DIST lxqt-config-0.14.1.tar.xz 293304 BLAKE2B f090d7878815edc4f3f0078301a099ffc8ff57865516a9097db75faa1627af33c60d76b75cef8a7da5e9e790869e6768f54c3b17c59b038578f22d645c3c22fd SHA512 747644f8e0623cb2e8eadda57c7307387423152a089d5b423b06650fbf235371764a26e82363cbee9db5c1145e3fdb754e6ecdcf0930dccec375dda424c8b13f
24 +DIST lxqt-config-0.15.0.tar.xz 312468 BLAKE2B 2b3eb43141f3b46996b785b7cd19b709028c8cecc455a63578c93a9ae580148bc35df1192591bf0fdb5584d2cf66f589dbdde0d43c6848dda263d1f0b80e8c59 SHA512 68dc8ecc38033a7a93167fb0afbe45b3e14eb1132c3faf3395ebed1fc96b5836e8db003ecffde0417dfaf9e73b70fcc69a06523319f1f858cd2020eb61113a0d
25
26 diff --git a/lxqt-base/lxqt-config/lxqt-config-0.15.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.15.0.ebuild
27 new file mode 100644
28 index 00000000000..833ebd052b1
29 --- /dev/null
30 +++ b/lxqt-base/lxqt-config/lxqt-config-0.15.0.ebuild
31 @@ -0,0 +1,74 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake xdg-utils
38 +
39 +DESCRIPTION="LXQt system configuration control center"
40 +HOMEPAGE="https://lxqt.github.io/"
41 +
42 +if [[ ${PV} = *9999* ]]; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
45 +else
46 + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
47 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
48 +fi
49 +
50 +LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2"
51 +SLOT="0"
52 +IUSE="+monitor +touchpad"
53 +
54 +BDEPEND="
55 + dev-qt/linguist-tools:5
56 + >=dev-util/lxqt-build-tools-0.7.0
57 +"
58 +DEPEND="
59 + >=dev-libs/libqtxdg-3.3.1
60 + dev-qt/qtcore:5
61 + dev-qt/qtdbus:5
62 + dev-qt/qtgui:5
63 + dev-qt/qtwidgets:5
64 + dev-qt/qtx11extras:5
65 + dev-qt/qtxml:5
66 + kde-frameworks/kwindowsystem:5
67 + =lxqt-base/liblxqt-$(ver_cut 1-2)*
68 + sys-libs/zlib:=
69 + x11-apps/setxkbmap
70 + x11-libs/libxcb:=
71 + x11-libs/libX11
72 + x11-libs/libXcursor
73 + x11-libs/libXfixes
74 + monitor? ( kde-plasma/libkscreen:5= )
75 + touchpad? (
76 + virtual/libudev
77 + x11-drivers/xf86-input-libinput
78 + x11-libs/libXext
79 + x11-libs/libXi
80 + )
81 +"
82 +RDEPEND="${DEPEND}
83 + !lxqt-base/lxqt-l10n
84 +"
85 +
86 +src_configure() {
87 + local mycmakeargs=(
88 + -DWITH_MONITOR=$(usex monitor)
89 + -DWITH_TOUCHPAD=$(usex touchpad)
90 + )
91 + cmake_src_configure
92 +}
93 +
94 +src_install() {
95 + cmake_src_install
96 + doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1
97 +}
98 +
99 +pkg_postinst() {
100 + xdg_icon_cache_update
101 +}
102 +
103 +pkg_postrm() {
104 + xdg_icon_cache_update
105 +}