Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxqt-base/lxqt-config/
Date: Sun, 18 Apr 2021 05:09:24
Message-Id: 1618722034.466f7fb19d4a560757c41d5ab1737f256e60c503.juippis@gentoo
1 commit: 466f7fb19d4a560757c41d5ab1737f256e60c503
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 16:39:23 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 05:00:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466f7fb1
7
8 lxqt-base/lxqt-config: add version 0.17.1
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 lxqt-base/lxqt-config/Manifest | 1 +
15 lxqt-base/lxqt-config/lxqt-config-0.17.1.ebuild | 72 +++++++++++++++++++++++++
16 2 files changed, 73 insertions(+)
17
18 diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest
19 index 6cae85a7f41..0c9f5334646 100644
20 --- a/lxqt-base/lxqt-config/Manifest
21 +++ b/lxqt-base/lxqt-config/Manifest
22 @@ -1 +1,2 @@
23 DIST lxqt-config-0.16.1.tar.xz 327652 BLAKE2B b242aeea758b8dc2804c9ebd4abd9a0ab98d92e7e6620646c90a78ca60238ef0e62e823eac3e226fdd05ddc431e271551ecf34281467a9db03fe5195a2f3e293 SHA512 3322611b74a945b2c4aa60a179fc1edabd09e474502f44e7a0319478a09762ff7a11fbb7603aa26ec8ea593514bbcdfc98fb475009d0dfa4d387963fcdef7e03
24 +DIST lxqt-config-0.17.1.tar.xz 339184 BLAKE2B cdb2852801b4af141213dbe680f5d9ccf4bf3738ee6c39e4df7e7915ee74209d4516d4ca2675176f31b4fa7afc4c3907ac71afe1d2a88ce39d8831dfc62946ad SHA512 2173acd18ffa5aeee9d11bd73955d0475b53a335df7d95523a2297b5ef3f9a8e4e135a290e7a720a227a92c84532a64d9fbc7a811de242dd32f9e70d036d3ca6
25
26 diff --git a/lxqt-base/lxqt-config/lxqt-config-0.17.1.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.17.1.ebuild
27 new file mode 100644
28 index 00000000000..7dc8f7f7264
29 --- /dev/null
30 +++ b/lxqt-base/lxqt-config/lxqt-config-0.17.1.ebuild
31 @@ -0,0 +1,72 @@
32 +# Copyright 1999-2021 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.9.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 +
84 +src_configure() {
85 + local mycmakeargs=(
86 + -DWITH_MONITOR=$(usex monitor)
87 + -DWITH_TOUCHPAD=$(usex touchpad)
88 + )
89 + cmake_src_configure
90 +}
91 +
92 +src_install() {
93 + cmake_src_install
94 + doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1
95 +}
96 +
97 +pkg_postinst() {
98 + xdg_icon_cache_update
99 +}
100 +
101 +pkg_postrm() {
102 + xdg_icon_cache_update
103 +}