# $Id: PKGBUILD 2547 2009-09-19 15:37:56Z dgriffiths $ # Maintainer: Daniel J Griffiths # Maintainer: Allan McRae # Contributor: fancris3 pkgname=gecko-mediaplayer pkgver=0.9.8 pkgrel=1 pkgdesc="Browser plugin that uses gnome-mplayer to play media in a web browser" arch=('i686' 'x86_64') url="http://code.google.com/p/gecko-mediaplayer/" license=('GPL') depends=("gnome-mplayer=${pkgver}" 'dbus-glib') makedepends=('xulrunner' 'pkgconfig') source=(http://gecko-mediaplayer.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) md5sums=('4df009d21b1a95c35c9adfdb6fbc96fe') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install --without-gconf \ GECKO_LIBS="-L/usr/lib/xulrunner-devel-1.9.1/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl" \ GECKO_CFLAGS="-fshort-wchar -I/usr/include/xulrunner-1.9.1/stable -I/usr/include/nspr" \ GECKO_XPIDL="/usr/lib/xulrunner-1.9.1/xpidl" \ GECKO_IDLDIR="/usr/share/idl/xulrunner-1.9.1/stable" make || return 1 make DESTDIR=${pkgdir} install }