openbsd-ports/www/gecko-mediaplayer/Makefile
ajacoutot 13467619d0 Import gecko-mediaplayer-0.9.5
Gecko Media Player is a browser plugin that uses GNOME MPlayer to play
media in a browser.  It should work with all browsers on Unix-like
systems that use the NS4 API (Seamonkey, Firefox, Epiphany, etc).

from David Coppa (MAINTAINER) with some tweaks
2009-03-16 13:00:19 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/03/16 13:00:19 ajacoutot Exp $
COMMENT = gnome-mplayer browser media plugin
DISTNAME = gecko-mediaplayer-0.9.5
CATEGORIES = www
MAINTAINER = David Coppa <dcoppa@gmail.com>
HOMEPAGE = http://kdekorte.googlepages.com/gecko-mediaplayer
MASTER_SITES = http://gecko-mediaplayer.googlecode.com/files/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ORBit-2 dbus-1 dbus-glib-1 glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0
MODULES = devel/gettext
LIB_DEPENDS = gconf-2::devel/gconf2
BUILD_DEPENDS = :xulrunner-devel-*:devel/xulrunner,-devel
RUN_DEPENDS = ::x11/gnome-mplayer
USE_X11 = Yes
USE_LIBTOOL = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
-I${X11BASE}/include \
-I${LOCALBASE}/xulrunner/include/xpcom -DBSD" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib"
CONFIGURE_ARGS = --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gecko-mediaplayer \
--with-gconf
# don't install schemas configuration, @exec takes care of it
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/gconftool-2
.include <bsd.port.mk>