summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-10-03 22:58:45 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-10-03 22:59:47 +0200
commitea8dfb085a0a7b40ed2876b07e3720083b80cb4a (patch)
tree61b1f0c088a2341f5b587d4853f0375b0deba3f8 /media-libs/libmtp
parentmedia-libs/faad2: Bump to version 2.8.5 (diff)
downloadgentoo-ea8dfb085a0a7b40ed2876b07e3720083b80cb4a.tar.gz
gentoo-ea8dfb085a0a7b40ed2876b07e3720083b80cb4a.tar.bz2
gentoo-ea8dfb085a0a7b40ed2876b07e3720083b80cb4a.zip
media-libs/libmtp: Bump to version 1.1.14
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/Manifest1
-rw-r--r--media-libs/libmtp/libmtp-1.1.14.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
index 19fcca9e54bb..53dd48f4df51 100644
--- a/media-libs/libmtp/Manifest
+++ b/media-libs/libmtp/Manifest
@@ -1,3 +1,4 @@
DIST libmtp-1.1.11.tar.gz 788911 SHA256 15d96dff79a4f7ad14338894a4096d4ac584c6ad25fdcca955bc4726303287e9 SHA512 966d5d831695dc02411fbe0a153873d9e5604a00e75bf0d4cc1a957887a2e7656c82209f5bf86150f7b9af037d66a96b3e3523e16d5b52ae013b835febf622c9 WHIRLPOOL 16e31709054de63d954c691b6396d7e1ad23c3327228188a5b918326a2ac9458d5701dabd73f86568dc5d7cd8512cbe2ddbaccb96d1e31d7e2c69ff0ac14b9a5
DIST libmtp-1.1.12.tar.gz 776555 SHA256 cdf59e816c6cda3e908a876c7fb42943f40b85669aea0029a1ca431c89afa1a0 SHA512 2fff8f6653aa1fa6d7a545fc4f0ae8cb3e54fdb4486a0f065b733ffb5c33f994f66067a697ffe52fe65fb39ffe2bacc418543f84e504e18f443e3c563a116c4f WHIRLPOOL 3825139caa3304be041f0a786e3c871000b47b568cfa0015edecb2ce9ff9e377817abceabe0a81fce368d76efa03e2e9dce2490d57dd9e41f133e94b86a29c67
DIST libmtp-1.1.13.tar.gz 801519 SHA256 494ee02fbfbc316aad75b93263dac00f02a4899f28cfda1decbbd6e26fda6d40 SHA512 99d5a277806f29f1d27a64a478e344916e8bfc9949a41a807c16d37bd29ec99dc3f36d504cfc6e67f1e91ee932a7cf82f13d4c9fe14b7e34333d9b12b04fff77 WHIRLPOOL ce0e63f07a60b7dd71e7d413d4ddafd215c78a4bf9782ce1f74777871d751f302f37da1a09a05c454c865dfcee7c4559a85f9602f95a7e0401af50a119b42c16
+DIST libmtp-1.1.14.tar.gz 804354 SHA256 3817d3e296be8f1bc527385585780e70984e8e0d6a0d00349240d67e3df412e8 SHA512 337d259462cf9700fe5a5f09b38f4652045ee71249d54562661362e6d0ec7fe087ab77ec68d443e4fb84839a8ad9dc686c207d723ab47bc1a542dd0a71b294b1 WHIRLPOOL 52f67b1425979d37404ddbc0c14098849c66e2e21003b956094f629bba1f5f5ea3de4eca8e89bfebfd4c7d2347f8ac804a44f838776f542cc225e998b980ee91
diff --git a/media-libs/libmtp/libmtp-1.1.14.ebuild b/media-libs/libmtp/libmtp-1.1.14.ebuild
new file mode 100644
index 000000000000..b009b4abaff4
--- /dev/null
+++ b/media-libs/libmtp/libmtp-1.1.14.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils udev user
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
+ inherit autotools git-r3
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+fi
+
+DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)"
+HOMEPAGE="http://libmtp.sourceforge.net/"
+
+LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
+SLOT="0/9" # Based on SONAME of libmtp shared library
+IUSE="+crypt doc examples static-libs"
+
+RDEPEND="virtual/libusb:1
+ crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS README TODO"
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_prepare() {
+ default
+
+ # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
+ rm -f ChangeLog
+
+ if [[ ${PV} == 9999* ]]; then
+ local crpthf=config.rpath
+ local crpthd=/usr/share/gettext/${crpthf}
+ if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then
+ cp "${crpthd}" .
+ else
+ touch ${crpthf} # This is from upstream autogen.sh
+ fi
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ $(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
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.{c,h,sh}
+ fi
+}