diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2013-03-19 08:47:33 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2013-03-19 08:47:33 +0000 |
commit | ba42eab2b3f9d457709b9e45faac43def6e357a3 (patch) | |
tree | 87612b986ad10641ae3844639ab5c98e1fd27032 /media-libs/libmtp | |
parent | Version bump. Move sys-power/pm-utils behind USE="-systemd" because UPower pr... (diff) | |
download | gentoo-2-ba42eab2b3f9d457709b9e45faac43def6e357a3.tar.gz gentoo-2-ba42eab2b3f9d457709b9e45faac43def6e357a3.tar.bz2 gentoo-2-ba42eab2b3f9d457709b9e45faac43def6e357a3.zip |
Add libmtp 1.1.6, adds several Android devices and bug fixes
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 560FDD64)
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r-- | media-libs/libmtp/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-1.1.6.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog index c780c9041ab9..c09ce25acac8 100644 --- a/media-libs/libmtp/ChangeLog +++ b/media-libs/libmtp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libmtp # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.125 2013/01/08 09:14:54 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.126 2013/03/19 08:47:33 nirbheek Exp $ + +*libmtp-1.1.6 (19 Mar 2013) + + 19 Mar 2013; Nirbheek Chauhan <nirbheek@gentoo.org> +libmtp-1.1.6.ebuild: + Add libmtp 1.1.6, adds several Android devices and bug fixes 08 Jan 2013; Tim Harder <radhermit@gentoo.org> libmtp-9999.ebuild: Update git repo uri for live ebuild. diff --git a/media-libs/libmtp/libmtp-1.1.6.ebuild b/media-libs/libmtp/libmtp-1.1.6.ebuild new file mode 100644 index 000000000000..05cc85b8adea --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.6.ebuild,v 1.1 2013/03/19 08:47:33 nirbheek Exp $ + +EAPI=4 + +inherit autotools eutils udev user toolchain-funcs + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}" + inherit git-2 +else + KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)." +HOMEPAGE="http://libmtp.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+crypt doc examples static-libs" + +RDEPEND="virtual/libusb:1 + crypt? ( dev-libs/libgcrypt )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS ChangeLog README TODO" + +pkg_setup() { + enewgroup plugdev +} + +src_prepare() { + if [[ ${PV} == *9999* ]]; then + touch config.rpath # This is from upstream autogen.sh + eautoreconf + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable doc doxygen) \ + $(use_enable crypt mtpz) \ + --with-udev="$(udev_get_udevdir)" \ + --with-udev-group=plugdev \ + --with-udev-mode=0660 +} + +src_install() { + default + prune_libtool_files + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +} |