pkgsrc/multimedia/gecko-mediaplayer/Makefile

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.55 2018/03/12 11:17:12 wiz Exp $
DISTNAME= gecko-mediaplayer-1.0.9
PKGREVISION= 16
CATEGORIES= multimedia www
MASTER_SITES= http://gecko-mediaplayer.googlecode.com/svn/packages/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://code.google.com/archive/p/gecko-mediaplayer/
COMMENT= Multimedia browser plugin for Gecko based browsers
LICENSE= gnu-gpl-v2
DEPENDS+= gnome-mplayer>=${PKGVERSION_NOREV}:../../multimedia/gnome-mplayer
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config msgfmt
GCONF_SCHEMAS+= gecko-mediaplayer.schemas
CONFIGURE_ARGS+= --with-plugin-dir=${PREFIX}/lib/netscape/plugins
CONFIGURE_ARGS+= --with-libcurl
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gmtk/buildlink3.mk"
.include "../../devel/npapi-sdk/buildlink3.mk"
.include "../../devel/nspr/buildlink3.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=0.95
.include "../../sysutils/dbus/buildlink3.mk"
BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../mk/dlopen.buildlink3.mk"
.if empty(BUILDLINK_LDADD.ldl)
BUILDLINK_TRANSFORM+= rm:-ldl
.endif
.include "../../mk/bsd.pkg.mk"