From a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 20 Jan 2012 18:14:55 +0000 Subject: Version bump. Use default upstream values for --with-udev and --with-udev-rules as they are correct. Use more recent SLOT of libusb. (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- media-libs/libmtp/ChangeLog | 10 ++++++-- media-libs/libmtp/libmtp-1.1.2.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 media-libs/libmtp/libmtp-1.1.2.ebuild (limited to 'media-libs') diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog index fac45bf4370b..008d20e079a5 100644 --- a/media-libs/libmtp/ChangeLog +++ b/media-libs/libmtp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libmtp -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.98 2011/12/02 22:14:54 hwoarang Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.99 2012/01/20 18:14:55 ssuominen Exp $ + +*libmtp-1.1.2 (20 Jan 2012) + + 20 Jan 2012; Samuli Suominen +libmtp-1.1.2.ebuild: + Version bump. Use default upstream values for --with-udev and + --with-udev-rules as they are correct. Use more recent SLOT of libusb. 02 Dec 2011; Markos Chandras libmtp-1.1.1.ebuild: Stable on amd64 wrt bug #391541 diff --git a/media-libs/libmtp/libmtp-1.1.2.ebuild b/media-libs/libmtp/libmtp-1.1.2.ebuild new file mode 100644 index 000000000000..5818b28ba47e --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.2.ebuild,v 1.1 2012/01/20 18:14:55 ssuominen Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)." +HOMEPAGE="http://libmtp.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc examples static-libs" + +RDEPEND="virtual/libusb:1" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS ChangeLog README TODO" + +pkg_setup() { + enewgroup plugdev +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable doc doxygen) \ + --with-udev-group="plugdev" \ + --with-udev-mode="0660" +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -f {} + + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +} -- cgit v1.2.3-65-gdbad