1 |
commit: 083aeb207ba0cd60f14bf27bc6fa275b709a1af0 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 2 18:57:05 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 18:57:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083aeb20 |
7 |
|
8 |
app-pda/libimobiledevice: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
.../libimobiledevice/libimobiledevice-1.2.0.ebuild | 99 ---------------------- |
13 |
1 file changed, 99 deletions(-) |
14 |
|
15 |
diff --git a/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index af97f9a81f9..00000000000 |
18 |
--- a/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,99 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
26 |
-inherit eutils python-r1 |
27 |
- |
28 |
-DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices" |
29 |
-HOMEPAGE="http://www.libimobiledevice.org/" |
30 |
-SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2" |
31 |
- |
32 |
-# While COPYING* doesn't mention 'or any later version', all the headers do, hence use + |
33 |
-LICENSE="GPL-2+ LGPL-2.1+" |
34 |
-SLOT="0/6" # based on SONAME of libimobiledevice.so |
35 |
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" |
36 |
-IUSE="gnutls python static-libs" |
37 |
- |
38 |
-RDEPEND=">=app-pda/libplist-1.11:= |
39 |
- >=app-pda/libusbmuxd-1.0.9:= |
40 |
- gnutls? ( |
41 |
- dev-libs/libgcrypt:0 |
42 |
- >=dev-libs/libtasn1-1.1 |
43 |
- >=net-libs/gnutls-2.2.0 |
44 |
- ) |
45 |
- !gnutls? ( dev-libs/openssl:0 ) |
46 |
- python? ( |
47 |
- ${PYTHON_DEPS} |
48 |
- app-pda/libplist[python(-),${PYTHON_USEDEP}] |
49 |
- )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- virtual/pkgconfig |
52 |
- python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )" |
53 |
- |
54 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
- |
56 |
-DOCS=( AUTHORS NEWS README ) |
57 |
- |
58 |
-BUILD_DIR="${S}_build" |
59 |
- |
60 |
-src_prepare() { |
61 |
- epatch "${FILESDIR}/gnutls-3.4.patch" |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- local ECONF_SOURCE=${S} |
66 |
- |
67 |
- local myeconfargs=( $(use_enable static-libs static) ) |
68 |
- use gnutls && myeconfargs+=( --disable-openssl ) |
69 |
- |
70 |
- do_configure() { |
71 |
- mkdir -p "${BUILD_DIR}" || die |
72 |
- pushd "${BUILD_DIR}" >/dev/null || die |
73 |
- econf "${myeconfargs[@]}" "${@}" |
74 |
- popd >/dev/null || die |
75 |
- } |
76 |
- |
77 |
- do_configure_python() { |
78 |
- # Bug 567916 |
79 |
- PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@" |
80 |
- } |
81 |
- |
82 |
- do_configure --without-cython |
83 |
- use python && python_foreach_impl do_configure_python |
84 |
-} |
85 |
- |
86 |
-src_compile() { |
87 |
- python_compile() { |
88 |
- emake -C "${BUILD_DIR}"/cython -j1 \ |
89 |
- VPATH="${S}/cython:${native_builddir}/cython" \ |
90 |
- imobiledevice_la_LIBADD="${native_builddir}/src/libimobiledevice.la" |
91 |
- } |
92 |
- |
93 |
- local native_builddir=${BUILD_DIR} |
94 |
- pushd "${BUILD_DIR}" >/dev/null || die |
95 |
- emake -j1 |
96 |
- use python && python_foreach_impl python_compile |
97 |
- popd >/dev/null || die |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- python_install() { |
102 |
- emake -C "${BUILD_DIR}/cython" -j1 \ |
103 |
- VPATH="${S}/cython:${native_builddir}/cython" \ |
104 |
- DESTDIR="${D}" install |
105 |
- } |
106 |
- |
107 |
- local native_builddir=${BUILD_DIR} |
108 |
- pushd "${BUILD_DIR}" >/dev/null || die |
109 |
- emake -j1 DESTDIR="${D}" install |
110 |
- use python && python_foreach_impl python_install |
111 |
- popd >/dev/null || die |
112 |
- |
113 |
- dodoc docs/html/* |
114 |
- if use python; then |
115 |
- insinto /usr/include/${PN}/cython |
116 |
- doins cython/imobiledevice.pxd |
117 |
- fi |
118 |
- prune_libtool_files --all |
119 |
-} |