1 |
commit: 42d72cf66a5e77cd619cd0b16b22fc178520f75a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 28 18:12:58 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 28 18:45:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d72cf6 |
7 |
|
8 |
app-mobilephone/obexftp: 0.24.2 version/EAPI-6 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
app-mobilephone/obexftp/Manifest | 1 + |
13 |
.../files/obexftp-0.24.2-parallel-build.patch | 53 +++++++++++++++++ |
14 |
app-mobilephone/obexftp/obexftp-0.24.2.ebuild | 69 ++++++++++++++++++++++ |
15 |
3 files changed, 123 insertions(+) |
16 |
|
17 |
diff --git a/app-mobilephone/obexftp/Manifest b/app-mobilephone/obexftp/Manifest |
18 |
index 210ebe9869a..393c440c6ca 100644 |
19 |
--- a/app-mobilephone/obexftp/Manifest |
20 |
+++ b/app-mobilephone/obexftp/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST obexftp-0.24-Source.tar.gz 88154 BLAKE2B 6124a59e8e8af555256fb910b1efd3ae630e97e71559fa3d5e488e911251d98f3f4ba543cb88723f0bc561b4753afc9b613410da51d7d8695182cdfb9cbaf7ab SHA512 785449665f5e9269d7bfd15f379bd8fbad321780292e56341e2089d6894255b7301fc23bb27a80e4e6f6317a130b658dedd307b7ece0fd31ef8f1a109c6f21b9 |
23 |
+DIST obexftp-0.24.2-Source.tar.gz 110291 BLAKE2B 7de93f5f5a367481b22b49c7812357ab5f704830c83770378de13f9c4ffb5f114d48beafca193b52670563b397656ec185519a8d004eb1f9785787e8cc5caaff SHA512 91a5d7e52c00bbaf24837384ceadc987a89297e672b246df1370bbd669fae05459281bc46bb60ba562607bfbead321926cdf11422059cd918819d80321e190c2 |
24 |
|
25 |
diff --git a/app-mobilephone/obexftp/files/obexftp-0.24.2-parallel-build.patch b/app-mobilephone/obexftp/files/obexftp-0.24.2-parallel-build.patch |
26 |
new file mode 100644 |
27 |
index 00000000000..78a8a742632 |
28 |
--- /dev/null |
29 |
+++ b/app-mobilephone/obexftp/files/obexftp-0.24.2-parallel-build.patch |
30 |
@@ -0,0 +1,53 @@ |
31 |
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt |
32 |
+index b5c84e4..63af134 100644 |
33 |
+--- a/apps/CMakeLists.txt |
34 |
++++ b/apps/CMakeLists.txt |
35 |
+@@ -5,14 +5,23 @@ add_definitions( -DVERSION="${obexftp_VERSION}" ) |
36 |
+ add_definitions ( -DHAVE_USB ) |
37 |
+ |
38 |
+ add_executable ( obexftp_app obexftp.c ) |
39 |
+-target_link_libraries ( obexftp_app obexftp ) |
40 |
++target_link_libraries ( obexftp_app |
41 |
++ PRIVATE multicobex |
42 |
++ PRIVATE bfb |
43 |
++ obexftp |
44 |
++) |
45 |
+ set_target_properties ( obexftp_app PROPERTIES |
46 |
+ OUTPUT_NAME obexftp |
47 |
+ ) |
48 |
+ |
49 |
+ |
50 |
+ add_executable ( obexftpd_app obexftpd.c ) |
51 |
+-target_link_libraries ( obexftpd_app obexftp openobex ) |
52 |
++target_link_libraries ( obexftpd_app |
53 |
++ PRIVATE multicobex |
54 |
++ PRIVATE bfb |
55 |
++ obexftp |
56 |
++ openobex |
57 |
++) |
58 |
+ set_target_properties ( obexftpd_app PROPERTIES |
59 |
+ OUTPUT_NAME obexftpd |
60 |
+ ) |
61 |
+diff --git a/fuse/CMakeLists.txt b/fuse/CMakeLists.txt |
62 |
+index 0c80d3d..ff5e3cd 100644 |
63 |
+--- a/fuse/CMakeLists.txt |
64 |
++++ b/fuse/CMakeLists.txt |
65 |
+@@ -13,6 +13,8 @@ if ( Fuse_FOUND ) |
66 |
+ ) |
67 |
+ |
68 |
+ target_link_libraries ( obexfs |
69 |
++ PRIVATE multicobex |
70 |
++ PRIVATE bfb |
71 |
+ obexftp |
72 |
+ ${Fuse_LIBRARIES} |
73 |
+ ${EXPAT_LIBRARIES} |
74 |
+@@ -23,6 +25,8 @@ if ( Fuse_FOUND ) |
75 |
+ ) |
76 |
+ |
77 |
+ target_link_libraries ( obexautofs |
78 |
++ PRIVATE multicobex |
79 |
++ PRIVATE bfb |
80 |
+ obexftp |
81 |
+ ${Fuse_LIBRARIES} |
82 |
+ ) |
83 |
+ |
84 |
|
85 |
diff --git a/app-mobilephone/obexftp/obexftp-0.24.2.ebuild b/app-mobilephone/obexftp/obexftp-0.24.2.ebuild |
86 |
new file mode 100644 |
87 |
index 00000000000..3527d255209 |
88 |
--- /dev/null |
89 |
+++ b/app-mobilephone/obexftp/obexftp-0.24.2.ebuild |
90 |
@@ -0,0 +1,69 @@ |
91 |
+# Copyright 1999-2018 Gentoo Foundation |
92 |
+# Distributed under the terms of the GNU General Public License v2 |
93 |
+ |
94 |
+EAPI=6 |
95 |
+ |
96 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
97 |
+USE_RUBY="ruby23 ruby24 ruby25" |
98 |
+ |
99 |
+inherit cmake-utils python-single-r1 ruby-single |
100 |
+ |
101 |
+DESCRIPTION="File transfer over OBEX for mobile phones" |
102 |
+HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" |
103 |
+SRC_URI="mirror://sourceforge/openobex/${P}-Source.tar.gz" |
104 |
+SLOT="0" |
105 |
+ |
106 |
+LICENSE="GPL-2" |
107 |
+KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
108 |
+ |
109 |
+# bluetooth support is not really optional, bug #529068 |
110 |
+IUSE="perl python ruby tcl" |
111 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
112 |
+ |
113 |
+RDEPEND=" |
114 |
+ >=dev-libs/openobex-1.7 |
115 |
+ net-wireless/bluez |
116 |
+ perl? ( dev-lang/perl:= ) |
117 |
+ python? ( ${PYTHON_DEPS} ) |
118 |
+ ruby? ( ${RUBY_DEPS} ) |
119 |
+ tcl? ( dev-lang/tcl:0= ) |
120 |
+" |
121 |
+DEPEND="${RDEPEND} |
122 |
+ perl? ( dev-lang/swig ) |
123 |
+ python? ( dev-lang/swig ) |
124 |
+ ruby? ( dev-lang/swig ) |
125 |
+ tcl? ( dev-lang/swig ) |
126 |
+ virtual/pkgconfig |
127 |
+" |
128 |
+ |
129 |
+S=${WORKDIR}/${P}-Source |
130 |
+ |
131 |
+PATCHES=( |
132 |
+ "${FILESDIR}"/${PN}-0.23-gentoo.patch |
133 |
+ "${FILESDIR}"/${PN}-0.24-config.patch |
134 |
+ "${FILESDIR}"/${PN}-0.24-enable_bluetooth.patch |
135 |
+ "${FILESDIR}"/${PN}-0.24-python_sitedir.patch |
136 |
+ "${FILESDIR}"/${PN}-0.24-norpath.patch |
137 |
+ "${FILESDIR}"/${P}-parallel-build.patch |
138 |
+) |
139 |
+ |
140 |
+src_configure() { |
141 |
+# -DENABLE_BLUETOOTH=$(usex bluetooth) |
142 |
+ local mycmakeargs=( |
143 |
+ -DCMAKE_BUILD_TYPE=Release |
144 |
+ -DCMAKE_SKIP_RPATH=ON |
145 |
+ -DENABLE_PERL=$(usex perl) |
146 |
+ -DENABLE_BLUETOOTH=yes |
147 |
+ -DENABLE_PYTHON=$(usex python) |
148 |
+ $(usex python -DPYTHON_SITE_DIR=$(python_get_sitedir) '') |
149 |
+ -DENABLE_RUBY=$(usex ruby) |
150 |
+ -DENABLE_TCL=$(usex tcl) |
151 |
+ ) |
152 |
+ |
153 |
+ cmake-utils_src_configure |
154 |
+} |
155 |
+ |
156 |
+src_install() { |
157 |
+ cmake-utils_src_install |
158 |
+ rm -rf "${ED}"/usr/share/doc/${PN}/html || die #524866 |
159 |
+} |