Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/qtcurve/
Date: Thu, 26 Sep 2019 13:50:51
Message-Id: 1569505837.a58c03b802dc1df729d4271788441fe807937db7.whissi@gentoo
1 commit: a58c03b802dc1df729d4271788441fe807937db7
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 26 13:38:11 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 26 13:50:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58c03b8
7
8 x11-themes/qtcurve: bump to v1.9.1
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 x11-themes/qtcurve/Manifest | 1 +
14 x11-themes/qtcurve/qtcurve-1.9.1.ebuild | 90 +++++++++++++++++++++++++++++++++
15 2 files changed, 91 insertions(+)
16
17 diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest
18 index 69b27ecedfc..99a4caa5150 100644
19 --- a/x11-themes/qtcurve/Manifest
20 +++ b/x11-themes/qtcurve/Manifest
21 @@ -1 +1,2 @@
22 DIST qtcurve-1.9.0.tar.gz 801675 BLAKE2B ed8d490b6e00e527f7da62c1fb676072ed3d75e50e14ae57e7807e7a9bd37f10a7b6b29e062ac05e02507c19be13ac3d003ea240fd00cff27bc74938a216a3e0 SHA512 a158f0880a2dc657e5f14366e046b18f0fe9d9983d1e1b243417f26987f6e69612c83f8b69293ae9036361adf67833b296564750f0f4cc0f405604f628dbff66
23 +DIST qtcurve-1.9.1.tar.gz 800765 BLAKE2B 9becc6a80253f5937e9dcc53578ecf3658bd30beaf9272a200cb0de608b510c6b1ebe5e42f1e035593dd0e88483c19380f38a1e93ca4648c187225804958249e SHA512 27bec62ce0d8c4b0fcfebaf0ee91cea9dcdd97c0ef886175c296909ee790d983ff0661570fd0061851b8ee2ee663cbfac967355375e1b6f02757fdefeac69dd7
24
25 diff --git a/x11-themes/qtcurve/qtcurve-1.9.1.ebuild b/x11-themes/qtcurve/qtcurve-1.9.1.ebuild
26 new file mode 100644
27 index 00000000000..418fc5a6d0f
28 --- /dev/null
29 +++ b/x11-themes/qtcurve/qtcurve-1.9.1.ebuild
30 @@ -0,0 +1,90 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +ECM_KDEINSTALLDIRS="false"
37 +KDE_AUTODEPS="false"
38 +inherit kde5
39 +
40 +DESCRIPTION="Widget styles for Qt and GTK2"
41 +HOMEPAGE="https://cgit.kde.org/qtcurve.git"
42 +
43 +LICENSE="LGPL-2+"
44 +SLOT="0"
45 +IUSE="+X gtk nls plasma +qt5 test"
46 +
47 +if [[ "${PV}" != 9999 ]] ; then
48 + SRC_URI="https://github.com/KDE/qtcurve/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
49 + KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
50 + S="${WORKDIR}/${P/_/-}"
51 +fi
52 +
53 +REQUIRED_USE="gtk? ( X )
54 + || ( gtk qt5 )
55 + plasma? ( qt5 )
56 +"
57 +
58 +BDEPEND="
59 + virtual/pkgconfig
60 + nls? ( sys-devel/gettext )
61 +"
62 +DEPEND="
63 + gtk? ( x11-libs/gtk+:2 )
64 + plasma? (
65 + $(add_frameworks_dep frameworkintegration)
66 + $(add_frameworks_dep karchive)
67 + $(add_frameworks_dep kcompletion)
68 + $(add_frameworks_dep kconfig)
69 + $(add_frameworks_dep kconfigwidgets)
70 + $(add_frameworks_dep kcoreaddons)
71 + $(add_frameworks_dep kdelibs4support)
72 + $(add_frameworks_dep kguiaddons)
73 + $(add_frameworks_dep ki18n)
74 + $(add_frameworks_dep kiconthemes)
75 + $(add_frameworks_dep kio)
76 + $(add_frameworks_dep kwidgetsaddons)
77 + $(add_frameworks_dep kwindowsystem)
78 + $(add_frameworks_dep kxmlgui)
79 + $(add_qt_dep qtprintsupport)
80 + )
81 + qt5? (
82 + $(add_qt_dep qtdbus)
83 + $(add_qt_dep qtgui)
84 + $(add_qt_dep qtsvg)
85 + $(add_qt_dep qtwidgets)
86 + X? ( $(add_qt_dep qtx11extras) )
87 + )
88 + X? (
89 + x11-libs/libX11
90 + x11-libs/libxcb
91 + )
92 +"
93 +RDEPEND="${DEPEND}"
94 +
95 +RESTRICT+=" test"
96 +
97 +DOCS=( AUTHORS ChangeLog.md README.md TODO.md )
98 +
99 +PATCHES=(
100 + "${FILESDIR}/${PN}-1.9.0-build_testing.patch"
101 + "${FILESDIR}/${PN}-1.9.0-no-X-buildfix.patch"
102 + "${FILESDIR}/${PN}-1.9.0-gcc9.patch"
103 + "${FILESDIR}/${PN}-1.9.0-libreoffice-crashfix.patch"
104 +)
105 +
106 +src_configure() {
107 + local mycmakeargs=(
108 + -DLIB_INSTALL_DIR="$(get_libdir)"
109 + -DENABLE_QT4=OFF
110 + -DQTC_QT4_ENABLE_KDE=OFF
111 + -DQTC_KDE4_DEFAULT_HOME=ON
112 + -DENABLE_GTK2="$(usex gtk)"
113 + -DENABLE_QT5="$(usex qt5)"
114 + -DQTC_ENABLE_X11="$(usex X)"
115 + -DQTC_INSTALL_PO="$(usex nls)"
116 + -DQTC_QT5_ENABLE_KDE="$(usex plasma)"
117 + )
118 +
119 + kde5_src_configure
120 +}