2013-09-03 12:23:55 +02:00
|
|
|
# Created by: ijliao
|
2003-04-06 09:45:30 +02:00
|
|
|
# $FreeBSD$
|
2009-01-10 06:22:13 +01:00
|
|
|
# $MCom: ports/graphics/swfdec/Makefile,v 1.28 2009/01/01 13:38:17 kwm Exp $
|
2003-04-06 09:45:30 +02:00
|
|
|
|
|
|
|
PORTNAME= swfdec
|
2009-01-10 06:22:13 +01:00
|
|
|
PORTVERSION= 0.8.4
|
2015-08-02 17:03:19 +02:00
|
|
|
PORTREVISION= 6
|
2003-04-06 09:45:30 +02:00
|
|
|
CATEGORIES= graphics
|
2009-01-10 06:22:13 +01:00
|
|
|
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.8/
|
2003-04-06 09:45:30 +02:00
|
|
|
|
2015-07-02 19:51:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-04-06 09:45:30 +02:00
|
|
|
COMMENT= Flash Rendering Library
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= liboil-0.3.so:devel/liboil \
|
|
|
|
libsoup-2.4.so:devel/libsoup
|
2003-04-06 09:45:30 +02:00
|
|
|
|
2014-05-18 19:25:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USES= libtool pathfix pkgconfig
|
2007-08-06 21:04:52 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-18 19:25:18 +02:00
|
|
|
USE_GNOME= gtk20
|
2009-01-10 06:22:13 +01:00
|
|
|
USE_GSTREAMER= core good mp3 ffmpeg
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -Wl,-Bsymbolic -L${LOCALBASE}/lib
|
2007-08-06 16:18:31 +02:00
|
|
|
|
2004-12-15 19:50:49 +01:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION:R}
|
2004-03-13 11:04:53 +01:00
|
|
|
|
2012-06-12 20:49:15 +02:00
|
|
|
OPTIONS_DEFINE= PULSEAUDIO
|
2014-07-23 19:12:13 +02:00
|
|
|
PULSEAUDIO_DESC=Enable the PulseAudio sound module
|
2009-01-10 06:22:13 +01:00
|
|
|
|
2014-05-18 19:25:18 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-05-08 20:12:05 +02:00
|
|
|
|
2012-06-12 20:49:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MPULSEAUDIO}
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS+= libpulse.so:audio/pulseaudio
|
2009-01-10 06:22:13 +01:00
|
|
|
CONFIGURE_ARGS+= --with-audio=pulse
|
2007-08-06 16:18:31 +02:00
|
|
|
.else
|
2009-01-10 06:22:13 +01:00
|
|
|
CONFIGURE_ARGS+= --with-audio=oss
|
2007-08-06 16:18:31 +02:00
|
|
|
.endif
|
|
|
|
|
2009-01-10 06:22:13 +01:00
|
|
|
post-extract:
|
2014-06-22 12:44:29 +02:00
|
|
|
@${CP} ${FILESDIR}/swfdec_playback_oss.c \
|
|
|
|
${WRKSRC}/swfdec-gtk
|
2009-01-10 06:22:13 +01:00
|
|
|
|
2007-08-06 21:04:52 +02:00
|
|
|
post-patch:
|
2014-06-22 12:44:29 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
|
2014-07-23 12:28:03 +02:00
|
|
|
${WRKSRC}/configure
|
2008-05-08 20:12:05 +02:00
|
|
|
|
2014-05-18 19:25:18 +02:00
|
|
|
.include <bsd.port.mk>
|