1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Add optional swfdec support for rendering Flash animations. Also, correct

a Makefile typo.

Submitted by:	bland
Approved by:	maintainer (implicit)
This commit is contained in:
Joe Marcus Clarke 2003-11-07 07:37:03 +00:00
parent 726f3c9735
commit 1ee802641f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93288
4 changed files with 36 additions and 2 deletions

View File

@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= GStreamer written collection of plugins handling several media types
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer \
popt.0:${PORTSDIR}/devel/popt \
popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_BZIP2= yes
@ -260,6 +260,11 @@ WITH_PNG=yes
WITH_SDL=yes
.endif
# swfdec
.if exists(${X11BASE}/lib/libswfdec.a)
WITH_SWFDEC=yes
.endif
# vorbis
.if exists(${LOCALBASE}/lib/libvorbis.a)
WITH_VORBIS=yes
@ -582,6 +587,17 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
# swfdec
.ifndef(WITH_SWFDEC)
CONFIGURE_ARGS+= --disable-swfdec
PLIST_SUB+= SWFDEC="@comment "
.else
LIB_DEPENDS+= swfdec.0:${PORTSDIR}/graphics/swfdec
CONFIGURE_ARGS+= --enable-swfdec
PLIST_SUB+= SWFDEC=""
.endif
# vorbis
.ifndef(WITH_VORBIS)
CONFIGURE_ARGS+= --disable-vorbis \

View File

@ -96,6 +96,7 @@ lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so
lib/gstreamer-%%VERSION%%/libgststereo2mono.so
lib/gstreamer-%%VERSION%%/libgststereosplit.so
%%SWFDEC%%lib/gstreamer-%%VERSION%%/libgstswfdec.so
lib/gstreamer-%%VERSION%%/libgstsynaesthesia.so
lib/gstreamer-%%VERSION%%/libgstudp.so
lib/gstreamer-%%VERSION%%/libgstvbidec.so

View File

@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= GStreamer written collection of plugins handling several media types
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer \
popt.0:${PORTSDIR}/devel/popt \
popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_BZIP2= yes
@ -260,6 +260,11 @@ WITH_PNG=yes
WITH_SDL=yes
.endif
# swfdec
.if exists(${X11BASE}/lib/libswfdec.a)
WITH_SWFDEC=yes
.endif
# vorbis
.if exists(${LOCALBASE}/lib/libvorbis.a)
WITH_VORBIS=yes
@ -582,6 +587,17 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
# swfdec
.ifndef(WITH_SWFDEC)
CONFIGURE_ARGS+= --disable-swfdec
PLIST_SUB+= SWFDEC="@comment "
.else
LIB_DEPENDS+= swfdec.0:${PORTSDIR}/graphics/swfdec
CONFIGURE_ARGS+= --enable-swfdec
PLIST_SUB+= SWFDEC=""
.endif
# vorbis
.ifndef(WITH_VORBIS)
CONFIGURE_ARGS+= --disable-vorbis \

View File

@ -96,6 +96,7 @@ lib/gstreamer-%%VERSION%%/libgstspeed.so
lib/gstreamer-%%VERSION%%/libgststereo.so
lib/gstreamer-%%VERSION%%/libgststereo2mono.so
lib/gstreamer-%%VERSION%%/libgststereosplit.so
%%SWFDEC%%lib/gstreamer-%%VERSION%%/libgstswfdec.so
lib/gstreamer-%%VERSION%%/libgstsynaesthesia.so
lib/gstreamer-%%VERSION%%/libgstudp.so
lib/gstreamer-%%VERSION%%/libgstvbidec.so