Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxqt-base/lxqt-config/
Date: Fri, 21 Jan 2022 19:07:20
Message-Id: 1642792005.6ffc41f37b9245097f120e589051671d4f85957e.sam@gentoo
1 commit: 6ffc41f37b9245097f120e589051671d4f85957e
2 Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
3 AuthorDate: Sat Nov 6 12:49:20 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 19:06:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffc41f3
7
8 lxqt-base/lxqt-config: version bump to 1.0.0
9
10 Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 lxqt-base/lxqt-config/Manifest | 1 +
14 lxqt-base/lxqt-config/lxqt-config-1.0.0.ebuild | 71 ++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest
18 index 28c402935a68..3f0eadb0c02c 100644
19 --- a/lxqt-base/lxqt-config/Manifest
20 +++ b/lxqt-base/lxqt-config/Manifest
21 @@ -1 +1,2 @@
22 DIST lxqt-config-0.17.1.tar.xz 339184 BLAKE2B cdb2852801b4af141213dbe680f5d9ccf4bf3738ee6c39e4df7e7915ee74209d4516d4ca2675176f31b4fa7afc4c3907ac71afe1d2a88ce39d8831dfc62946ad SHA512 2173acd18ffa5aeee9d11bd73955d0475b53a335df7d95523a2297b5ef3f9a8e4e135a290e7a720a227a92c84532a64d9fbc7a811de242dd32f9e70d036d3ca6
23 +DIST lxqt-config-1.0.0.tar.xz 355616 BLAKE2B 6f3ca379978c3bc52bff759b7290dbbb0a6d4376161dd8ec7d34212594b51e4380509e92f27b75f4e99e8844452e3fb9ebb17a2fc3de36c625f6ef5823a09ff6 SHA512 cb544ae4635913d693a634a675a769b5ffcae9eb542507e5c6166a85558409302e56753ffac16a2299b613313d11c5f310e530cc7b801393b6f124542245c88e
24
25 diff --git a/lxqt-base/lxqt-config/lxqt-config-1.0.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-1.0.0.ebuild
26 new file mode 100644
27 index 000000000000..171030acc260
28 --- /dev/null
29 +++ b/lxqt-base/lxqt-config/lxqt-config-1.0.0.ebuild
30 @@ -0,0 +1,71 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +MY_PV="$(ver_cut 1-2)"
37 +
38 +inherit cmake xdg-utils
39 +
40 +DESCRIPTION="LXQt system configuration control center"
41 +HOMEPAGE="https://lxqt-project.org/"
42 +
43 +if [[ ${PV} = *9999* ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
46 +else
47 + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
48 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
49 +fi
50 +
51 +LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2"
52 +SLOT="0"
53 +IUSE="+monitor +touchpad"
54 +
55 +BDEPEND="
56 + >=dev-qt/linguist-tools-5.15:5
57 +"
58 +DEPEND="
59 + >=dev-libs/libqtxdg-3.3.1
60 + >=dev-qt/qtcore-5.15:5
61 + >=dev-qt/qtgui-5.15:5
62 + >=dev-qt/qtwidgets-5.15:5
63 + >=dev-qt/qtsvg-5.15:5
64 + >=dev-qt/qtx11extras-5.15:5
65 + >=dev-qt/qtxml-5.15:5
66 + =lxqt-base/liblxqt-${MY_PV}*:=
67 + sys-libs/zlib:=
68 + x11-apps/setxkbmap
69 + x11-libs/libxcb:=
70 + x11-libs/libX11
71 + x11-libs/libXcursor
72 + x11-libs/libXfixes
73 + monitor? ( kde-plasma/libkscreen:5= )
74 + touchpad? (
75 + virtual/libudev:=
76 + x11-drivers/xf86-input-libinput
77 + x11-libs/libXi
78 + )
79 +"
80 +RDEPEND="${DEPEND}"
81 +
82 +src_configure() {
83 + local mycmakeargs=(
84 + -DWITH_MONITOR=$(usex monitor)
85 + -DWITH_TOUCHPAD=$(usex touchpad)
86 + )
87 + cmake_src_configure
88 +}
89 +
90 +src_install() {
91 + cmake_src_install
92 + doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1
93 +}
94 +
95 +pkg_postinst() {
96 + xdg_icon_cache_update
97 +}
98 +
99 +pkg_postrm() {
100 + xdg_icon_cache_update
101 +}