diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-02-23 10:18:58 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-02-23 10:18:58 +0000 |
commit | 14d0dcceb93a56fdc0e79a64d7bf4ee5faa85d99 (patch) | |
tree | 25bc9f4644e64589d69e58d6ba359b65c5899679 /media-plugins/npapi-vlc | |
parent | Restricting python (diff) | |
download | gentoo-2-14d0dcceb93a56fdc0e79a64d7bf4ee5faa85d99.tar.gz gentoo-2-14d0dcceb93a56fdc0e79a64d7bf4ee5faa85d99.tar.bz2 gentoo-2-14d0dcceb93a56fdc0e79a64d7bf4ee5faa85d99.zip |
bump to 2.0.0, in line with vlc-2.0.0, and update live ebuild
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/npapi-vlc')
-rw-r--r-- | media-plugins/npapi-vlc/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild | 57 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-9999.ebuild | 7 |
3 files changed, 69 insertions, 3 deletions
diff --git a/media-plugins/npapi-vlc/ChangeLog b/media-plugins/npapi-vlc/ChangeLog index 5051e3e0a7d8..69e35b4b8d44 100644 --- a/media-plugins/npapi-vlc/ChangeLog +++ b/media-plugins/npapi-vlc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/npapi-vlc # 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 $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/ChangeLog,v 1.5 2012/02/23 10:18:58 aballier Exp $ + +*npapi-vlc-2.0.0 (23 Feb 2012) + + 23 Feb 2012; Alexis Ballier <aballier@gentoo.org> +npapi-vlc-2.0.0.ebuild, + npapi-vlc-9999.ebuild: + bump to 2.0.0, in line with vlc-2.0.0, and update live ebuild 07 Jan 2012; Alexis Ballier <aballier@gentoo.org> npapi-vlc-9999.ebuild: add gtk useflag and make deps match reality diff --git a/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild new file mode 100644 index 000000000000..9b334f2d70d5 --- /dev/null +++ b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild @@ -0,0 +1,57 @@ +# 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-2.0.0.ebuild,v 1.1 2012/02/23 10:18:58 aballier Exp $ + +EAPI=3 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=git-2 + EGIT_BOOTSTRAP="" + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +fi + +inherit autotools multilib ${SCM} + +DESCRIPTION="Mozilla plugin based on VLC" +HOMEPAGE="http://www.videolan.org/" + +LICENSE="LGPL-2.1" +SLOT="0" + +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" +else + KEYWORDS="" + SRC_URI="" +fi +IUSE="gtk" + +RDEPEND=">=media-video/vlc-1.1 + >=net-misc/npapi-sdk-0.27 + x11-libs/libX11 + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) + !<media-video/vlc-1.2[nsplugin]" +DEPEND="${RDEPEND} + ${DEPEND} + dev-util/pkgconfig" + +src_prepare() { + if [ "${PV%9999}" != "${PV}" ] ; then + eautoreconf + 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 + dodoc NEWS AUTHORS ChangeLog || die +} diff --git a/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild index dff6e43343d0..c51a41ffaa80 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-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.4 2012/01/07 15:06:00 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild,v 1.5 2012/02/23 10:18:58 aballier Exp $ EAPI=3 @@ -15,15 +15,17 @@ inherit autotools multilib ${SCM} DESCRIPTION="Mozilla plugin based on VLC" HOMEPAGE="http://www.videolan.org/" -SRC_URI="" LICENSE="LGPL-2.1" SLOT="0" if [ "${PV%9999}" = "${PV}" ] ; then KEYWORDS="~amd64" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" else KEYWORDS="" + SRC_URI="" fi IUSE="gtk" @@ -34,6 +36,7 @@ RDEPEND=">=media-video/vlc-1.1 gtk? ( x11-libs/gtk+:2 ) !<media-video/vlc-1.2[nsplugin]" DEPEND="${RDEPEND} + ${DEPEND} dev-util/pkgconfig" src_prepare() { |