1 |
commit: f8a43826b49948fbec76d9617b142e5639e799e8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 14:34:54 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 14:35:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a43826 |
7 |
|
8 |
media-libs/libmtp: Bump to version 1.1.16 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
media-libs/libmtp/Manifest | 1 + |
14 |
media-libs/libmtp/libmtp-1.1.16.ebuild | 73 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest |
18 |
index cc861154df1..1d6a21a150a 100644 |
19 |
--- a/media-libs/libmtp/Manifest |
20 |
+++ b/media-libs/libmtp/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libmtp-1.1.14.tar.gz 804354 BLAKE2B 8a5ec431b3a3c1445b3ae62dd0f6ebee36a473ce3d7da07400263434d6e1be49624b8c807bce015f9e55d450f9e25eb2dcf0831c639b97e39cb900ac4d62f81c SHA512 337d259462cf9700fe5a5f09b38f4652045ee71249d54562661362e6d0ec7fe087ab77ec68d443e4fb84839a8ad9dc686c207d723ab47bc1a542dd0a71b294b1 |
23 |
DIST libmtp-1.1.15.tar.gz 805983 BLAKE2B f464c58a9844706ecc066a4a744b525ac6e8020ab80e35b01eab2813562ea1452deb5e6fb4477eb243b6631c24f8bc11887ec35279cb6cd89e1a459aca6b36cb SHA512 c85f47ef4e05d7f5b47d06463ca97c123fa068c4b7369aeba496cb1cfa03f0148b3ba73feed7da96269ba94b76b4b81858ee4bda5af67b0aac3b07fe39b5354a |
24 |
+DIST libmtp-1.1.16.tar.gz 820516 BLAKE2B debc0755b91f44a878c4a5d4eb8d23c92ac17a80cf59ca13ada80bc1884ee7ab771153252258e33c834aba718a064d9e9a1b4618b3e0abe81bbffdfc7e5a2c88 SHA512 0540271930c1c932c5d06dcdd30142d407a4fadd022b195e8339d614fa3ec9b050605bf013b28ac6451f4dfcddf7add949c928acb1382802ab5fd6311c1628a0 |
25 |
|
26 |
diff --git a/media-libs/libmtp/libmtp-1.1.16.ebuild b/media-libs/libmtp/libmtp-1.1.16.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..3dff728f84f |
29 |
--- /dev/null |
30 |
+++ b/media-libs/libmtp/libmtp-1.1.16.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit udev user |
37 |
+ |
38 |
+if [[ ${PV} == 9999* ]]; then |
39 |
+ EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code" |
40 |
+ inherit autotools git-r3 |
41 |
+else |
42 |
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
43 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)" |
47 |
+HOMEPAGE="http://libmtp.sourceforge.net/" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ? |
50 |
+SLOT="0/9" # Based on SONAME of libmtp shared library |
51 |
+IUSE="+crypt doc examples static-libs" |
52 |
+ |
53 |
+RDEPEND="virtual/libusb:1 |
54 |
+ crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+BDEPEND=" |
57 |
+ virtual/pkgconfig |
58 |
+ doc? ( app-doc/doxygen )" |
59 |
+ |
60 |
+DOCS="AUTHORS README TODO" |
61 |
+ |
62 |
+pkg_setup() { |
63 |
+ enewgroup plugdev |
64 |
+} |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011) |
70 |
+ rm -f ChangeLog |
71 |
+ |
72 |
+ if [[ ${PV} == 9999* ]]; then |
73 |
+ local crpthf=config.rpath |
74 |
+ local crpthd=/usr/share/gettext/${crpthf} |
75 |
+ if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then |
76 |
+ cp "${crpthd}" . |
77 |
+ else |
78 |
+ touch ${crpthf} # This is from upstream autogen.sh |
79 |
+ fi |
80 |
+ eautoreconf |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local myeconfargs=( |
86 |
+ $(use_enable static-libs static) |
87 |
+ $(use_enable doc doxygen) |
88 |
+ $(use_enable crypt mtpz) |
89 |
+ --with-udev="$(get_udevdir)" |
90 |
+ --with-udev-group=plugdev |
91 |
+ --with-udev-mode=0660 |
92 |
+ ) |
93 |
+ econf "${myeconfargs[@]}" |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ default |
98 |
+ find "${ED}" -name "*.la" -delete || die |
99 |
+ |
100 |
+ if use examples; then |
101 |
+ docinto examples |
102 |
+ dodoc examples/*.{c,h,sh} |
103 |
+ fi |
104 |
+} |