1 |
commit: 1cb8ef057c0218877c9f9d96cbb2fbd0eaf480b9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 5 18:03:42 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 5 18:03:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1cb8ef05 |
7 |
|
8 |
kde-plasma/oxygen: Drop USE=qt4, flag-o-matic and multibuild eclasses |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
kde-plasma/oxygen/oxygen-9999.ebuild | 59 ++++-------------------------------- |
13 |
1 file changed, 6 insertions(+), 53 deletions(-) |
14 |
|
15 |
diff --git a/kde-plasma/oxygen/oxygen-9999.ebuild b/kde-plasma/oxygen/oxygen-9999.ebuild |
16 |
index 80ce89acaf..d6545588f4 100644 |
17 |
--- a/kde-plasma/oxygen/oxygen-9999.ebuild |
18 |
+++ b/kde-plasma/oxygen/oxygen-9999.ebuild |
19 |
@@ -3,12 +3,12 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-inherit flag-o-matic kde5 multibuild |
24 |
+inherit kde5 |
25 |
|
26 |
DESCRIPTION="Oxygen visual style for the Plasma desktop" |
27 |
HOMEPAGE="https://cgit.kde.org/oxygen.git" |
28 |
KEYWORDS="" |
29 |
-IUSE="qt4 wayland" |
30 |
+IUSE="wayland" |
31 |
|
32 |
COMMON_DEPEND=" |
33 |
$(add_frameworks_dep frameworkintegration) |
34 |
@@ -28,66 +28,19 @@ COMMON_DEPEND=" |
35 |
$(add_qt_dep qtwidgets) |
36 |
$(add_qt_dep qtx11extras) |
37 |
x11-libs/libxcb |
38 |
- qt4? ( |
39 |
- >=dev-qt/qtcore-4.8.7-r2:4 |
40 |
- >=dev-qt/qtdbus-4.8.7:4 |
41 |
- >=dev-qt/qtgui-4.8.7:4 |
42 |
- kde-frameworks/kdelibs:4 |
43 |
- x11-libs/libX11 |
44 |
- ) |
45 |
wayland? ( $(add_frameworks_dep kwayland) ) |
46 |
" |
47 |
DEPEND="${COMMON_DEPEND} |
48 |
$(add_frameworks_dep kservice) |
49 |
- qt4? ( |
50 |
- dev-util/automoc:0 |
51 |
- virtual/pkgconfig |
52 |
- ) |
53 |
" |
54 |
RDEPEND="${COMMON_DEPEND} |
55 |
$(add_plasma_dep kde-cli-tools) |
56 |
- qt4? ( |
57 |
- !kde-plasma/kstyles:4 |
58 |
- !kde-plasma/liboxygenstyle:4 |
59 |
- ) |
60 |
!kde-plasma/kdebase-cursors:4 |
61 |
" |
62 |
|
63 |
-pkg_setup() { |
64 |
- kde5_pkg_setup |
65 |
- MULTIBUILD_VARIANTS=( kf5 $(usev qt4) ) |
66 |
-} |
67 |
- |
68 |
src_configure() { |
69 |
- myconfigure() { |
70 |
- local mycmakeargs=() |
71 |
- |
72 |
- if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then |
73 |
- use debug || append-cppflags -DQT_NO_DEBUG |
74 |
- mycmakeargs+=( |
75 |
- -DUSE_KDE4=true |
76 |
- -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
77 |
- ) |
78 |
- cmake-utils_src_configure |
79 |
- else |
80 |
- mycmakeargs+=( |
81 |
- $(cmake-utils_use_find_package wayland KF5Wayland) |
82 |
- ) |
83 |
- kde5_src_configure |
84 |
- fi |
85 |
- } |
86 |
- |
87 |
- multibuild_foreach_variant myconfigure |
88 |
-} |
89 |
- |
90 |
-src_compile() { |
91 |
- multibuild_foreach_variant kde5_src_compile |
92 |
-} |
93 |
- |
94 |
-src_test() { |
95 |
- multibuild_foreach_variant kde5_src_test |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- multibuild_foreach_variant kde5_src_install |
100 |
+ local mycmakeargs=( |
101 |
+ $(cmake-utils_use_find_package wayland KF5Wayland) |
102 |
+ ) |
103 |
+ kde5_src_configure |
104 |
} |