Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/adwaita-qt/
Date: Sun, 27 May 2018 11:40:27
Message-Id: 1527421217.3a8a4b76e7cd2c17159269183bc6e7c2a3eac121.pacho@gentoo
1 commit: 3a8a4b76e7cd2c17159269183bc6e7c2a3eac121
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 27 11:29:39 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 11:40:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8a4b76
7
8 x11-themes/adwaita-qt: Drop QT4 support (#656612)
9
10 Package-Manager: Portage-2.3.38, Repoman-2.3.9
11
12 x11-themes/adwaita-qt/adwaita-qt-1.0-r1.ebuild | 42 ++++++++++++++++++++++++++
13 1 file changed, 42 insertions(+)
14
15 diff --git a/x11-themes/adwaita-qt/adwaita-qt-1.0-r1.ebuild b/x11-themes/adwaita-qt/adwaita-qt-1.0-r1.ebuild
16 new file mode 100644
17 index 00000000000..e01fc3aea41
18 --- /dev/null
19 +++ b/x11-themes/adwaita-qt/adwaita-qt-1.0-r1.ebuild
20 @@ -0,0 +1,42 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit cmake-utils
26 +
27 +DESCRIPTION="A style to bend Qt applications to look like they belong into GNOME Shell"
28 +HOMEPAGE="https://github.com/MartinBriza/adwaita-qt"
29 +SRC_URI="https://github.com/MartinBriza/${PN}/archive/${PV}/${P}.tar.gz"
30 +
31 +KEYWORDS="~amd64 ~x86"
32 +LICENSE="GPL-2 LGPL-2"
33 +SLOT="0"
34 +
35 +IUSE="gnome"
36 +
37 +RDEPEND="
38 + gnome? ( x11-themes/QGnomePlatform )
39 + dev-qt/qtwidgets:5
40 + dev-qt/qtdbus:5
41 +"
42 +DEPEND="${RDEPEND}"
43 +
44 +src_configure() {
45 + BUILD_DIR="${WORKDIR}/${PN}_qt5"
46 + local mycmakeargs=( -DUSE_QT4=OFF )
47 + cmake-utils_src_configure
48 +}
49 +
50 +src_compile() {
51 + local _d
52 + for _d in "${WORKDIR}"/${PN}_qt*; do
53 + cmake-utils_src_compile -C "${_d}"
54 + done
55 +}
56 +
57 +src_install() {
58 + local _d
59 + for _d in "${WORKDIR}"/${PN}_qt*; do
60 + cmake-utils_src_install -C "${_d}"
61 + done
62 +}