summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-20 18:14:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-20 18:14:55 +0000
commita9a7b4b02e5380ead668e6cf28f47fa0dacd98d2 (patch)
tree88ff1029d618ae2853f2967a9723f9f734d6e64e /media-libs
parentAdd src_install() to install to /usr by Jan Psota (bug #399441). (diff)
downloadgentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.tar.gz
gentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.tar.bz2
gentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.zip
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)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmtp/ChangeLog10
-rw-r--r--media-libs/libmtp/libmtp-1.1.2.ebuild43
2 files changed, 51 insertions, 2 deletions
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 <ssuominen@gentoo.org> +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 <hwoarang@gentoo.org> 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
+}