Version bump, allow building against X instead of gtk2. (Fixes bug #111190 and bug...
authorJoseph Jezak <josejx@gentoo.org>
Sat, 19 Nov 2005 08:44:49 +0000 (08:44 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Sat, 19 Nov 2005 08:44:49 +0000 (08:44 +0000)
Package-Manager: portage-2.0.53_rc7

net-www/mplayerplug-in/ChangeLog
net-www/mplayerplug-in/Manifest
net-www/mplayerplug-in/files/digest-mplayerplug-in-3.15 [new file with mode: 0644]
net-www/mplayerplug-in/mplayerplug-in-3.15.ebuild [new file with mode: 0644]

index 4a3de6f4c350a2c8b232faf8df66f1e9f3f38ed2..d7683f2645942bbf353d5c967950f609d202e2d0 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-www/mplayerplug-in
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.48 2005/11/04 02:47:55 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.49 2005/11/19 08:44:49 josejx Exp $
+
+*mplayerplug-in-3.15 (19 Nov 2005)
+
+  19 Nov 2005; Joseph Jezak <josejx@gentoo.org> +mplayerplug-in-3.15.ebuild:
+  Version bump, allow building against X instead of gtk2. (Fixes bug #111190
+  and bug #111646)
 
   04 Nov 2005; Joseph Jezak <josejx@gentoo.org> mplayerplug-in-3.11.ebuild:
   Marked ppc.
index 25ff26f9f6b6771521a37031541793d9ef4e773f..6f841b09efe315a9d7e53e9146ac108aa30a2c1f 100644 (file)
@@ -1,18 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 d0191e441de2cccabbdbd8892004c733 ChangeLog 7908
+MD5 359772c3460eaa70a5e37f18167514a2 ChangeLog 8118
 MD5 8642e3be6b1af51cbbf7e7790cc8ba12 files/digest-mplayerplug-in-2.80 71
 MD5 c2e30e3c9bd430344299015704bc28b6 files/digest-mplayerplug-in-2.85 71
 MD5 8c3b348cd7951d7c21c115f602e22f31 files/digest-mplayerplug-in-3.11 71
+MD5 8cd4233707566dc0a0f8ba64f0529823 files/digest-mplayerplug-in-3.15 71
 MD5 66c156160ef60780ee4c80a28873e766 metadata.xml 250
 MD5 a93db3f864de724c0408dc08506f2d90 mplayerplug-in-2.80.ebuild 1458
 MD5 dd12cc307a2fc2c00237b06a38cd20c5 mplayerplug-in-2.85.ebuild 1464
 MD5 01ba83f4cb718f82bbf7197a2deb8368 mplayerplug-in-3.11.ebuild 1911
+MD5 8ee3702e328e428331f86d209a782db9 mplayerplug-in-3.15.ebuild 2061
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDas1NcsIHjyDViGQRAg9aAKC7yWDmkBMNJIS3R9mfC9eA6p907QCfQZrL
-QSByPd3uDJz4+fvh5Zp2jUc=
-=T8Yv
+iD8DBQFDfuYncsIHjyDViGQRAiPUAJ9s0L2bs6bXTRGqs2KdMmsLMbyIVwCguqK9
+Tmz6lOo8A9Mab8xRntvVbRo=
+=lN4C
 -----END PGP SIGNATURE-----
diff --git a/net-www/mplayerplug-in/files/digest-mplayerplug-in-3.15 b/net-www/mplayerplug-in/files/digest-mplayerplug-in-3.15
new file mode 100644 (file)
index 0000000..45cd67b
--- /dev/null
@@ -0,0 +1 @@
+MD5 34edc6bff7b4e6d89bdcd8bf9e961580 mplayerplug-in-3.15.tar.gz 202404
diff --git a/net-www/mplayerplug-in/mplayerplug-in-3.15.ebuild b/net-www/mplayerplug-in/mplayerplug-in-3.15.ebuild
new file mode 100644 (file)
index 0000000..79f4efa
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2005 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.15.ebuild,v 1.1 2005/11/19 08:44:49 josejx Exp $
+
+inherit nsplugins multilib
+
+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 ~sparc ~x86"
+IUSE="gecko-sdk gtk"
+
+DEPEND=">=media-video/mplayer-0.92
+               gecko-sdk? ( net-libs/gecko-sdk )
+               !gecko-sdk? ( || ( >=www-client/mozilla-1.6 www-client/mozilla-firefox ) )
+               !gtk ( virtual/x11 )
+
+               gtk? (
+                       >=x11-libs/gtk+-2.2.0
+                       dev-libs/atk
+                       >=dev-libs/glib-2.2.0
+                       >=x11-libs/pango-1.2.1
+               )"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+       local myconf
+
+       if use gecko-sdk; then
+               myconf="${myconf} --with-gecko-sdk=/usr/$(get_libdir)/gecko-sdk"
+       fi
+
+       # 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
+
+       econf ${myconf} || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       exeinto /opt/netscape/plugins
+       doexe mplayerplug-in.so || die "plugin failed"
+       inst_plugin /opt/netscape/plugins/mplayerplug-in.so
+
+       insinto /opt/netscape/plugins
+       doins mplayerplug-in.xpt || die "xpt failed"
+       inst_plugin /opt/netscape/plugins/mplayerplug-in.xpt
+
+       PLUGINS="gmp rm qt wmp"
+
+       for plugin in ${PLUGINS}; do
+               ### Install the plugin
+               exeinto /opt/netscape/plugins
+               doexe "mplayerplug-in-${plugin}.so" || die "plugin ${plugin} failed"
+               inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.so"
+               ### Install the xpt
+               insinto /opt/netscape/plugins
+           doins "mplayerplug-in-${plugin}.xpt" || die "plugin ${plugin} xpt failed"
+               inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.xpt"
+       done
+
+       insinto /etc
+       doins mplayerplug-in.conf
+
+       dodoc ChangeLog INSTALL README DOCS/tech/*.txt
+}