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 | |
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')
-rw-r--r-- | media-plugins/npapi-vlc/ChangeLog | 7 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-9999.ebuild | 15 |
2 files changed, 15 insertions, 7 deletions
diff --git a/media-plugins/npapi-vlc/ChangeLog b/media-plugins/npapi-vlc/ChangeLog index d06efe0690c8..5051e3e0a7d8 100644 --- a/media-plugins/npapi-vlc/ChangeLog +++ b/media-plugins/npapi-vlc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-plugins/npapi-vlc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/ChangeLog,v 1.3 2011/12/26 10:28:05 aballier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/ChangeLog,v 1.4 2012/01/07 15:06:00 aballier Exp $ + + 07 Jan 2012; Alexis Ballier <aballier@gentoo.org> npapi-vlc-9999.ebuild: + add gtk useflag and make deps match reality 26 Dec 2011; Alexis Ballier <aballier@gentoo.org> npapi-vlc-9999.ebuild: depend on npapi-sdk, by Guillaume Castagnino, bug #395841 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 |