1 |
commit: 555fd897fb19988b62d61ba8be2c3b935ba414d7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 18:24:54 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 23 20:26:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=555fd897 |
7 |
|
8 |
x11-themes/qtcurve: Add 1.9.0_p20210412 snapshot for testing |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
x11-themes/qtcurve/metadata.xml | 19 ++++++ |
14 |
x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild | 79 +++++++++++++++++++++++ |
15 |
2 files changed, 98 insertions(+) |
16 |
|
17 |
diff --git a/x11-themes/qtcurve/metadata.xml b/x11-themes/qtcurve/metadata.xml |
18 |
new file mode 100644 |
19 |
index 0000000000..1b69f0ae30 |
20 |
--- /dev/null |
21 |
+++ b/x11-themes/qtcurve/metadata.xml |
22 |
@@ -0,0 +1,19 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>polynomial-c@g.o</email> |
28 |
+ <name>Lars Wendler</name> |
29 |
+ </maintainer> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>qt@g.o</email> |
32 |
+ <name>Gentoo Qt Project</name> |
33 |
+ </maintainer> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>kde@g.o</email> |
36 |
+ <name>Gentoo KDE Project</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <remote-id type="github">QtCurve/qtcurve</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild |
44 |
new file mode 100644 |
45 |
index 0000000000..7663542706 |
46 |
--- /dev/null |
47 |
+++ b/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild |
48 |
@@ -0,0 +1,79 @@ |
49 |
+# Copyright 1999-2021 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=7 |
53 |
+ |
54 |
+KDE_ORG_COMMIT=be78a85b627e90d854da0de1049e8f191e67f228 |
55 |
+inherit cmake kde.org |
56 |
+ |
57 |
+DESCRIPTION="Widget styles for Qt and GTK2" |
58 |
+HOMEPAGE="https://invent.kde.org/system/qtcurve" |
59 |
+ |
60 |
+LICENSE="LGPL-2+" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
63 |
+IUSE="gtk nls plasma +qt5 test +X" |
64 |
+ |
65 |
+REQUIRED_USE="gtk? ( X ) |
66 |
+ || ( gtk qt5 ) |
67 |
+ plasma? ( qt5 ) |
68 |
+" |
69 |
+ |
70 |
+BDEPEND=" |
71 |
+ virtual/pkgconfig |
72 |
+ nls? ( sys-devel/gettext ) |
73 |
+ plasma? ( kde-frameworks/extra-cmake-modules:5 ) |
74 |
+" |
75 |
+DEPEND=" |
76 |
+ gtk? ( x11-libs/gtk+:2 ) |
77 |
+ plasma? ( |
78 |
+ dev-qt/qtprintsupport:5 |
79 |
+ kde-frameworks/frameworkintegration:5 |
80 |
+ kde-frameworks/karchive:5 |
81 |
+ kde-frameworks/kcompletion:5 |
82 |
+ kde-frameworks/kconfig:5 |
83 |
+ kde-frameworks/kconfigwidgets:5 |
84 |
+ kde-frameworks/kcoreaddons:5 |
85 |
+ kde-frameworks/kguiaddons:5 |
86 |
+ kde-frameworks/ki18n:5 |
87 |
+ kde-frameworks/kiconthemes:5 |
88 |
+ kde-frameworks/kio:5 |
89 |
+ kde-frameworks/kwidgetsaddons:5 |
90 |
+ kde-frameworks/kwindowsystem:5 |
91 |
+ kde-frameworks/kxmlgui:5 |
92 |
+ ) |
93 |
+ qt5? ( |
94 |
+ dev-qt/qtcore:5 |
95 |
+ dev-qt/qtdbus:5 |
96 |
+ dev-qt/qtgui:5 |
97 |
+ dev-qt/qtsvg:5 |
98 |
+ dev-qt/qtwidgets:5 |
99 |
+ X? ( dev-qt/qtx11extras:5 ) |
100 |
+ ) |
101 |
+ X? ( |
102 |
+ x11-libs/libX11 |
103 |
+ x11-libs/libxcb |
104 |
+ ) |
105 |
+" |
106 |
+RDEPEND="${DEPEND}" |
107 |
+ |
108 |
+RESTRICT+=" test" |
109 |
+ |
110 |
+DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) |
111 |
+ |
112 |
+src_configure() { |
113 |
+ local mycmakeargs=( |
114 |
+ -DLIB_INSTALL_DIR="$(get_libdir)" |
115 |
+ -DENABLE_QT4=OFF |
116 |
+ -DQTC_QT4_ENABLE_KDE=OFF |
117 |
+ -DQTC_KDE4_DEFAULT_HOME=ON |
118 |
+ -DENABLE_GTK2="$(usex gtk)" |
119 |
+ -DENABLE_QT5="$(usex qt5)" |
120 |
+ -DBUILD_TESTING="$(usex test)" |
121 |
+ -DQTC_ENABLE_X11="$(usex X)" |
122 |
+ -DQTC_INSTALL_PO="$(usex nls)" |
123 |
+ -DQTC_QT5_ENABLE_KDE="$(usex plasma)" |
124 |
+ ) |
125 |
+ |
126 |
+ cmake_src_configure |
127 |
+} |