diff options
author | jkim <jkim@FreeBSD.org> | 2013-02-23 02:44:50 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-02-23 02:44:50 +0800 |
commit | df4f640318266e2db4084ea392ad3b6fbb2d2482 (patch) | |
tree | ad296c4768eb6302569395d4fea1b265ed70646e /multimedia/gmtk/Makefile | |
parent | 661147d73bfdfee688f3c1ff6bcf889e23d54842 (diff) | |
download | freebsd-ports-gnome-df4f640318266e2db4084ea392ad3b6fbb2d2482.tar.gz freebsd-ports-gnome-df4f640318266e2db4084ea392ad3b6fbb2d2482.tar.zst freebsd-ports-gnome-df4f640318266e2db4084ea392ad3b6fbb2d2482.zip |
GNOME MPlayer Toolkit is a library for gnome-mplayer and gecko-mediaplayer.
libgmlib - a set of functions that support non-graphical operations
libgmtk - a set of gtk widgets to use with gnome-mplayer
WWW: http://code.google.com/p/gmtk/
Diffstat (limited to 'multimedia/gmtk/Makefile')
-rw-r--r-- | multimedia/gmtk/Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/gmtk/Makefile b/multimedia/gmtk/Makefile new file mode 100644 index 000000000000..bd8100474565 --- /dev/null +++ b/multimedia/gmtk/Makefile @@ -0,0 +1,72 @@ +# $FreeBSD$ + +PORTNAME= gmtk +PORTVERSION= 1.0.7 +CATEGORIES= multimedia gnome devel +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= ports@FreeBSD.org +COMMENT= Library for gnome-mplayer and gecko-mediaplayer + +BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= glib20 gnomehack +USE_PERL5_BUILD= yes +USE_PKGCONFIG= build +USE_XORG= x11 + +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README + +OPTIONS_DEFINE= ALSA DOCS GCONF GIO GTK3 NLS PULSEAUDIO +GIO_DESC= Use GIO for file I/O + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MALSA} +LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib +CONFIGURE_ARGS+= --with-alsa +.else +CONFIGURE_ARGS+= --without-alsa +.endif + +.if ${PORT_OPTIONS:MGCONF} +USE_GNOME+= gconf2 +CONFIGURE_ARGS+= --enable-gconf --enable-gsettings +.else +CONFIGURE_ARGS+= --disable-gconf --enable-keystore +.endif + +.if ${PORT_OPTIONS:MGIO} +CONFIGURE_ARGS+= --with-gio +.else +CONFIGURE_ARGS+= --without-gio +.endif + +.if ${PORT_OPTIONS:MGTK3} +USE_GNOME+= gtk30 +CONFIGURE_ARGS+= --enable-gtk3 +.else +USE_GNOME+= gtk20 +CONFIGURE_ARGS+= --disable-gtk3 +.endif + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.if ${PORT_OPTIONS:MPULSEAUDIO} +CONFIGURE_ARGS+= --with-pulseaudio +.else +CONFIGURE_ARGS+= --without-pulseaudio +.endif + +CPPFLAGS+= -I${LOCALBASE}/include + +.include <bsd.port.mk> |