1 |
commit: f0cfc3dffae8c995c38f6f2f7e915cb8b714b178 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 04:44:16 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 04:44:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cfc3df |
7 |
|
8 |
media-libs/libmtp: dropped obsolete 1.1.19 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/862624 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-libs/libmtp/libmtp-1.1.19.ebuild | 80 ---------------------------------- |
14 |
1 file changed, 80 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/libmtp/libmtp-1.1.19.ebuild b/media-libs/libmtp/libmtp-1.1.19.ebuild |
17 |
deleted file mode 100644 |
18 |
index cb54789a908f..000000000000 |
19 |
--- a/media-libs/libmtp/libmtp-1.1.19.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,80 +0,0 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit udev |
28 |
- |
29 |
-if [[ ${PV} == 9999* ]]; then |
30 |
- EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code" |
31 |
- inherit autotools git-r3 |
32 |
-else |
33 |
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
34 |
- KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv x86" |
35 |
-fi |
36 |
- |
37 |
-DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)" |
38 |
-HOMEPAGE="http://libmtp.sourceforge.net/" |
39 |
- |
40 |
-LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ? |
41 |
-SLOT="0/9" # Based on SONAME of libmtp shared library |
42 |
-IUSE="+crypt doc examples static-libs" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- acct-group/plugdev |
46 |
- virtual/libiconv |
47 |
- virtual/libusb:1 |
48 |
- crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )" |
49 |
-DEPEND="${RDEPEND}" |
50 |
-BDEPEND=" |
51 |
- >sys-devel/gettext-0.18.3 |
52 |
- virtual/pkgconfig |
53 |
- doc? ( app-doc/doxygen )" |
54 |
- |
55 |
-DOCS=( AUTHORS README TODO ) |
56 |
- |
57 |
-src_prepare() { |
58 |
- default |
59 |
- |
60 |
- # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011) |
61 |
- rm ChangeLog || die |
62 |
- |
63 |
- if [[ ${PV} == 9999* ]]; then |
64 |
- if [[ -e /usr/share/gettext/config.rpath ]]; then |
65 |
- cp /usr/share/gettext/config.rpath . || die |
66 |
- else |
67 |
- touch config.rpath || die # This is from upstream autogen.sh |
68 |
- fi |
69 |
- eautoreconf |
70 |
- fi |
71 |
-} |
72 |
- |
73 |
-src_configure() { |
74 |
- local myeconfargs=( |
75 |
- $(use_enable crypt mtpz) |
76 |
- $(use_enable doc doxygen) |
77 |
- $(use_enable static-libs static) |
78 |
- --with-udev="$(get_udevdir)" |
79 |
- --with-udev-group=plugdev |
80 |
- --with-udev-mode=0660 |
81 |
- ) |
82 |
- econf "${myeconfargs[@]}" |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- default |
87 |
- find "${ED}" -name "*.la" -delete || die |
88 |
- |
89 |
- if use examples; then |
90 |
- docinto examples |
91 |
- dodoc examples/*.{c,h,sh} |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-pkg_postinst() { |
96 |
- udev_reload |
97 |
-} |
98 |
- |
99 |
-pkg_postrm() { |
100 |
- udev_reload |
101 |
-} |