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: Sat, 02 Nov 2019 22:41:19
Message-Id: 1572734459.1f5f1f0b63dbc5ebefe091150330120863a45034.asturm@gentoo
1 commit: 1f5f1f0b63dbc5ebefe091150330120863a45034
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 31 21:40:30 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 22:40:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5f1f0b
7
8 lxqt-base/lxqt-config: add a missing dependency
9
10 The 'x11-libs/libXi' package is needed when USE="touchpad".
11
12 Package-Manager: Portage-2.3.78, Repoman-2.3.17
13 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
14 Closes: https://github.com/gentoo/gentoo/pull/13511
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild | 74 ++++++++++++++++++++++
18 1 file changed, 74 insertions(+)
19
20 diff --git a/lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild
21 new file mode 100644
22 index 00000000000..263309fa6e7
23 --- /dev/null
24 +++ b/lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild
25 @@ -0,0 +1,74 @@
26 +# Copyright 1999-2019 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +inherit cmake-utils xdg-utils
32 +
33 +DESCRIPTION="LXQt system configuration control center"
34 +HOMEPAGE="https://lxqt.org/"
35 +
36 +if [[ ${PV} = *9999* ]]; then
37 + inherit git-r3
38 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
39 +else
40 + SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz"
41 + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
42 +fi
43 +
44 +LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2"
45 +SLOT="0"
46 +IUSE="+monitor +touchpad"
47 +
48 +BDEPEND="
49 + dev-qt/linguist-tools:5
50 + >=dev-util/lxqt-build-tools-0.6.0
51 +"
52 +DEPEND="
53 + >=dev-libs/libqtxdg-3.3.1
54 + dev-qt/qtcore:5
55 + dev-qt/qtdbus:5
56 + dev-qt/qtgui:5
57 + dev-qt/qtwidgets:5
58 + dev-qt/qtx11extras:5
59 + dev-qt/qtxml:5
60 + kde-frameworks/kwindowsystem:5
61 + =lxqt-base/liblxqt-$(ver_cut 1-2)*
62 + sys-libs/zlib:=
63 + x11-apps/setxkbmap
64 + x11-libs/libxcb:=
65 + x11-libs/libX11
66 + x11-libs/libXcursor
67 + x11-libs/libXfixes
68 + monitor? ( kde-plasma/libkscreen:5= )
69 + touchpad? (
70 + virtual/libudev
71 + x11-drivers/xf86-input-libinput
72 + x11-libs/libXext
73 + x11-libs/libXi
74 + )
75 +"
76 +RDEPEND="${DEPEND}
77 + !lxqt-base/lxqt-l10n
78 +"
79 +
80 +src_configure() {
81 + local mycmakeargs=(
82 + -DWITH_MONITOR="$(usex monitor)"
83 + -DWITH_TOUCHPAD="$(usex touchpad)"
84 + )
85 + cmake-utils_src_configure
86 +}
87 +
88 +src_install() {
89 + cmake-utils_src_install
90 + doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1
91 +}
92 +
93 +pkg_postinst() {
94 + xdg_icon_cache_update
95 +}
96 +
97 +pkg_postrm() {
98 + xdg_icon_cache_update
99 +}