public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-www/mplayerplug-in: ChangeLog mplayerplug-in-3.55.ebuild mplayerplug-in-3.35.ebuild mplayerplug-in-3.45.ebuild
@ 2008-09-19  6:09 Joseph Jezak (josejx)
  0 siblings, 0 replies; only message in thread
From: Joseph Jezak (josejx) @ 2008-09-19  6:09 UTC (permalink / raw
  To: gentoo-commits

josejx      08/09/19 06:09:04

  Modified:             ChangeLog
  Added:                mplayerplug-in-3.55.ebuild
  Removed:              mplayerplug-in-3.35.ebuild
                        mplayerplug-in-3.45.ebuild
  Log:
  Updated to latest version (bug #229831).  Removed old versions.  Added patch for bug #233865.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.112                net-www/mplayerplug-in/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?rev=1.112&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?rev=1.112&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?r1=1.111&r2=1.112

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- ChangeLog	23 Aug 2008 03:16:10 -0000	1.111
+++ ChangeLog	19 Sep 2008 06:09:01 -0000	1.112
@@ -1,6 +1,20 @@
 # ChangeLog for net-www/mplayerplug-in
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.111 2008/08/23 03:16:10 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.112 2008/09/19 06:09:01 josejx Exp $
+
+*mplayerplug-in-3.55 (19 Sep 2008)
+
+  19 Sep 2008; Joseph Jezak <josejx@gentoo.org>
+  -files/mplayerplug-in-3.35-X.patch,
+  -files/mplayerplug-in-3.35-firefox.patch,
+  -files/mplayerplug-in-3.35-seamonkey.patch,
+  +files/mplayerplug-in-3.55-gcc4.patch, -files/3.30-fix-cflags.patch,
+  +files/mplayerplug-in-min-cache-size.patch,
+  +files/mplayerplug-in-xulrunner-config-in.patch,
+  -mplayerplug-in-3.35.ebuild, -mplayerplug-in-3.45.ebuild,
+  +mplayerplug-in-3.55.ebuild:
+  Updated to latest version (bug #229831). Removed old versions. Added patch
+  for bug #233865.
 
   23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
   add GLEP 56 USE flag desc from use.local.desc



1.1                  net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild?rev=1.1&content-type=text/plain

Index: mplayerplug-in-3.55.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild,v 1.1 2008/09/19 06:09:01 josejx Exp $

WANT_AUTOCONF="latest"

inherit eutils multilib autotools flag-o-matic

DESCRIPTION="mplayer plug-in for Gecko based browsers"
HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="gtk divx firefox gmedia multilib nls quicktime realmedia seamonkey wmp xulrunner"

LANGS="cs da de en_US es fr hu it ja ko nb nl pl pt_BR ru sk se tr wa zh_CN"
for X in ${LANGS}; do IUSE="${IUSE} linguas_${X}"; done

RDEPEND=">=media-video/mplayer-1.0_pre5
		xulrunner? ( net-libs/xulrunner )
		!xulrunner? ( firefox? ( www-client/mozilla-firefox ) )
		!xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )
		x11-libs/libXpm
		x11-proto/xextproto
		gtk? (
			>=x11-libs/gtk+-2.2.0
			dev-libs/atk
			>=dev-libs/glib-2.2.0
			>=x11-libs/pango-1.2.1
		)"
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		multilib? (
				amd64? (
					app-emulation/emul-linux-x86-xlibs
					app-emulation/emul-linux-x86-baselibs
					app-emulation/emul-linux-x86-gtklibs
				)
		)"

pkg_setup() {
	### Mozilla Firefox 3.0 doesn't install the pkg config files
	if has_version ">=www-client/mozilla-firefox-3.0" &&
		! built_with_use www-client/mozilla-firefox xulrunner; then
		die 'Firefox 3.0 must be built with USE="xulrunner"'
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${PN}-3.40-cflags.patch"
	epatch "${FILESDIR}/${P}-gcc4.patch"
	epatch "${FILESDIR}/${PN}-xulrunner-config-in.patch"
	#epatch "${FILESDIR}/${PN}_xulrunner-1.9.patch"
	#epatch "${FILESDIR}/${PN}-3.50-seamonkey.patch"
	epatch "${FILESDIR}/${PN}-min-cache-size.patch"
	eautoreconf
}

src_compile() {
	# Add -fno-strict-aliasing to ensure correct compilation
	append-flags -fno-strict-aliasing

	local myconf

	# We force gtk2 now because moz only compiles against gtk2
	if use gtk; then
		myconf="${myconf} --enable-gtk2"
	else
		ewarn "For playback controls, you must enable gtk support."
		myconf="${myconf} --enable-x"
	fi

	# Build the 32bit plugin
	if use amd64 && has_multilib_profile; then
		einfo "Building 32-bit plugin"
		oldabi="${ABI}"
		ABI="x86"
		econf \
			${myconf} \
			--x-libraries=/usr/lib32/ \
			--enable-x86_64 \
			${myconf2} \
			$(use_enable divx dvx) \
			$(use_enable gmedia gmp) \
			$(use_enable realmedia rm) \
			$(use_enable quicktime qt) \
			$(use_enable wmp) \
			|| die "econf failed"

		emake || die "emake failed"

		# Save the 32bit plugins
		mkdir lib32
		mv mplayerplug-in*.so lib32
		mv mplayerplug-in*.xpt lib32
		ABI="${oldabi}"
		emake -j1 clean || die "emake clean failed"

		einfo "Building 64-bit plugin"
	fi

	# Media Playback Support (bug #145517)
	econf \
		${myconf} \
		$(use_enable divx dvx) \
		$(use_enable gmedia gmp) \
		$(use_enable realmedia rm) \
		$(use_enable quicktime qt) \
		$(use_enable wmp) \
		|| die "econf failed"

	emake || die "emake failed"
}

src_install() {
	PLUGINS="in in-gmp in-rm in-qt in-wmp in-dvx"
	plugindir="nsbrowser/plugins"

	exeinto /usr/$(get_libdir)/${plugindir}
	insinto /usr/$(get_libdir)/${plugindir}

	for plugin in ${PLUGINS}; do
		if [ -e "mplayerplug-${plugin}.so" ]; then
			doexe "mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed"
		    doins "mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed"
		fi
	done

	if use amd64 && has_multilib_profile; then
		oldabi="${ABI}"
		ABI="x86"
		exeinto /usr/$(get_libdir)/${plugindir}
		insinto /usr/$(get_libdir)/${plugindir}

		for plugin in ${PLUGINS}; do
			if [ -e "mplayerplug-${plugin}.so" ]; then
				doexe "lib32/mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed"
				doins "lib32/mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed"
			fi
		done
		ABI="${oldabi}"
	fi

	if use nls; then
		local WANT_LANGS
		for X in ${LANGS}; do
			if use linguas_${X}; then
				WANT_LANGS="${WANT_LANGS} ${X}"
			fi
		done
		emake -C po LANGUAGES="${WANT_LANGS# }" DESTDIR="${D}" install \
			|| die "Translation installation failed"
	fi

	insinto /etc
	doins mplayerplug-in.conf

	dodoc ChangeLog INSTALL README DOCS/tech/*.txt
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-19  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19  6:09 [gentoo-commits] gentoo-x86 commit in net-www/mplayerplug-in: ChangeLog mplayerplug-in-3.55.ebuild mplayerplug-in-3.35.ebuild mplayerplug-in-3.45.ebuild Joseph Jezak (josejx)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox