diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-01-07 15:06:00 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-01-07 15:06:00 +0000 |
commit | 946b1970865df1cc69ed7da1fcf2dea2b64b0753 (patch) | |
tree | 88767f581d0b63ba500cfd5a11c15f1e2e407adf /media-plugins/npapi-vlc/npapi-vlc-9999.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-946b1970865df1cc69ed7da1fcf2dea2b64b0753.tar.gz gentoo-2-946b1970865df1cc69ed7da1fcf2dea2b64b0753.tar.bz2 gentoo-2-946b1970865df1cc69ed7da1fcf2dea2b64b0753.zip |
add gtk useflag and make deps match reality
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/npapi-vlc/npapi-vlc-9999.ebuild')
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-9999.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild index 5ffa5efad30f..dff6e43343d0 100644 --- a/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild +++ b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild,v 1.3 2011/12/26 10:28:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild,v 1.4 2012/01/07 15:06:00 aballier Exp $ EAPI=3 @@ -25,13 +25,13 @@ if [ "${PV%9999}" = "${PV}" ] ; then else KEYWORDS="" fi -IUSE="" +IUSE="gtk" RDEPEND=">=media-video/vlc-1.1 >=net-misc/npapi-sdk-0.27 x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXt + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) !<media-video/vlc-1.2[nsplugin]" DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -42,6 +42,11 @@ src_prepare() { fi } +src_configure() { + econf \ + $(use_with gtk) +} + src_install() { emake DESTDIR="${D}" npvlcdir="/usr/$(get_libdir)/nsbrowser/plugins" install || die find "${D}" -name '*.la' -delete |