summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-10-30 15:35:43 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-10-30 15:36:00 +0100
commit2ae1424593a797b093007f7211919b676f6fb8cb (patch)
tree163c2cb2521f17069a0f145ce97a8d2e912922ca /media-libs/libmtp/libmtp-9999.ebuild
parentmedia-libs/libmtp: Bump to version 1.1.16 (diff)
downloadgentoo-2ae1424593a797b093007f7211919b676f6fb8cb.tar.gz
gentoo-2ae1424593a797b093007f7211919b676f6fb8cb.tar.bz2
gentoo-2ae1424593a797b093007f7211919b676f6fb8cb.zip
media-libs/libmtp: Synced live ebuild.
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-libs/libmtp/libmtp-9999.ebuild')
-rw-r--r--media-libs/libmtp/libmtp-9999.ebuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild
index b009b4abaff4..3dff728f84fe 100644
--- a/media-libs/libmtp/libmtp-9999.ebuild
+++ b/media-libs/libmtp/libmtp-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils udev user
+EAPI=7
+inherit udev user
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
@@ -21,7 +21,8 @@ IUSE="+crypt doc examples static-libs"
RDEPEND="virtual/libusb:1
crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )"
@@ -50,18 +51,20 @@ src_prepare() {
}
src_configure() {
- econf \
- $(use_enable static-libs static) \
- $(use_enable doc doxygen) \
- $(use_enable crypt mtpz) \
- --with-udev="$(get_udevdir)" \
- --with-udev-group=plugdev \
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ $(use_enable doc doxygen)
+ $(use_enable crypt mtpz)
+ --with-udev="$(get_udevdir)"
+ --with-udev-group=plugdev
--with-udev-mode=0660
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
default
- prune_libtool_files --all
+ find "${ED}" -name "*.la" -delete || die
if use examples; then
docinto examples