1 |
commit: 98e9711e2c6f9b3734a7f94a0e948e8c8437b103 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 5 14:29:37 2020 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 5 15:23:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e9711e |
7 |
|
8 |
net-irc/quassel: Migrate to cmake eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Johannes Huber <johu <AT> gentoo.org> |
12 |
|
13 |
net-irc/quassel/quassel-9999.ebuild | 41 +++++++++++++++++++------------------ |
14 |
1 file changed, 21 insertions(+), 20 deletions(-) |
15 |
|
16 |
diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild |
17 |
index fa495dec64e..9d41834c0c2 100644 |
18 |
--- a/net-irc/quassel/quassel-9999.ebuild |
19 |
+++ b/net-irc/quassel/quassel-9999.ebuild |
20 |
@@ -1,14 +1,14 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
-inherit cmake-utils gnome2-utils pax-utils systemd user |
29 |
+inherit cmake gnome2-utils pax-utils systemd user |
30 |
|
31 |
if [[ ${PV} != *9999* ]]; then |
32 |
MY_P=${PN}-${PV/_/-} |
33 |
SRC_URI="https://quassel-irc.org/pub/${MY_P}.tar.bz2" |
34 |
- KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~sparc-solaris" |
35 |
+ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~sparc-solaris" |
36 |
S="${WORKDIR}/${MY_P}" |
37 |
else |
38 |
EGIT_REPO_URI=( "https://github.com/${PN}/${PN}" "git://git.${PN}-irc.org/${PN}" ) |
39 |
@@ -22,15 +22,15 @@ SLOT="0" |
40 |
IUSE="bundled-icons crypt +dbus debug kde ldap monolithic oxygen postgres +server |
41 |
snorenotify +ssl syslog urlpreview X" |
42 |
|
43 |
-SERVER_RDEPEND=" |
44 |
- crypt? ( app-crypt/qca:2[qt5(+),ssl] ) |
45 |
+SERVER_DEPEND=" |
46 |
+ crypt? ( app-crypt/qca:2[ssl] ) |
47 |
ldap? ( net-nds/openldap ) |
48 |
postgres? ( dev-qt/qtsql:5[postgres] ) |
49 |
!postgres? ( dev-qt/qtsql:5[sqlite] dev-db/sqlite:3[threadsafe(+),-secure-delete] ) |
50 |
syslog? ( virtual/logger ) |
51 |
" |
52 |
|
53 |
-GUI_RDEPEND=" |
54 |
+GUI_DEPEND=" |
55 |
dev-qt/qtgui:5 |
56 |
dev-qt/qtmultimedia:5 |
57 |
dev-qt/qtwidgets:5 |
58 |
@@ -39,7 +39,7 @@ GUI_RDEPEND=" |
59 |
oxygen? ( kde-frameworks/oxygen-icons:5 ) |
60 |
) |
61 |
dbus? ( |
62 |
- >=dev-libs/libdbusmenu-qt-0.9.3_pre20140619[qt5(+)] |
63 |
+ >=dev-libs/libdbusmenu-qt-0.9.3_pre20140619 |
64 |
dev-qt/qtdbus:5 |
65 |
) |
66 |
kde? ( |
67 |
@@ -56,20 +56,21 @@ GUI_RDEPEND=" |
68 |
urlpreview? ( dev-qt/qtwebengine:5[widgets] ) |
69 |
" |
70 |
|
71 |
-RDEPEND=" |
72 |
+DEPEND=" |
73 |
dev-qt/qtcore:5 |
74 |
dev-qt/qtnetwork:5[ssl?] |
75 |
sys-libs/zlib |
76 |
monolithic? ( |
77 |
- ${SERVER_RDEPEND} |
78 |
- ${GUI_RDEPEND} |
79 |
+ ${SERVER_DEPEND} |
80 |
+ ${GUI_DEPEND} |
81 |
) |
82 |
!monolithic? ( |
83 |
- server? ( ${SERVER_RDEPEND} ) |
84 |
- X? ( ${GUI_RDEPEND} ) |
85 |
+ server? ( ${SERVER_DEPEND} ) |
86 |
+ X? ( ${GUI_DEPEND} ) |
87 |
) |
88 |
" |
89 |
-DEPEND="${RDEPEND} |
90 |
+RDEPEND="${DEPEND}" |
91 |
+BDEPEND=" |
92 |
dev-qt/linguist-tools:5 |
93 |
kde-frameworks/extra-cmake-modules |
94 |
" |
95 |
@@ -105,27 +106,27 @@ src_configure() { |
96 |
-DEMBED_DATA=OFF |
97 |
-DWITH_WEBKIT=OFF |
98 |
-DWITH_BUNDLED_ICONS=$(usex bundled-icons) |
99 |
- $(cmake-utils_use_find_package dbus dbusmenu-qt5) |
100 |
- $(cmake-utils_use_find_package dbus Qt5DBus) |
101 |
+ $(cmake_use_find_package dbus dbusmenu-qt5) |
102 |
+ $(cmake_use_find_package dbus Qt5DBus) |
103 |
-DWITH_KDE=$(usex kde) |
104 |
-DWITH_LDAP=$(usex ldap) |
105 |
-DWANT_MONO=$(usex monolithic) |
106 |
-DWITH_OXYGEN_ICONS=$(usex oxygen) |
107 |
-DWANT_CORE=$(usex server) |
108 |
- $(cmake-utils_use_find_package snorenotify LibsnoreQt5) |
109 |
+ $(cmake_use_find_package snorenotify LibsnoreQt5) |
110 |
-DWITH_WEBENGINE=$(usex urlpreview) |
111 |
-DWANT_QTCLIENT=$(usex X) |
112 |
) |
113 |
|
114 |
if use server || use monolithic; then |
115 |
- mycmakeargs+=( $(cmake-utils_use_find_package crypt QCA2-QT5) ) |
116 |
+ mycmakeargs+=( $(cmake_use_find_package crypt QCA2-QT5) ) |
117 |
fi |
118 |
|
119 |
- cmake-utils_src_configure |
120 |
+ cmake_src_configure |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
- cmake-utils_src_install |
125 |
+ cmake_src_install |
126 |
|
127 |
if use server ; then |
128 |
# needs PAX marking wrt bug#346255 |