summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Prugh <ken69267@gentoo.org>2011-02-11 19:04:12 +0000
committerKenneth Prugh <ken69267@gentoo.org>2011-02-11 19:04:12 +0000
commitd7bd13d0db096c2ec5ef7a7081e51e487ab65bae (patch)
tree596bcfc54e3f0badcd96bdbc63f292327a62fafc /media-libs/libmtp
parentRestrict Jython ABIs. Avoid breaking strict-aliasing rules. (diff)
downloadgentoo-2-d7bd13d0db096c2ec5ef7a7081e51e487ab65bae.tar.gz
gentoo-2-d7bd13d0db096c2ec5ef7a7081e51e487ab65bae.tar.bz2
gentoo-2-d7bd13d0db096c2ec5ef7a7081e51e487ab65bae.zip
version bump
(Portage version: 2.1.9.39/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/ChangeLog7
-rw-r--r--media-libs/libmtp/libmtp-1.0.6.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index f9c5edbed212..ebf68bc368d8 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,11 @@
# 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.92 2011/01/21 16:39:41 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.93 2011/02/11 19:04:12 ken69267 Exp $
+
+*libmtp-1.0.6 (11 Feb 2011)
+
+ 11 Feb 2011; Kenneth Prugh <ken69267@gentoo.org> +libmtp-1.0.6.ebuild:
+ version bump
21 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org>
libmtp-1.0.3-r1.ebuild:
diff --git a/media-libs/libmtp/libmtp-1.0.6.ebuild b/media-libs/libmtp/libmtp-1.0.6.ebuild
new file mode 100644
index 000000000000..2bbc122b4d68
--- /dev/null
+++ b/media-libs/libmtp/libmtp-1.0.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.6.ebuild,v 1.1 2011/02/11 19:04:12 ken69267 Exp $
+
+EAPI=2
+inherit eutils multilib
+
+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:0"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ sys-apps/findutils"
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static) \
+ $(use_enable doc doxygen) \
+ --with-udev=/$(get_libdir)/udev/ \
+ --with-udev-rules="65-mtp.rules" \
+ --with-udev-group="plugdev" \
+ --with-udev-mode="0660"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+
+ dodoc AUTHORS ChangeLog README TODO || die
+
+ insinto /usr/share/hal/fdi/information/20thirdparty
+ newins libmtp.fdi 10-libmtp.fdi
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.{c,h,sh}
+ fi
+}