diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-03 17:48:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-03 17:48:02 +0000 |
commit | 8657ec7fdc0a82d420d449803bbebc59b032f794 (patch) | |
tree | 4d3d3f184f6a12cf7efb0c735732af3052704700 /media-libs/libmtp | |
parent | alpha/arm/ia64/sh/sparc stable wrt #338208 (diff) | |
download | gentoo-2-8657ec7fdc0a82d420d449803bbebc59b032f794.tar.gz gentoo-2-8657ec7fdc0a82d420d449803bbebc59b032f794.tar.bz2 gentoo-2-8657ec7fdc0a82d420d449803bbebc59b032f794.zip |
Make sure plugdev group is there wrt #329331, Comment #2 by Lars Wendler.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r-- | media-libs/libmtp/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-1.0.3-r1.ebuild | 13 |
2 files changed, 13 insertions, 6 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog index 5fba134b7787..d12fbb835947 100644 --- a/media-libs/libmtp/ChangeLog +++ b/media-libs/libmtp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libmtp # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.85 2010/09/18 17:07:11 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.86 2010/10/03 17:48:02 ssuominen Exp $ + + 03 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> + libmtp-1.0.3-r1.ebuild: + Make sure plugdev group is there wrt #329331, Comment #2 by Lars Wendler. 18 Sep 2010; Raúl Porcel <armin76@gentoo.org> libmtp-0.3.7.ebuild, libmtp-1.0.3.ebuild, libmtp-1.0.3-r1.ebuild: diff --git a/media-libs/libmtp/libmtp-1.0.3-r1.ebuild b/media-libs/libmtp/libmtp-1.0.3-r1.ebuild index a650ca40d89b..d8aea390d755 100644 --- a/media-libs/libmtp/libmtp-1.0.3-r1.ebuild +++ b/media-libs/libmtp/libmtp-1.0.3-r1.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.3-r1.ebuild,v 1.2 2010/09/18 17:07:11 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.3-r1.ebuild,v 1.3 2010/10/03 17:48:02 ssuominen Exp $ EAPI=2 - inherit eutils DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)." @@ -20,6 +19,10 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen ) sys-apps/findutils" +pkg_setup() { + enewgroup plugdev +} + src_prepare() { # Fix device permissions epatch "${FILESDIR}"/permissions.patch @@ -32,10 +35,10 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install || die + find "${D}" -name '*.la' -exec rm -f '{}' + - rm -f $(find "${D}" -name '*.la') - dodoc AUTHORS ChangeLog README TODO || die "dodoc failed" + dodoc AUTHORS ChangeLog README TODO || die insinto /etc/udev/rules.d newins libmtp.rules 65-mtp.rules |