Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/
Date: Wed, 05 Apr 2017 11:22:18
Message-Id: 1491391325.e9370e44fa0c21b0287755bdae018d0086e84169.polynomial-c@gentoo
1 commit: e9370e44fa0c21b0287755bdae018d0086e84169
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 5 11:20:05 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 5 11:22:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9370e44
7
8 media-libs/libmtp: Bump to version 1.1.13
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 media-libs/libmtp/Manifest | 1 +
13 media-libs/libmtp/libmtp-1.1.13.ebuild | 70 ++++++++++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
17 index 17931e0de78..439e1ff6a1f 100644
18 --- a/media-libs/libmtp/Manifest
19 +++ b/media-libs/libmtp/Manifest
20 @@ -1,3 +1,4 @@
21 DIST libmtp-1.1.11.tar.gz 788911 SHA256 15d96dff79a4f7ad14338894a4096d4ac584c6ad25fdcca955bc4726303287e9 SHA512 966d5d831695dc02411fbe0a153873d9e5604a00e75bf0d4cc1a957887a2e7656c82209f5bf86150f7b9af037d66a96b3e3523e16d5b52ae013b835febf622c9 WHIRLPOOL 16e31709054de63d954c691b6396d7e1ad23c3327228188a5b918326a2ac9458d5701dabd73f86568dc5d7cd8512cbe2ddbaccb96d1e31d7e2c69ff0ac14b9a5
22 DIST libmtp-1.1.12.tar.gz 776555 SHA256 cdf59e816c6cda3e908a876c7fb42943f40b85669aea0029a1ca431c89afa1a0 SHA512 2fff8f6653aa1fa6d7a545fc4f0ae8cb3e54fdb4486a0f065b733ffb5c33f994f66067a697ffe52fe65fb39ffe2bacc418543f84e504e18f443e3c563a116c4f WHIRLPOOL 3825139caa3304be041f0a786e3c871000b47b568cfa0015edecb2ce9ff9e377817abceabe0a81fce368d76efa03e2e9dce2490d57dd9e41f133e94b86a29c67
23 +DIST libmtp-1.1.13.tar.gz 801519 SHA256 494ee02fbfbc316aad75b93263dac00f02a4899f28cfda1decbbd6e26fda6d40 SHA512 99d5a277806f29f1d27a64a478e344916e8bfc9949a41a807c16d37bd29ec99dc3f36d504cfc6e67f1e91ee932a7cf82f13d4c9fe14b7e34333d9b12b04fff77 WHIRLPOOL ce0e63f07a60b7dd71e7d413d4ddafd215c78a4bf9782ce1f74777871d751f302f37da1a09a05c454c865dfcee7c4559a85f9602f95a7e0401af50a119b42c16
24 DIST libmtp-1.1.8.tar.gz 757109 SHA256 3f9e87536aa40e560d0c153a505e38096b1df5ea15fad783691e9a8ca4dd2282 SHA512 34952fbe1ae1dcee456f4fc0d6208cf18e3ced22891bb748350927f06ee433f806e8339d6275085e70b6fd09a43eb0f18ac617e564c8d8162671245ecf0b8904 WHIRLPOOL 5ab0df9b566b7fe3193b0a09a0792eb2634d0775a8ee9a9358d13b2aeba4c82816f5ecb5e5d7355ed338d6171259b7a5c9802b4bc8ea2b0de3d4bbbd1aa8050c
25
26 diff --git a/media-libs/libmtp/libmtp-1.1.13.ebuild b/media-libs/libmtp/libmtp-1.1.13.ebuild
27 new file mode 100644
28 index 00000000000..fdc339af96f
29 --- /dev/null
30 +++ b/media-libs/libmtp/libmtp-1.1.13.ebuild
31 @@ -0,0 +1,70 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit eutils 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 ~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 + virtual/pkgconfig
57 + doc? ( app-doc/doxygen )"
58 +
59 +DOCS="AUTHORS README TODO"
60 +
61 +pkg_setup() {
62 + enewgroup plugdev
63 +}
64 +
65 +src_prepare() {
66 + default
67 +
68 + # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
69 + rm -f ChangeLog
70 +
71 + if [[ ${PV} == 9999* ]]; then
72 + local crpthf=config.rpath
73 + local crpthd=/usr/share/gettext/${crpthf}
74 + if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then
75 + cp "${crpthd}" .
76 + else
77 + touch ${crpthf} # This is from upstream autogen.sh
78 + fi
79 + eautoreconf
80 + fi
81 +}
82 +
83 +src_configure() {
84 + econf \
85 + $(use_enable static-libs static) \
86 + $(use_enable doc doxygen) \
87 + $(use_enable crypt mtpz) \
88 + --with-udev="$(get_udevdir)" \
89 + --with-udev-group=plugdev \
90 + --with-udev-mode=0660
91 +}
92 +
93 +src_install() {
94 + default
95 + prune_libtool_files --all
96 +
97 + if use examples; then
98 + docinto examples
99 + dodoc examples/*.{c,h,sh}
100 + fi
101 +}