diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-06 13:20:46 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-06 13:20:46 +0000 |
commit | 9abb260416d5178541efddd34bdb667719a0c911 (patch) | |
tree | f9fe1cfae8d8288e88b198ee25bfaaec6776496b /media-libs | |
parent | keyword ~amd64-fbsd (diff) | |
download | gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.tar.gz gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.tar.bz2 gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.zip |
Read udev.pc pkg-config file for --with-udev= value.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libmtp/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-1.1.3.ebuild | 8 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-9999.ebuild | 8 |
3 files changed, 15 insertions, 7 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog index 2ee85b491d0a..fbf5cb638da9 100644 --- a/media-libs/libmtp/ChangeLog +++ b/media-libs/libmtp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libmtp # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.109 2012/06/09 00:12:46 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.110 2012/08/06 13:20:46 ssuominen Exp $ + + 06 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> libmtp-1.1.3.ebuild, + libmtp-9999.ebuild: + Read udev.pc pkg-config file for --with-udev= value. 09 Jun 2012; Zac Medico <zmedico@gentoo.org> libmtp-1.1.1.ebuild, libmtp-1.1.3.ebuild, libmtp-9999.ebuild: diff --git a/media-libs/libmtp/libmtp-1.1.3.ebuild b/media-libs/libmtp/libmtp-1.1.3.ebuild index 4b7cdcc73b9b..a9fe56a28bc9 100644 --- a/media-libs/libmtp/libmtp-1.1.3.ebuild +++ b/media-libs/libmtp/libmtp-1.1.3.ebuild @@ -1,10 +1,10 @@ # 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.3.ebuild,v 1.3 2012/06/09 00:12:46 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.3.ebuild,v 1.4 2012/08/06 13:20:46 ssuominen Exp $ EAPI=4 -inherit autotools user +inherit autotools user toolchain-funcs if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}" @@ -21,7 +21,8 @@ LICENSE="LGPL-2.1" SLOT="0" IUSE="+crypt doc examples static-libs" -RDEPEND="virtual/libusb:1 +RDEPEND="sys-fs/udev + virtual/libusb:1 crypt? ( dev-libs/libgcrypt )" DEPEND="${RDEPEND} virtual/pkgconfig @@ -45,6 +46,7 @@ src_configure() { $(use_enable static-libs static) \ $(use_enable doc doxygen) \ $(use_enable crypt mtpz) \ + --with-udev="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" \ --with-udev-group=plugdev \ --with-udev-mode=0660 } diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild index 71464d9df2a5..d5515f32e7fa 100644 --- a/media-libs/libmtp/libmtp-9999.ebuild +++ b/media-libs/libmtp/libmtp-9999.ebuild @@ -1,10 +1,10 @@ # 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-9999.ebuild,v 1.3 2012/06/09 00:12:46 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-9999.ebuild,v 1.4 2012/08/06 13:20:46 ssuominen Exp $ EAPI=4 -inherit autotools user +inherit autotools user toolchain-funcs if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}" @@ -21,7 +21,8 @@ LICENSE="LGPL-2.1" SLOT="0" IUSE="+crypt doc examples static-libs" -RDEPEND="virtual/libusb:1 +RDEPEND="sys-fs/udev + virtual/libusb:1 crypt? ( dev-libs/libgcrypt )" DEPEND="${RDEPEND} virtual/pkgconfig @@ -45,6 +46,7 @@ src_configure() { $(use_enable static-libs static) \ $(use_enable doc doxygen) \ $(use_enable crypt mtpz) \ + --with-udev="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" \ --with-udev-group=plugdev \ --with-udev-mode=0660 } |