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: Tue, 30 Oct 2018 14:36:12
Message-Id: 1540910160.2ae1424593a797b093007f7211919b676f6fb8cb.polynomial-c@gentoo
1 commit: 2ae1424593a797b093007f7211919b676f6fb8cb
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 30 14:35:43 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 30 14:36:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae14245
7
8 media-libs/libmtp: Synced live ebuild.
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/libmtp-9999.ebuild | 25 ++++++++++++++-----------
14 1 file changed, 14 insertions(+), 11 deletions(-)
15
16 diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild
17 index b009b4abaff..3dff728f84f 100644
18 --- a/media-libs/libmtp/libmtp-9999.ebuild
19 +++ b/media-libs/libmtp/libmtp-9999.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 -inherit eutils udev user
27 +EAPI=7
28 +inherit udev user
29
30 if [[ ${PV} == 9999* ]]; then
31 EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
32 @@ -21,7 +21,8 @@ IUSE="+crypt doc examples static-libs"
33
34 RDEPEND="virtual/libusb:1
35 crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )"
36 -DEPEND="${RDEPEND}
37 +DEPEND="${RDEPEND}"
38 +BDEPEND="
39 virtual/pkgconfig
40 doc? ( app-doc/doxygen )"
41
42 @@ -50,18 +51,20 @@ src_prepare() {
43 }
44
45 src_configure() {
46 - econf \
47 - $(use_enable static-libs static) \
48 - $(use_enable doc doxygen) \
49 - $(use_enable crypt mtpz) \
50 - --with-udev="$(get_udevdir)" \
51 - --with-udev-group=plugdev \
52 + local myeconfargs=(
53 + $(use_enable static-libs static)
54 + $(use_enable doc doxygen)
55 + $(use_enable crypt mtpz)
56 + --with-udev="$(get_udevdir)"
57 + --with-udev-group=plugdev
58 --with-udev-mode=0660
59 + )
60 + econf "${myeconfargs[@]}"
61 }
62
63 src_install() {
64 default
65 - prune_libtool_files --all
66 + find "${ED}" -name "*.la" -delete || die
67
68 if use examples; then
69 docinto examples