summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-10-21 19:54:56 +0000
committerThomas Cort <tcort@gentoo.org>2006-10-21 19:54:56 +0000
commitbce2173d1ab28e70f6d565b33ccbf28c3cd88b5d (patch)
tree7c64dd9e26cf0df13ded52502a2cc969e2f828b0 /media-libs
parentMarked stable on x86. (diff)
downloadgentoo-2-bce2173d1ab28e70f6d565b33ccbf28c3cd88b5d.tar.gz
gentoo-2-bce2173d1ab28e70f6d565b33ccbf28c3cd88b5d.tar.bz2
gentoo-2-bce2173d1ab28e70f6d565b33ccbf28c3cd88b5d.zip
Version bump to 0.0.21.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmtp/ChangeLog7
-rw-r--r--media-libs/libmtp/files/digest-libmtp-0.0.213
-rw-r--r--media-libs/libmtp/libmtp-0.0.21.ebuild45
3 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index 4ffb51b38f9c..abdb3c8e0464 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmtp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.10 2006/10/07 18:54:03 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.11 2006/10/21 19:54:56 tcort Exp $
+
+*libmtp-0.0.21 (21 Oct 2006)
+
+ 21 Oct 2006; Thomas Cort <tcort@gentoo.org> +libmtp-0.0.21.ebuild:
+ Version bump to 0.0.21.
07 Oct 2006; Thomas Cort <tcort@gentoo.org> -libmtp-0.0.17.ebuild,
-libmtp-0.0.18.ebuild, -libmtp-0.0.19.ebuild:
diff --git a/media-libs/libmtp/files/digest-libmtp-0.0.21 b/media-libs/libmtp/files/digest-libmtp-0.0.21
new file mode 100644
index 000000000000..f53ed7c06376
--- /dev/null
+++ b/media-libs/libmtp/files/digest-libmtp-0.0.21
@@ -0,0 +1,3 @@
+MD5 621b4590c3c0d09f3546ad67f39ef80b libmtp-0.0.21.tar.gz 447358
+RMD160 89b37870ea3b7f0596e13c3d24db896bda4abb03 libmtp-0.0.21.tar.gz 447358
+SHA256 7d7d28bc92d44f2f8f8c235535428c20a559db227e2184bbd58b22a58f8103be libmtp-0.0.21.tar.gz 447358
diff --git a/media-libs/libmtp/libmtp-0.0.21.ebuild b/media-libs/libmtp/libmtp-0.0.21.ebuild
new file mode 100644
index 000000000000..0de737414565
--- /dev/null
+++ b/media-libs/libmtp/libmtp-0.0.21.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-0.0.21.ebuild,v 1.1 2006/10/21 19:54:56 tcort Exp $
+
+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 ~x86"
+IUSE="doc examples"
+
+RDEPEND=">=dev-libs/libusb-0.1.7
+ sys-libs/ncurses
+ sys-libs/zlib"
+
+DEPEND="doc? ( app-doc/doxygen )
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}"/libmtp-0.0.16-udev_perm.patch
+}
+
+src_compile() {
+ econf --enable-hotplugging || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+
+ insinto /etc/udev/rules.d
+ newins libmtp.rules 65-mtp.rules
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/*.{c,h,sh}
+ fi
+}