Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/libimobiledevice/
Date: Sun, 10 May 2020 12:40:40
Message-Id: 1589114113.9cacd7fc9fa56395554788b67d7fc49e356d34be.asturm@gentoo
1 commit: 9cacd7fc9fa56395554788b67d7fc49e356d34be
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 10 12:35:13 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 12:35:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cacd7fc
7
8 app-pda/libimobiledevice: Drop 1.2.0-r1
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-pda/libimobiledevice/Manifest | 4 -
14 .../libimobiledevice-1.2.0-r1.ebuild | 116 ---------------------
15 2 files changed, 120 deletions(-)
16
17 diff --git a/app-pda/libimobiledevice/Manifest b/app-pda/libimobiledevice/Manifest
18 index b2c3bec8217..28b5bc3ef75 100644
19 --- a/app-pda/libimobiledevice/Manifest
20 +++ b/app-pda/libimobiledevice/Manifest
21 @@ -1,5 +1 @@
22 -DIST libimobiledevice-1.2.0-git.patch 187304 BLAKE2B 7c184f823b831b913dbae16a58db1e4b7682fb42e573b1bab3983eb8150feb696795fd59c81ca7582fd56cd953e32489a8ddc502c4cb39a6ac88ff3d018ceace SHA512 cfc433a8eada9357ee5119ccfeb1e7444f10132637a43954174721905207b0e168f49a1728ee16ed6b0a9fd8b9617e8e35b04cf34f775abd1d12b8ecb7dbdbd2
23 -DIST libimobiledevice-1.2.0-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch 2272 BLAKE2B 2f435af75c6f7fe319c76b52feac32d8f1389806835658bae5713d82471d0b2edd01b062871bff5e757795c220e2cd4c77d404c1df0cf9616c2fc2d77364b686 SHA512 a31741cfaae53781a1491fd53514e614e64c676573dc9252adea2fb0d64005eb5fad6483f1848b0246f0fff76c8fb4535f56a6e97c13dd7aa48a29061cabb172
24 -DIST libimobiledevice-1.2.0-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch 2014 BLAKE2B 8a6e51af145cf9983aa92ad7febf8d48a64b81f4f4664079ee7df3d433626141e10af6700ad38aad81bbbf3be03d6b35bae4f10a595e97f6998a06b6b2a4fbd4 SHA512 1c6002f8da5524603b989613fc1b14e526bc6fcbf515890f8c4976fe5e1b3801f04f6b210264624990ff7dd7de01063ad53dbf9ec506a0645098692a948216b9
25 -DIST libimobiledevice-1.2.0.tar.bz2 631495 BLAKE2B b04d87906615710e9e143013d27f4a0735e444160cb9dad464cb63d568470397f504680b3faca3995932cc8a80970a5923128d356fad9c98372af4981373ed69 SHA512 0de5f768aeb5d62445892855d84ceaff776f6667733c351ed6c34bf9d500802762d1a06e5efdf57f33cafc9ee788041cd9b6748fb9bad6c2e4ae2f9b9aa93589
26 DIST libimobiledevice-1.2.1_pre20200220.tar.bz2 193582 BLAKE2B 7fab2101ee96a5fcc5dc68bad1a6c9fef25d87f25660cbce9aef45f8830c0162179f07e3d8a0f1d7d60bb7a219b1c4ee2513d43f98e8e4ea0d891686600c370e SHA512 f9d04941685f1cb0e982d061a6ea92d88d1d90157a789460e09e6af72954ed7a7f0448efbef3fe3cbca380195ffa658f7d8119e812f8ba8003c1e8a242976865
27
28 diff --git a/app-pda/libimobiledevice/libimobiledevice-1.2.0-r1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.2.0-r1.ebuild
29 deleted file mode 100644
30 index 6b1c60b021b..00000000000
31 --- a/app-pda/libimobiledevice/libimobiledevice-1.2.0-r1.ebuild
32 +++ /dev/null
33 @@ -1,116 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -PYTHON_COMPAT=( python3_6 )
39 -
40 -inherit autotools python-r1
41 -
42 -DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
43 -HOMEPAGE="http://www.libimobiledevice.org/"
44 -
45 -# Get patches from Fedora
46 -SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2
47 - https://src.fedoraproject.org/rpms/libimobiledevice/raw/master/f/0001-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch -> ${P}-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch
48 - https://src.fedoraproject.org/rpms/libimobiledevice/raw/master/f/0002-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch -> ${P}-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch
49 - https://src.fedoraproject.org/rpms/libimobiledevice/raw/master/f/344409e1d1ad917d377b256214c5411dda82e6b0...5a85432719fb3d18027d528f87d2a44b76fd3e12.patch -> ${P}-git.patch"
50 -
51 -# While COPYING* doesn't mention 'or any later version', all the headers do, hence use +
52 -LICENSE="GPL-2+ LGPL-2.1+"
53 -
54 -SLOT="0/6" # based on SONAME of libimobiledevice.so
55 -
56 -KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
57 -IUSE="gnutls libressl python static-libs"
58 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
59 -
60 -RDEPEND="
61 - >=app-pda/libplist-1.11:=
62 - >=app-pda/libusbmuxd-1.0.9:=
63 - gnutls? (
64 - dev-libs/libgcrypt:0
65 - >=dev-libs/libtasn1-1.1
66 - >=net-libs/gnutls-2.2.0 )
67 - !gnutls? (
68 - !libressl? ( dev-libs/openssl:0= )
69 - libressl? ( dev-libs/libressl:0= ) )
70 - python? (
71 - ${PYTHON_DEPS}
72 - app-pda/libplist[python(-),${PYTHON_USEDEP}] )
73 -"
74 -DEPEND="${RDEPEND}
75 - virtual/pkgconfig
76 - python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
77 -"
78 -
79 -BUILD_DIR="${S}_build"
80 -
81 -PATCHES=(
82 - "${DISTDIR}"/${P}-git.patch
83 - "${DISTDIR}"/${P}-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch
84 - "${DISTDIR}"/${P}-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch
85 -)
86 -
87 -src_prepare() {
88 - default
89 - eautoreconf
90 -}
91 -
92 -src_configure() {
93 - local ECONF_SOURCE=${S}
94 -
95 - local myeconfargs=( $(use_enable static-libs static) )
96 - use gnutls && myeconfargs+=( --disable-openssl )
97 -
98 - do_configure() {
99 - mkdir -p "${BUILD_DIR}" || die
100 - pushd "${BUILD_DIR}" >/dev/null || die
101 - econf "${myeconfargs[@]}" "${@}"
102 - popd >/dev/null || die
103 - }
104 -
105 - do_configure_python() {
106 - # Bug 567916
107 - local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
108 - do_configure "$@"
109 - }
110 -
111 - do_configure --without-cython
112 - use python && python_foreach_impl do_configure_python
113 -}
114 -
115 -src_compile() {
116 - python_compile() {
117 - emake -C "${BUILD_DIR}"/cython -j1 \
118 - VPATH="${S}/cython:${native_builddir}/cython" \
119 - imobiledevice_la_LIBADD="${native_builddir}/src/libimobiledevice.la"
120 - }
121 -
122 - local native_builddir=${BUILD_DIR}
123 - pushd "${BUILD_DIR}" >/dev/null || die
124 - emake -j1
125 - use python && python_foreach_impl python_compile
126 - popd >/dev/null || die
127 -}
128 -
129 -src_install() {
130 - python_install() {
131 - emake -C "${BUILD_DIR}/cython" -j1 \
132 - VPATH="${S}/cython:${native_builddir}/cython" \
133 - DESTDIR="${D}" install
134 - }
135 -
136 - local native_builddir=${BUILD_DIR}
137 - pushd "${BUILD_DIR}" >/dev/null || die
138 - emake -j1 DESTDIR="${D}" install
139 - use python && python_foreach_impl python_install
140 - popd >/dev/null || die
141 -
142 - dodoc docs/html/*
143 - if use python; then
144 - insinto /usr/include/${PN}/cython
145 - doins cython/imobiledevice.pxd
146 - fi
147 -
148 - find "${D}" -name '*.la' -delete || die
149 -}