1 |
commit: 0087d4b33b4d6fb1443b743be504ab3f79d8d5e6 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 30 21:26:49 2013 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 30 21:26:49 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0087d4b3 |
7 |
|
8 |
[net-im/ktp-accounts-kcm] Make modemmanager support optional. |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
.../ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch | 27 ++++++++++++++++++++++ |
14 |
.../ktp-accounts-kcm/ktp-accounts-kcm-9999.ebuild | 18 +++++++++++---- |
15 |
net-im/ktp-accounts-kcm/metadata.xml | 5 +++- |
16 |
3 files changed, 45 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch b/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch |
19 |
new file mode 100644 |
20 |
index 0000000..54f1534 |
21 |
--- /dev/null |
22 |
+++ b/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch |
23 |
@@ -0,0 +1,27 @@ |
24 |
+commit de71c97def75f047ec0dbaabffb8bc698938e84f |
25 |
+Author: David Edmundson <kde@×××××××××××××××××.uk> |
26 |
+Date: Wed Oct 30 19:19:23 2013 +0100 |
27 |
+ |
28 |
+ Make each plugin optional |
29 |
+ |
30 |
+diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt |
31 |
+index e270078..e752ef1 100644 |
32 |
+--- a/plugins/CMakeLists.txt |
33 |
++++ b/plugins/CMakeLists.txt |
34 |
+@@ -1,8 +1,8 @@ |
35 |
+-add_subdirectory (gabble) |
36 |
+-add_subdirectory (butterfly) |
37 |
+-add_subdirectory (idle) |
38 |
+-add_subdirectory (haze) |
39 |
+-add_subdirectory (rakia) |
40 |
+-add_subdirectory (salut) |
41 |
+-add_subdirectory (sunshine) |
42 |
+-add_subdirectory (pintxo) |
43 |
++macro_optional_add_subdirectory (gabble) |
44 |
++macro_optional_add_subdirectory (butterfly) |
45 |
++macro_optional_add_subdirectory (idle) |
46 |
++macro_optional_add_subdirectory (haze) |
47 |
++macro_optional_add_subdirectory (rakia) |
48 |
++macro_optional_add_subdirectory (salut) |
49 |
++macro_optional_add_subdirectory (sunshine) |
50 |
++macro_optional_add_subdirectory (pintxo) |
51 |
|
52 |
diff --git a/net-im/ktp-accounts-kcm/ktp-accounts-kcm-9999.ebuild b/net-im/ktp-accounts-kcm/ktp-accounts-kcm-9999.ebuild |
53 |
index cde851a..af724e3 100644 |
54 |
--- a/net-im/ktp-accounts-kcm/ktp-accounts-kcm-9999.ebuild |
55 |
+++ b/net-im/ktp-accounts-kcm/ktp-accounts-kcm-9999.ebuild |
56 |
@@ -6,7 +6,7 @@ EAPI=5 |
57 |
|
58 |
KDE_MINIMAL="4.7" |
59 |
KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB eo es et fi fr ga gl hu ia it |
60 |
-ja kk km lt mai mr nb nds nl pl pt pt_BR ro ru sk sl sr sr@ijekavian |
61 |
+ja kk km lt mai mr nb nds nl pa pl pt pt_BR ro ru sk sl sr sr@ijekavian |
62 |
sr@ijekavianlatin sr@latin sv tr ug uk vi wa zh_CN zh_TW" |
63 |
inherit kde4-base |
64 |
|
65 |
@@ -21,13 +21,23 @@ fi |
66 |
|
67 |
LICENSE="LGPL-2.1" |
68 |
SLOT="4" |
69 |
-IUSE="debug" |
70 |
+IUSE="debug modemmanager" |
71 |
|
72 |
DEPEND=" |
73 |
>=net-im/ktp-common-internals-${PV} |
74 |
net-im/telepathy-mission-control |
75 |
net-libs/telepathy-glib |
76 |
>=net-libs/telepathy-qt-0.9.3 |
77 |
+ modemmanager? ( net-libs/libmm-qt ) |
78 |
" |
79 |
-RDEPEND="${DEPEND} |
80 |
-" |
81 |
+RDEPEND="${DEPEND}" |
82 |
+ |
83 |
+PATCHES=( "${FILESDIR}/${PN}-0.7.0-libmm-qt-optional.patch" ) |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local mycmakeargs=( |
87 |
+ $(cmake-utils_use_build modemmanager pintxo) |
88 |
+ ) |
89 |
+ |
90 |
+ kde4-base_src_configure |
91 |
+} |
92 |
|
93 |
diff --git a/net-im/ktp-accounts-kcm/metadata.xml b/net-im/ktp-accounts-kcm/metadata.xml |
94 |
index 8d1e86a..c5ae96e 100644 |
95 |
--- a/net-im/ktp-accounts-kcm/metadata.xml |
96 |
+++ b/net-im/ktp-accounts-kcm/metadata.xml |
97 |
@@ -1,5 +1,8 @@ |
98 |
<?xml version="1.0" encoding="UTF-8"?> |
99 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
100 |
<pkgmetadata> |
101 |
-<herd>kde</herd> |
102 |
+ <herd>kde</herd> |
103 |
+ <use> |
104 |
+ <flag name="modemmanager">Enable support for mobile broadband devices</flag> |
105 |
+ </use> |
106 |
</pkgmetadata> |