summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-plugins/gecko-mediaplayer/ChangeLog9
-rw-r--r--www-plugins/gecko-mediaplayer/Manifest15
-rw-r--r--www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8-asneeded.patch104
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8.ebuild51
4 files changed, 167 insertions, 12 deletions
diff --git a/www-plugins/gecko-mediaplayer/ChangeLog b/www-plugins/gecko-mediaplayer/ChangeLog
index e9d7aafb3d7a..04c606643938 100644
--- a/www-plugins/gecko-mediaplayer/ChangeLog
+++ b/www-plugins/gecko-mediaplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-plugins/gecko-mediaplayer
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.16 2009/09/29 16:39:26 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.17 2009/09/29 16:59:21 ssuominen Exp $
+
+*gecko-mediaplayer-0.9.8 (29 Sep 2009)
+
+ 29 Sep 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +gecko-mediaplayer-0.9.8.ebuild,
+ +files/gecko-mediaplayer-0.9.8-asneeded.patch:
+ Version bump.
29 Sep 2009; Christian Ruppert <idl0r@gentoo.org>
gecko-mediaplayer-0.9.7-r1.ebuild,
diff --git a/www-plugins/gecko-mediaplayer/Manifest b/www-plugins/gecko-mediaplayer/Manifest
index 8870d22e25a3..c332c6b6f4d2 100644
--- a/www-plugins/gecko-mediaplayer/Manifest
+++ b/www-plugins/gecko-mediaplayer/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gecko-mediaplayer-0.9.6-xul.patch 687 RMD160 f31e072487afa241cd35d9649b5284c7ead24167 SHA1 25ce0ce8b1b1f33c4dc5ba5be8118b120c53553f SHA256 a618947606fd92efa779d6939146c2e5b6b49541c1f6520f1d34a4a2ca40f856
+AUX gecko-mediaplayer-0.9.8-asneeded.patch 3787 RMD160 afcfb3d75fdfadab10903b622d386921651096a9 SHA1 a8f0dcbe369c2bfbbf0d3ebfcdf01d2f6d18aada SHA256 0ac9d19b1e44195b19a3c0afde58bf3b150b65b07d1f9055655c9d2bb6df4ea1
DIST gecko-mediaplayer-0.9.6.tar.gz 389598 RMD160 d50463aeec54ac25404b915f7e659e41b2070e5c SHA1 8de13d93a92729ad9ea2e9e0ccaa1f019c7a44ac SHA256 27fba7e5c1ff53d7b88742a40e85d045a25b9da05b6e3d77fd9de4b4c39687a0
DIST gecko-mediaplayer-0.9.7.tar.gz 255773 RMD160 7b05c8942a1158db0a1a31bfb72f3ba349b0a3cb SHA1 2b43163e93a04be85bd2b1059c9c7c427519ec4d SHA256 f37aa469ee709fe397bfb2cdafe36f75f6600ed271eeba7a993b135ff069f404
+DIST gecko-mediaplayer-0.9.8.tar.gz 257788 RMD160 46ae679d112f7853b58268de7d6e5a4444a4797d SHA1 a1f90176c0447374ac6518f1eb23984bc2a88ae3 SHA256 a51ebf00021b1d5d43837edebd0fb28d8f6d2626111c4c391e8b0f6515004aa1
EBUILD gecko-mediaplayer-0.9.6.ebuild 1341 RMD160 440b0015de715bf32ecad0b0408834f0bde06109 SHA1 77df1397664c6ce9fbd71abc700f2813ef87ced1 SHA256 2043db79bbeb558b3b716743493c0a7674f9dac853db609a41a63db5de24042f
EBUILD gecko-mediaplayer-0.9.7-r1.ebuild 1613 RMD160 fec1a3d9946bb09dad973cd6a684a72ff361fe3f SHA1 c5a5b524704559da2203ed0f3d6dfea247412836 SHA256 678de63746270393e3c59cf8861818aac7f5c07b53ac31415112def053e4ce92
-MISC ChangeLog 4212 RMD160 4f896424f359ab2ad54f699c65ea4de6a5502e7d SHA1 c1a106425e32a0d19b47cd7f1a251f3d6ce1449e SHA256 bdfbcdff173397baa4bd28dd98c49da1927a34f031529e60640e6f90bc844c96
+EBUILD gecko-mediaplayer-0.9.8.ebuild 1418 RMD160 5f911e32647fc2681382c27c0be2c9327b98faa6 SHA1 935d30aa27072f57eec065abfa8f261992f81dcb SHA256 f32ffc7083c262815bb78d3a7bd48b9852b7395bdfff3dea638200181e91f844
+MISC ChangeLog 4411 RMD160 e1727b36d7bfc0721d534eb5740b68bb30537ae1 SHA1 2d5ddfe1fb8ba036918a3efe35f0769b82e73ecd SHA256 258a31b97f5be2e0645b273ecec68a0065539b5e9977da775e276c3c51f0d36a
MISC metadata.xml 228 RMD160 3071d739d8e15041d594882afdfc434453568466 SHA1 06e3ee83b7a5a910d2d63ea77afb2e5a292606f6 SHA256 060670a1a67923937e4bf55598ae59368d5e716b0b618dedaf12b15f45e8e234
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkrCOEsACgkQixe2jn+ufTi9rgCeK/pdW5cOdaljy910+BQOfm0G
-yNsAn0cWaYuokJu0knX3fL0rAZ1B0yi6
-=kVh+
------END PGP SIGNATURE-----
diff --git a/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8-asneeded.patch b/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8-asneeded.patch
new file mode 100644
index 000000000000..831c17c8b904
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8-asneeded.patch
@@ -0,0 +1,104 @@
+diff -ruN gecko-mediaplayer-0.9.8.orig/m4/gconf-2.m4 gecko-mediaplayer-0.9.8/m4/gconf-2.m4
+--- gecko-mediaplayer-0.9.8.orig/m4/gconf-2.m4 1970-01-01 02:00:00.000000000 +0200
++++ gecko-mediaplayer-0.9.8/m4/gconf-2.m4 2009-09-29 19:59:41.000000000 +0300
+@@ -0,0 +1,44 @@
++dnl AM_GCONF_SOURCE_2
++dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
++dnl (i.e. pass to gconftool-2
++dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
++dnl you should install foo.schemas files
++dnl
++
++AC_DEFUN([AM_GCONF_SOURCE_2],
++[
++ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
++ GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
++ else
++ GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
++ fi
++
++ AC_ARG_WITH([gconf-source],
++ AC_HELP_STRING([--with-gconf-source=sourceaddress],
++ [Config database for installing schema files.]),
++ [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
++
++ AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
++ AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
++
++ if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
++ GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
++ fi
++
++ AC_ARG_WITH([gconf-schema-file-dir],
++ AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
++ [Directory for installing schema files.]),
++ [GCONF_SCHEMA_FILE_DIR="$withval"],)
++
++ AC_SUBST(GCONF_SCHEMA_FILE_DIR)
++ AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
++
++ AC_ARG_ENABLE(schemas-install,
++ AC_HELP_STRING([--disable-schemas-install],
++ [Disable the schemas installation]),
++ [case ${enableval} in
++ yes|no) ;;
++ *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
++ esac])
++ AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
++])
+diff -ruN gecko-mediaplayer-0.9.8.orig/src/Makefile.am gecko-mediaplayer-0.9.8/src/Makefile.am
+--- gecko-mediaplayer-0.9.8.orig/src/Makefile.am 2009-06-07 20:05:27.000000000 +0300
++++ gecko-mediaplayer-0.9.8/src/Makefile.am 2009-09-29 19:59:04.000000000 +0300
+@@ -20,6 +20,7 @@
+ -Wall \
+ -g
+
++LIBS = $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS)
+
+ COMMONCODE = \
+ ../config.h \
+@@ -52,7 +53,7 @@
+ $(COMMONCODE)
+
+ gecko_mediaplayer_so_CFLAGS = -fPIC
+-gecko_mediaplayer_so_LDFLAGS = -shared $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS) -fPIC
++gecko_mediaplayer_so_LDFLAGS = -shared -fPIC
+ gecko_mediaplayer_so_LDADD = libgmlib/libgmlib.a
+
+ gecko_mediaplayer_qt_so_SOURCES = \
+@@ -60,7 +61,7 @@
+ $(COMMONCODE)
+
+ gecko_mediaplayer_qt_so_CFLAGS = -fPIC
+-gecko_mediaplayer_qt_so_LDFLAGS = -shared $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS) -fPIC
++gecko_mediaplayer_qt_so_LDFLAGS = -shared -fPIC
+ gecko_mediaplayer_qt_so_LDADD = libgmlib/libgmlib.a
+
+ gecko_mediaplayer_wmp_so_SOURCES = \
+@@ -68,7 +69,7 @@
+ $(COMMONCODE)
+
+ gecko_mediaplayer_wmp_so_CFLAGS = -fPIC
+-gecko_mediaplayer_wmp_so_LDFLAGS = -shared $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS) -fPIC
++gecko_mediaplayer_wmp_so_LDFLAGS = -shared -fPIC
+ gecko_mediaplayer_wmp_so_LDADD = libgmlib/libgmlib.a
+
+ gecko_mediaplayer_dvx_so_SOURCES = \
+@@ -76,7 +77,7 @@
+ $(COMMONCODE)
+
+ gecko_mediaplayer_dvx_so_CFLAGS = -fPIC
+-gecko_mediaplayer_dvx_so_LDFLAGS = -shared $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS) -fPIC
++gecko_mediaplayer_dvx_so_LDFLAGS = -shared -fPIC
+ gecko_mediaplayer_dvx_so_LDADD = libgmlib/libgmlib.a
+
+ gecko_mediaplayer_rm_so_SOURCES = \
+@@ -84,7 +85,7 @@
+ $(COMMONCODE)
+
+ gecko_mediaplayer_rm_so_CFLAGS = -fPIC
+-gecko_mediaplayer_rm_so_LDFLAGS = -shared $(GLIB_LIBS) $(DBUS_LIBS) $(GCONF_LIBS) -fPIC
++gecko_mediaplayer_rm_so_LDFLAGS = -shared -fPIC
+ gecko_mediaplayer_rm_so_LDADD = libgmlib/libgmlib.a
+
+ indent:
diff --git a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8.ebuild b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8.ebuild
new file mode 100644
index 000000000000..e354bd84e7bd
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8.ebuild,v 1.1 2009/09/29 16:59:21 ssuominen Exp $
+
+EAPI=2
+GCONF_DEBUG=no
+inherit autotools eutils gnome2 multilib
+
+DESCRIPTION="A browser multimedia plugin using gnome-mplayer"
+HOMEPAGE="http://code.google.com/p/gecko-mediaplayer"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="gnome"
+
+RDEPEND=">=dev-libs/glib-2.14:2
+ net-libs/xulrunner:1.9
+ dev-libs/nspr
+ >=dev-libs/dbus-glib-0.70
+ >=media-video/gnome-mplayer-${PV}
+ gnome? ( >=gnome-base/gconf-2:2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ G2CONF="$(use_enable gnome schemas-install)
+ $(use_with gnome gconf)
+ --with-gio"
+ DOCS="ChangeLog DOCS/tech/javascript.txt"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_install() {
+ gnome2_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+
+ # move plugins to correct location and clean up empty dirs
+ dodir /usr/$(get_libdir)/nsbrowser/plugins
+ mv "${D}"/usr/$(get_libdir)/nspr/mozilla/plugins/${PN}* \
+ "${D}"/usr/$(get_libdir)/nsbrowser/plugins || die "plugins move failed"
+ rm -rf "${D}"/usr/$(get_libdir)/nspr
+ rm -rf "${D}"/var
+}