1 |
commit: e504d433817ef1525030ad15dfb1225510c6153b |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 08:48:22 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 09:46:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e504d433 |
7 |
|
8 |
app-pda/libplist: drop 2.2.0-r3 |
9 |
|
10 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
11 |
|
12 |
app-pda/libplist/libplist-2.2.0-r3.ebuild | 113 ------------------------------ |
13 |
1 file changed, 113 deletions(-) |
14 |
|
15 |
diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild b/app-pda/libplist/libplist-2.2.0-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 03073cf397f3..000000000000 |
18 |
--- a/app-pda/libplist/libplist-2.2.0-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,113 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8,9,10} ) |
27 |
-inherit autotools python-r1 toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" |
30 |
-HOMEPAGE="https://www.libimobiledevice.org/" |
31 |
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-2 LGPL-2.1" |
34 |
-SLOT="0/2.0-3" |
35 |
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86" |
36 |
-IUSE="python" |
37 |
- |
38 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
39 |
- |
40 |
-RDEPEND="python? ( ${PYTHON_DEPS} )" |
41 |
-DEPEND="${RDEPEND}" |
42 |
-BDEPEND=" |
43 |
- virtual/pkgconfig |
44 |
- python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] ) |
45 |
-" |
46 |
- |
47 |
-DOCS=( AUTHORS NEWS README.md ) |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}"/libplist-2.2.0-fmin.patch |
51 |
- "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch |
52 |
-) |
53 |
- |
54 |
-BUILD_DIR="${S}_build" |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- eautoreconf |
59 |
-} |
60 |
- |
61 |
-src_configure() { |
62 |
- local ECONF_SOURCE="${S}" |
63 |
- |
64 |
- do_configure() { |
65 |
- mkdir -p "${BUILD_DIR}" || die |
66 |
- pushd "${BUILD_DIR}" >/dev/null || die |
67 |
- econf --disable-static "${@}" |
68 |
- popd >/dev/null || die |
69 |
- } |
70 |
- |
71 |
- do_configure_python() { |
72 |
- local -x PYTHON_LDFLAGS="$(python_get_LIBS)" |
73 |
- do_configure "$@" |
74 |
- } |
75 |
- |
76 |
- # Don't prefer clang. |
77 |
- tc-export CC CXX |
78 |
- |
79 |
- do_configure --without-cython |
80 |
- use python && python_foreach_impl do_configure_python |
81 |
-} |
82 |
- |
83 |
-src_compile() { |
84 |
- local native_builddir=${BUILD_DIR} |
85 |
- ln -s "${native_builddir}/src/libplist-2.0.la" \ |
86 |
- "${native_builddir}/src/libplist.la" || die |
87 |
- |
88 |
- python_compile() { |
89 |
- emake -C "${BUILD_DIR}"/cython \ |
90 |
- VPATH="${S}/cython:${native_builddir}/cython" \ |
91 |
- plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la" |
92 |
- } |
93 |
- |
94 |
- pushd "${BUILD_DIR}" >/dev/null || die |
95 |
- emake |
96 |
- use python && python_foreach_impl python_compile |
97 |
- popd >/dev/null || die |
98 |
-} |
99 |
- |
100 |
-src_test() { |
101 |
- emake -C "${BUILD_DIR}" check |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- python_install() { |
106 |
- emake -C "${BUILD_DIR}/cython" \ |
107 |
- VPATH="${S}/cython:${native_builddir}/cython" \ |
108 |
- DESTDIR="${D}" install |
109 |
- } |
110 |
- |
111 |
- local native_builddir=${BUILD_DIR} |
112 |
- pushd "${BUILD_DIR}" >/dev/null || die |
113 |
- emake DESTDIR="${D}" install |
114 |
- use python && python_foreach_impl python_install |
115 |
- popd >/dev/null || die |
116 |
- |
117 |
- einstalldocs |
118 |
- |
119 |
- if use python ; then |
120 |
- insinto /usr/include/plist/cython |
121 |
- doins cython/plist.pxd |
122 |
- fi |
123 |
- |
124 |
- find "${ED}" -name '*.la' -delete || die |
125 |
- |
126 |
- # temporary fix for 2.2.0 release: |
127 |
- # bug #733082, |
128 |
- # https://github.com/libimobiledevice/libplist/issues/163 |
129 |
- # upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0 |
130 |
- dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc |
131 |
- dosym ./libplist++-2.0.so.3.3.0 /usr/$(get_libdir)/libplist++.so |
132 |
- dosym ./libplist-2.0.so.3.3.0 /usr/$(get_libdir)/libplist.so |
133 |
-} |