o Update to 0.4.2
o USE_X_PREFIX since this will be part of GNOME 2.2
This commit is contained in:
parent
778a32b7d5
commit
7d8c8ceeda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70122
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gstreamer
|
||||
PORTVERSION= 0.4.1
|
||||
PORTVERSION= 0.4.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -17,11 +17,17 @@ MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
|
||||
gconf-2.5:${PORTSDIR}/devel/gconf2 \
|
||||
gstreamer.0:${PORTSDIR}/graphics/gstreamer \
|
||||
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
popt.0:${PORTSDIR}/devel/popt \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gnomehack \
|
||||
gnomehier \
|
||||
gnomeprefix
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -30,19 +36,16 @@ CONFIGURE_ARGS= --disable-tests \
|
||||
--disable-cdrom \
|
||||
--disable-mjpegtools \
|
||||
--disable-qcam \
|
||||
--disable-v4l2 \
|
||||
--disable-v4l
|
||||
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
|
||||
SDL_CONFIG=${SDL_CONFIG} \
|
||||
XMMS_CONFIG=${XMMS_CONFIG} \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
CONFIGURE_TARGET=
|
||||
INSTALLS_SHLIB= yes
|
||||
PLIST_SUB= LOCALBASE="${LOCALBASE}"
|
||||
|
||||
# for esound detection
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
|
||||
MAN1= gst-launch-ext.1 gst-visualise.1
|
||||
@ -53,18 +56,14 @@ XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
|
||||
|
||||
post-patch:
|
||||
# as of this writing, FreeBSD does not support lrint* C99 math functions
|
||||
# do not prefix binary names with anything
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^#define.*LRINT.*$$||' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
# use proper dir
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^(pkgconfigdir).*$$|\1=${PREFIX}/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
# remove version number from include dir name
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|-@VERSION@||' \
|
||||
${WRKSRC}/gstreamer-libs.pc.in
|
||||
${WRKSRC}/gstreamer-libs.pc.in \
|
||||
${WRKSRC}/gstreamer-play.pc.in
|
||||
# remove version number from include dir name
|
||||
# respect CFLAGS
|
||||
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
|
||||
@ -94,37 +93,10 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
# register plugins
|
||||
@${LOCALBASE}/bin/gst-register 2>/dev/null
|
||||
@${X11BASE}/bin/gst-register 2>/dev/null
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-xmms-prefix=${LOCALBASE} \
|
||||
--with-xmms-exec-prefix=${LOCALBASE}
|
||||
|
||||
#--disable-cdparanoia
|
||||
#--disable-dv
|
||||
#--disable-dvdnav
|
||||
#--disable-dxr3
|
||||
#--disable-examples
|
||||
#--disable-gnome_vfs
|
||||
#--disable-hermes
|
||||
#--disable-jack
|
||||
#--disable-ladspa
|
||||
#--disable-lcs
|
||||
#--disable-libdvtest
|
||||
#--disable-raw1394
|
||||
#--disable-rtp
|
||||
#--disable-shout
|
||||
#--disable-sidplay
|
||||
#--disable-smoothwave
|
||||
#--disable-tarkin
|
||||
#--disable-tests
|
||||
#--disable-vcd
|
||||
#--disable-vga
|
||||
#--disable-xmms
|
||||
#--disable-xvideo
|
||||
|
||||
##
|
||||
## auto detect possible plugins
|
||||
##
|
||||
@ -154,11 +126,21 @@ WITH_ESOUND=yes
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.if exists(${LOCALBASE}/lib/libfreetype.a)
|
||||
WITH_FREETYPE=yes
|
||||
.endif
|
||||
|
||||
# lame
|
||||
.if exists(${LOCALBASE}/lib/libmp3lame.a)
|
||||
WITH_LAME=yes
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.if exists(${X11BASE}/lib/libgnomevfs-2.a)
|
||||
WITH_GNOMEVFS=yes
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.if exists(${LOCALBASE}/lib/libgsm.a)
|
||||
WITH_GSM=yes
|
||||
@ -169,11 +151,6 @@ WITH_GSM=yes
|
||||
WITH_JPEG=yes
|
||||
.endif
|
||||
|
||||
# flac
|
||||
.if exists(${LOCALBASE}/lib/libFLAC.a)
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# liba52
|
||||
.if exists(${LOCALBASE}/lib/liba52.a)
|
||||
WITH_LIBA52=yes
|
||||
@ -184,6 +161,16 @@ WITH_LIBA52=yes
|
||||
WITH_LIBAUDIOFILE=yes
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.if exists(${LOCALBASE}/lib/libdv.a)
|
||||
WITH_LIBDV=yes
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.if exists(${LOCALBASE}/lib/libdvdnav.so)
|
||||
WITH_LIBDVDNAV=yes
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.if exists(${LOCALBASE}/lib/libdvdread.a)
|
||||
WITH_LIBDVDREAD=yes
|
||||
@ -204,6 +191,16 @@ WITH_LIBMIKMOD=yes
|
||||
WITH_LIBMPEG2=yes
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.if exists(${LOCALBASE}/lib/libshout.a)
|
||||
WITH_LIBSHOUT=yes
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.if exists(${LOCALBASE}/lib/libsidplay.a)
|
||||
WITH_LIBSIDPLAY=yes
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.if exists(${LOCALBASE}/lib/libmad.a)
|
||||
WITH_MAD=yes
|
||||
@ -229,6 +226,11 @@ WITH_SDL=yes
|
||||
WITH_VORBIS=yes
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.if exists(${X11BASE}/lib/libxmms.a)
|
||||
WITH_XMMS=yes
|
||||
.endif
|
||||
|
||||
##
|
||||
## control CONFIGURE options
|
||||
##
|
||||
@ -287,11 +289,33 @@ PLIST_SUB+= ESOUND=""
|
||||
CONFIGURE_ARGS+= --disable-flac
|
||||
PLIST_SUB+= FLAC="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= FLAC.3:${PORTSDIR}/audio/flac
|
||||
LIB_DEPENDS+= FLAC.4:${PORTSDIR}/audio/flac
|
||||
|
||||
PLIST_SUB+= FLAC=""
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.ifndef(WITH_FREETYPE)
|
||||
CONFIGURE_ARGS+= --disable-freetypetest
|
||||
PLIST_SUB+= FREETYPE="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} \
|
||||
--with-ft-exec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= FREETYPE=""
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
CONFIGURE_ARGS+= --disable-gnome_vfs
|
||||
PLIST_SUB+= GNOMEVFS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
|
||||
|
||||
PLIST_SUB+= GNOMEVFS=""
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.ifndef(WITH_GSM)
|
||||
CONFIGURE_ARGS+= --disable-gsm
|
||||
@ -351,6 +375,26 @@ LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
||||
PLIST_SUB+= LIBAUDIOFILE=""
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.ifndef(WITH_LIBDV)
|
||||
CONFIGURE_ARGS+= --disable-libdv
|
||||
PLIST_SUB+= LIBDV="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dv.2:${PORTSDIR}/graphics/libdv
|
||||
|
||||
PLIST_SUB+= LIBDV=""
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
CONFIGURE_ARGS+= --disable-dvdnav
|
||||
PLIST_SUB+= LIBDVDREAD="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/graphics/libdvdnav
|
||||
|
||||
PLIST_SUB+= LIBDVDNAV=""
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
CONFIGURE_ARGS+= --disable-dvdread
|
||||
@ -398,6 +442,26 @@ CONFIGURE_ARGS+= --with-mpeg2dec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= LIBMPEG2=""
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
CONFIGURE_ARGS+= --disable-shout
|
||||
PLIST_SUB+= LIBSHOUT="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= shout.2:${PORTSDIR}/audio/libshout
|
||||
|
||||
PLIST_SUB+= LIBSHOUT=""
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
CONFIGURE_ARGS+= --disable-sidplay
|
||||
PLIST_SUB+= LIBSIDPLAY="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
||||
|
||||
PLIST_SUB+= LIBSIDPLAY=""
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.ifndef(WITH_MAD)
|
||||
CONFIGURE_ARGS+= --disable-mad
|
||||
@ -446,6 +510,7 @@ LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
||||
|
||||
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
|
||||
--with-sdl-exec-prefix=${LOCALBASE}
|
||||
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
|
||||
PLIST_SUB+= SDL=""
|
||||
.endif
|
||||
|
||||
@ -457,9 +522,25 @@ PLIST_SUB+= VORBIS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
CONFIGURE_ARGS+= --with-vorbis=${LOCALBASE} \
|
||||
--with-vorbis-libraries=${LOCALBASE}/lib \
|
||||
--with-vorbis-includes=${LOCALBASE}/include
|
||||
PLIST_SUB+= VORBIS=""
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.ifndef(WITH_XMMS)
|
||||
CONFIGURE_ARGS+= --disable-xmms
|
||||
PLIST_SUB+= XMMS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= xmms.3:${PORTSDIR}/audio/xmms
|
||||
|
||||
CONFIGURE_ARGS+= --with-xmms-prefix=${X11BASE} \
|
||||
--with-xmms-exec-prefix=${X11BASE}
|
||||
CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
|
||||
PLIST_SUB+= XMMS=""
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.ifndef(WITH_AALIB)
|
||||
@${ECHO_MSG} '===>'
|
||||
@ -481,10 +562,18 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FLAC to enable flac Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_FREETYPE)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FREETYPE to enable freetype support'
|
||||
.endif
|
||||
.ifndef(WITH_GSM)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GSM to enable gsm Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
|
||||
.endif
|
||||
.ifndef(WITH_HTTP)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
|
||||
@ -505,6 +594,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBAUDIOFILE to enable libaudiofile Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDV to enable libdv Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDNAV to enable libdvdnav Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDREAD to enable libdvdread Video plugin'
|
||||
@ -521,6 +618,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBMPEG2 to enable libmpeg2 Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSHOUT to enable libshout Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSIDPLAY to enable libsidplay Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_MAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_MAD to enable mad Audio plugin'
|
||||
@ -545,5 +650,9 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_VORBIS to enable vorbis Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_XMMS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (gst-plugins-0.4.1.tar.bz2) = 9b190733771be21bf8bf18971a652955
|
||||
MD5 (gst-plugins-0.4.2.tar.gz) = f2d499cf117408b5a4adc7a0d71eb095
|
||||
|
@ -1,10 +1,14 @@
|
||||
bin/gst-launch-ext
|
||||
bin/gst-visualise
|
||||
etc/gconf/schemas/gstreamer.schemas
|
||||
include/gst-plugins/gst/audio/audio.h
|
||||
include/gst-plugins/gst/floatcast/floatcast.h
|
||||
include/gst-plugins/gst/gconf/gconf.h
|
||||
include/gst-plugins/gst/idct/idct.h
|
||||
include/gst-plugins/gst/play/play.h
|
||||
include/gst-plugins/gst/resample/resample.h
|
||||
include/gst-plugins/gst/riff/riff.h
|
||||
include/gst-plugins/gst/video/video.h
|
||||
%%LIBA52%%lib/gst/libgsta52dec.so
|
||||
%%AALIB%%lib/gst/libgstaasink.so
|
||||
lib/gst/libgstac3parse.so
|
||||
@ -20,6 +24,8 @@ lib/gst/libgstcdxaparse.so
|
||||
lib/gst/libgstchart.so
|
||||
lib/gst/libgstcutter.so
|
||||
lib/gst/libgstdeinterlace.so
|
||||
%%LIBDV%%lib/gst/libgstdvdec.so
|
||||
%%LIBDVDNAV%%lib/gst/libgstdvdnavsrc.so
|
||||
%%LIBDVDREAD%%lib/gst/libgstdvdreadsrc.so
|
||||
lib/gst/libgsteffectv.so
|
||||
%%ESOUND%%lib/gst/libgstesdmon.so
|
||||
@ -28,6 +34,8 @@ lib/gst/libgstfestival.so
|
||||
lib/gst/libgstfilter.so
|
||||
%%FLAC%%lib/gst/libgstflac.so
|
||||
lib/gst/libgstflxdec.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssink.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssrc.so
|
||||
lib/gst/libgstgoom.so
|
||||
%%GSM%%lib/gst/libgstgsm.so
|
||||
%%HTTP%%lib/gst/libgsthttpsrc.so
|
||||
@ -40,6 +48,7 @@ lib/gst/libgstlevel.so
|
||||
%%LIBMAD%%lib/gst/libgstmad.so
|
||||
lib/gst/libgstmedian.so
|
||||
%%LIBMIKMOD%%lib/gst/libgstmikmod.so
|
||||
lib/gst/libgstmodplug.so
|
||||
lib/gst/libgstmono2stereo.so
|
||||
lib/gst/libgstmonoscope.so
|
||||
lib/gst/libgstmp1videoparse.so
|
||||
@ -66,9 +75,13 @@ lib/gst/libgstresample.so
|
||||
lib/gst/libgstriff.so
|
||||
lib/gst/libgstrtjpeg.so
|
||||
%%SDL%%lib/gst/libgstsdlvideosink.so
|
||||
%%LIBSHOUT%%lib/gst/libgstshout.so
|
||||
%%LIBSIDPLAY%%lib/gst/libgstsid.so
|
||||
lib/gst/libgstsilence.so
|
||||
lib/gst/libgstsinesrc.so
|
||||
lib/gst/libgstsmooth.so
|
||||
lib/gst/libgstsmpte.so
|
||||
%%PNG%%lib/gst/libgstsnapshot.so
|
||||
lib/gst/libgstspectrum.so
|
||||
lib/gst/libgstspeed.so
|
||||
lib/gst/libgststereo.so
|
||||
@ -76,6 +89,7 @@ lib/gst/libgststereo2mono.so
|
||||
lib/gst/libgststereosplit.so
|
||||
lib/gst/libgstsynaesthesia.so
|
||||
lib/gst/libgstudp.so
|
||||
lib/gst/libgstvideo.so
|
||||
lib/gst/libgstvideocrop.so
|
||||
lib/gst/libgstvideoscale.so
|
||||
lib/gst/libgstvideotestsrc.so
|
||||
@ -83,16 +97,28 @@ lib/gst/libgstvolenv.so
|
||||
lib/gst/libgstvolume.so
|
||||
%%VORBIS%%lib/gst/libgstvorbis.so
|
||||
lib/gst/libgstvumeter.so
|
||||
lib/gst/libgstwavenc.so
|
||||
lib/gst/libgstwavparse.so
|
||||
lib/gst/libgsty4menc.so
|
||||
lib/gst/libmixmatrix.so
|
||||
lib/libgstgconf-0.4.2.so.0
|
||||
lib/libgstgconf.a
|
||||
lib/libgstgconf.so
|
||||
lib/libgstplay-0.4.2.so.0
|
||||
lib/libgstplay.a
|
||||
lib/libgstplay.so
|
||||
libdata/pkgconfig/gstreamer-libs.pc
|
||||
libdata/pkgconfig/gstreamer-play.pc
|
||||
share/aclocal/gst-element-check.m4
|
||||
@dirrm include/gst-plugins/gst/video
|
||||
@dirrm include/gst-plugins/gst/riff
|
||||
@dirrm include/gst-plugins/gst/resample
|
||||
@dirrm include/gst-plugins/gst/play
|
||||
@dirrm include/gst-plugins/gst/idct
|
||||
@dirrm include/gst-plugins/gst/gconf
|
||||
@dirrm include/gst-plugins/gst/floatcast
|
||||
@dirrm include/gst-plugins/gst/audio
|
||||
@dirrm include/gst-plugins/gst
|
||||
@dirrm include/gst-plugins
|
||||
@exec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@exec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gstreamer
|
||||
PORTVERSION= 0.4.1
|
||||
PORTVERSION= 0.4.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -17,11 +17,17 @@ MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
|
||||
gconf-2.5:${PORTSDIR}/devel/gconf2 \
|
||||
gstreamer.0:${PORTSDIR}/graphics/gstreamer \
|
||||
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
popt.0:${PORTSDIR}/devel/popt \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gnomehack \
|
||||
gnomehier \
|
||||
gnomeprefix
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -30,19 +36,16 @@ CONFIGURE_ARGS= --disable-tests \
|
||||
--disable-cdrom \
|
||||
--disable-mjpegtools \
|
||||
--disable-qcam \
|
||||
--disable-v4l2 \
|
||||
--disable-v4l
|
||||
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
|
||||
SDL_CONFIG=${SDL_CONFIG} \
|
||||
XMMS_CONFIG=${XMMS_CONFIG} \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
CONFIGURE_TARGET=
|
||||
INSTALLS_SHLIB= yes
|
||||
PLIST_SUB= LOCALBASE="${LOCALBASE}"
|
||||
|
||||
# for esound detection
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
|
||||
MAN1= gst-launch-ext.1 gst-visualise.1
|
||||
@ -53,18 +56,14 @@ XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
|
||||
|
||||
post-patch:
|
||||
# as of this writing, FreeBSD does not support lrint* C99 math functions
|
||||
# do not prefix binary names with anything
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^#define.*LRINT.*$$||' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
# use proper dir
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^(pkgconfigdir).*$$|\1=${PREFIX}/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
# remove version number from include dir name
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|-@VERSION@||' \
|
||||
${WRKSRC}/gstreamer-libs.pc.in
|
||||
${WRKSRC}/gstreamer-libs.pc.in \
|
||||
${WRKSRC}/gstreamer-play.pc.in
|
||||
# remove version number from include dir name
|
||||
# respect CFLAGS
|
||||
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
|
||||
@ -94,37 +93,10 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
# register plugins
|
||||
@${LOCALBASE}/bin/gst-register 2>/dev/null
|
||||
@${X11BASE}/bin/gst-register 2>/dev/null
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-xmms-prefix=${LOCALBASE} \
|
||||
--with-xmms-exec-prefix=${LOCALBASE}
|
||||
|
||||
#--disable-cdparanoia
|
||||
#--disable-dv
|
||||
#--disable-dvdnav
|
||||
#--disable-dxr3
|
||||
#--disable-examples
|
||||
#--disable-gnome_vfs
|
||||
#--disable-hermes
|
||||
#--disable-jack
|
||||
#--disable-ladspa
|
||||
#--disable-lcs
|
||||
#--disable-libdvtest
|
||||
#--disable-raw1394
|
||||
#--disable-rtp
|
||||
#--disable-shout
|
||||
#--disable-sidplay
|
||||
#--disable-smoothwave
|
||||
#--disable-tarkin
|
||||
#--disable-tests
|
||||
#--disable-vcd
|
||||
#--disable-vga
|
||||
#--disable-xmms
|
||||
#--disable-xvideo
|
||||
|
||||
##
|
||||
## auto detect possible plugins
|
||||
##
|
||||
@ -154,11 +126,21 @@ WITH_ESOUND=yes
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.if exists(${LOCALBASE}/lib/libfreetype.a)
|
||||
WITH_FREETYPE=yes
|
||||
.endif
|
||||
|
||||
# lame
|
||||
.if exists(${LOCALBASE}/lib/libmp3lame.a)
|
||||
WITH_LAME=yes
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.if exists(${X11BASE}/lib/libgnomevfs-2.a)
|
||||
WITH_GNOMEVFS=yes
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.if exists(${LOCALBASE}/lib/libgsm.a)
|
||||
WITH_GSM=yes
|
||||
@ -169,11 +151,6 @@ WITH_GSM=yes
|
||||
WITH_JPEG=yes
|
||||
.endif
|
||||
|
||||
# flac
|
||||
.if exists(${LOCALBASE}/lib/libFLAC.a)
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# liba52
|
||||
.if exists(${LOCALBASE}/lib/liba52.a)
|
||||
WITH_LIBA52=yes
|
||||
@ -184,6 +161,16 @@ WITH_LIBA52=yes
|
||||
WITH_LIBAUDIOFILE=yes
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.if exists(${LOCALBASE}/lib/libdv.a)
|
||||
WITH_LIBDV=yes
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.if exists(${LOCALBASE}/lib/libdvdnav.so)
|
||||
WITH_LIBDVDNAV=yes
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.if exists(${LOCALBASE}/lib/libdvdread.a)
|
||||
WITH_LIBDVDREAD=yes
|
||||
@ -204,6 +191,16 @@ WITH_LIBMIKMOD=yes
|
||||
WITH_LIBMPEG2=yes
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.if exists(${LOCALBASE}/lib/libshout.a)
|
||||
WITH_LIBSHOUT=yes
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.if exists(${LOCALBASE}/lib/libsidplay.a)
|
||||
WITH_LIBSIDPLAY=yes
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.if exists(${LOCALBASE}/lib/libmad.a)
|
||||
WITH_MAD=yes
|
||||
@ -229,6 +226,11 @@ WITH_SDL=yes
|
||||
WITH_VORBIS=yes
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.if exists(${X11BASE}/lib/libxmms.a)
|
||||
WITH_XMMS=yes
|
||||
.endif
|
||||
|
||||
##
|
||||
## control CONFIGURE options
|
||||
##
|
||||
@ -287,11 +289,33 @@ PLIST_SUB+= ESOUND=""
|
||||
CONFIGURE_ARGS+= --disable-flac
|
||||
PLIST_SUB+= FLAC="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= FLAC.3:${PORTSDIR}/audio/flac
|
||||
LIB_DEPENDS+= FLAC.4:${PORTSDIR}/audio/flac
|
||||
|
||||
PLIST_SUB+= FLAC=""
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.ifndef(WITH_FREETYPE)
|
||||
CONFIGURE_ARGS+= --disable-freetypetest
|
||||
PLIST_SUB+= FREETYPE="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} \
|
||||
--with-ft-exec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= FREETYPE=""
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
CONFIGURE_ARGS+= --disable-gnome_vfs
|
||||
PLIST_SUB+= GNOMEVFS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
|
||||
|
||||
PLIST_SUB+= GNOMEVFS=""
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.ifndef(WITH_GSM)
|
||||
CONFIGURE_ARGS+= --disable-gsm
|
||||
@ -351,6 +375,26 @@ LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
||||
PLIST_SUB+= LIBAUDIOFILE=""
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.ifndef(WITH_LIBDV)
|
||||
CONFIGURE_ARGS+= --disable-libdv
|
||||
PLIST_SUB+= LIBDV="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dv.2:${PORTSDIR}/graphics/libdv
|
||||
|
||||
PLIST_SUB+= LIBDV=""
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
CONFIGURE_ARGS+= --disable-dvdnav
|
||||
PLIST_SUB+= LIBDVDREAD="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/graphics/libdvdnav
|
||||
|
||||
PLIST_SUB+= LIBDVDNAV=""
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
CONFIGURE_ARGS+= --disable-dvdread
|
||||
@ -398,6 +442,26 @@ CONFIGURE_ARGS+= --with-mpeg2dec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= LIBMPEG2=""
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
CONFIGURE_ARGS+= --disable-shout
|
||||
PLIST_SUB+= LIBSHOUT="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= shout.2:${PORTSDIR}/audio/libshout
|
||||
|
||||
PLIST_SUB+= LIBSHOUT=""
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
CONFIGURE_ARGS+= --disable-sidplay
|
||||
PLIST_SUB+= LIBSIDPLAY="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
||||
|
||||
PLIST_SUB+= LIBSIDPLAY=""
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.ifndef(WITH_MAD)
|
||||
CONFIGURE_ARGS+= --disable-mad
|
||||
@ -446,6 +510,7 @@ LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
||||
|
||||
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
|
||||
--with-sdl-exec-prefix=${LOCALBASE}
|
||||
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
|
||||
PLIST_SUB+= SDL=""
|
||||
.endif
|
||||
|
||||
@ -457,9 +522,25 @@ PLIST_SUB+= VORBIS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
CONFIGURE_ARGS+= --with-vorbis=${LOCALBASE} \
|
||||
--with-vorbis-libraries=${LOCALBASE}/lib \
|
||||
--with-vorbis-includes=${LOCALBASE}/include
|
||||
PLIST_SUB+= VORBIS=""
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.ifndef(WITH_XMMS)
|
||||
CONFIGURE_ARGS+= --disable-xmms
|
||||
PLIST_SUB+= XMMS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= xmms.3:${PORTSDIR}/audio/xmms
|
||||
|
||||
CONFIGURE_ARGS+= --with-xmms-prefix=${X11BASE} \
|
||||
--with-xmms-exec-prefix=${X11BASE}
|
||||
CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
|
||||
PLIST_SUB+= XMMS=""
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.ifndef(WITH_AALIB)
|
||||
@${ECHO_MSG} '===>'
|
||||
@ -481,10 +562,18 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FLAC to enable flac Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_FREETYPE)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FREETYPE to enable freetype support'
|
||||
.endif
|
||||
.ifndef(WITH_GSM)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GSM to enable gsm Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
|
||||
.endif
|
||||
.ifndef(WITH_HTTP)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
|
||||
@ -505,6 +594,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBAUDIOFILE to enable libaudiofile Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDV to enable libdv Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDNAV to enable libdvdnav Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDREAD to enable libdvdread Video plugin'
|
||||
@ -521,6 +618,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBMPEG2 to enable libmpeg2 Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSHOUT to enable libshout Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSIDPLAY to enable libsidplay Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_MAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_MAD to enable mad Audio plugin'
|
||||
@ -545,5 +650,9 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_VORBIS to enable vorbis Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_XMMS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (gst-plugins-0.4.1.tar.bz2) = 9b190733771be21bf8bf18971a652955
|
||||
MD5 (gst-plugins-0.4.2.tar.gz) = f2d499cf117408b5a4adc7a0d71eb095
|
||||
|
@ -1,10 +1,14 @@
|
||||
bin/gst-launch-ext
|
||||
bin/gst-visualise
|
||||
etc/gconf/schemas/gstreamer.schemas
|
||||
include/gst-plugins/gst/audio/audio.h
|
||||
include/gst-plugins/gst/floatcast/floatcast.h
|
||||
include/gst-plugins/gst/gconf/gconf.h
|
||||
include/gst-plugins/gst/idct/idct.h
|
||||
include/gst-plugins/gst/play/play.h
|
||||
include/gst-plugins/gst/resample/resample.h
|
||||
include/gst-plugins/gst/riff/riff.h
|
||||
include/gst-plugins/gst/video/video.h
|
||||
%%LIBA52%%lib/gst/libgsta52dec.so
|
||||
%%AALIB%%lib/gst/libgstaasink.so
|
||||
lib/gst/libgstac3parse.so
|
||||
@ -20,6 +24,8 @@ lib/gst/libgstcdxaparse.so
|
||||
lib/gst/libgstchart.so
|
||||
lib/gst/libgstcutter.so
|
||||
lib/gst/libgstdeinterlace.so
|
||||
%%LIBDV%%lib/gst/libgstdvdec.so
|
||||
%%LIBDVDNAV%%lib/gst/libgstdvdnavsrc.so
|
||||
%%LIBDVDREAD%%lib/gst/libgstdvdreadsrc.so
|
||||
lib/gst/libgsteffectv.so
|
||||
%%ESOUND%%lib/gst/libgstesdmon.so
|
||||
@ -28,6 +34,8 @@ lib/gst/libgstfestival.so
|
||||
lib/gst/libgstfilter.so
|
||||
%%FLAC%%lib/gst/libgstflac.so
|
||||
lib/gst/libgstflxdec.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssink.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssrc.so
|
||||
lib/gst/libgstgoom.so
|
||||
%%GSM%%lib/gst/libgstgsm.so
|
||||
%%HTTP%%lib/gst/libgsthttpsrc.so
|
||||
@ -40,6 +48,7 @@ lib/gst/libgstlevel.so
|
||||
%%LIBMAD%%lib/gst/libgstmad.so
|
||||
lib/gst/libgstmedian.so
|
||||
%%LIBMIKMOD%%lib/gst/libgstmikmod.so
|
||||
lib/gst/libgstmodplug.so
|
||||
lib/gst/libgstmono2stereo.so
|
||||
lib/gst/libgstmonoscope.so
|
||||
lib/gst/libgstmp1videoparse.so
|
||||
@ -66,9 +75,13 @@ lib/gst/libgstresample.so
|
||||
lib/gst/libgstriff.so
|
||||
lib/gst/libgstrtjpeg.so
|
||||
%%SDL%%lib/gst/libgstsdlvideosink.so
|
||||
%%LIBSHOUT%%lib/gst/libgstshout.so
|
||||
%%LIBSIDPLAY%%lib/gst/libgstsid.so
|
||||
lib/gst/libgstsilence.so
|
||||
lib/gst/libgstsinesrc.so
|
||||
lib/gst/libgstsmooth.so
|
||||
lib/gst/libgstsmpte.so
|
||||
%%PNG%%lib/gst/libgstsnapshot.so
|
||||
lib/gst/libgstspectrum.so
|
||||
lib/gst/libgstspeed.so
|
||||
lib/gst/libgststereo.so
|
||||
@ -76,6 +89,7 @@ lib/gst/libgststereo2mono.so
|
||||
lib/gst/libgststereosplit.so
|
||||
lib/gst/libgstsynaesthesia.so
|
||||
lib/gst/libgstudp.so
|
||||
lib/gst/libgstvideo.so
|
||||
lib/gst/libgstvideocrop.so
|
||||
lib/gst/libgstvideoscale.so
|
||||
lib/gst/libgstvideotestsrc.so
|
||||
@ -83,16 +97,28 @@ lib/gst/libgstvolenv.so
|
||||
lib/gst/libgstvolume.so
|
||||
%%VORBIS%%lib/gst/libgstvorbis.so
|
||||
lib/gst/libgstvumeter.so
|
||||
lib/gst/libgstwavenc.so
|
||||
lib/gst/libgstwavparse.so
|
||||
lib/gst/libgsty4menc.so
|
||||
lib/gst/libmixmatrix.so
|
||||
lib/libgstgconf-0.4.2.so.0
|
||||
lib/libgstgconf.a
|
||||
lib/libgstgconf.so
|
||||
lib/libgstplay-0.4.2.so.0
|
||||
lib/libgstplay.a
|
||||
lib/libgstplay.so
|
||||
libdata/pkgconfig/gstreamer-libs.pc
|
||||
libdata/pkgconfig/gstreamer-play.pc
|
||||
share/aclocal/gst-element-check.m4
|
||||
@dirrm include/gst-plugins/gst/video
|
||||
@dirrm include/gst-plugins/gst/riff
|
||||
@dirrm include/gst-plugins/gst/resample
|
||||
@dirrm include/gst-plugins/gst/play
|
||||
@dirrm include/gst-plugins/gst/idct
|
||||
@dirrm include/gst-plugins/gst/gconf
|
||||
@dirrm include/gst-plugins/gst/floatcast
|
||||
@dirrm include/gst-plugins/gst/audio
|
||||
@dirrm include/gst-plugins/gst
|
||||
@dirrm include/gst-plugins
|
||||
@exec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@exec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gstreamer
|
||||
PORTVERSION= 0.4.1
|
||||
PORTVERSION= 0.4.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -17,11 +17,17 @@ MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
|
||||
gconf-2.5:${PORTSDIR}/devel/gconf2 \
|
||||
gstreamer.0:${PORTSDIR}/graphics/gstreamer \
|
||||
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
popt.0:${PORTSDIR}/devel/popt \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gnomehack \
|
||||
gnomehier \
|
||||
gnomeprefix
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -30,19 +36,16 @@ CONFIGURE_ARGS= --disable-tests \
|
||||
--disable-cdrom \
|
||||
--disable-mjpegtools \
|
||||
--disable-qcam \
|
||||
--disable-v4l2 \
|
||||
--disable-v4l
|
||||
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
|
||||
SDL_CONFIG=${SDL_CONFIG} \
|
||||
XMMS_CONFIG=${XMMS_CONFIG} \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
CONFIGURE_TARGET=
|
||||
INSTALLS_SHLIB= yes
|
||||
PLIST_SUB= LOCALBASE="${LOCALBASE}"
|
||||
|
||||
# for esound detection
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
|
||||
MAN1= gst-launch-ext.1 gst-visualise.1
|
||||
@ -53,18 +56,14 @@ XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
|
||||
|
||||
post-patch:
|
||||
# as of this writing, FreeBSD does not support lrint* C99 math functions
|
||||
# do not prefix binary names with anything
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^#define.*LRINT.*$$||' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
# use proper dir
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^(pkgconfigdir).*$$|\1=${PREFIX}/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
# remove version number from include dir name
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|-@VERSION@||' \
|
||||
${WRKSRC}/gstreamer-libs.pc.in
|
||||
${WRKSRC}/gstreamer-libs.pc.in \
|
||||
${WRKSRC}/gstreamer-play.pc.in
|
||||
# remove version number from include dir name
|
||||
# respect CFLAGS
|
||||
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
|
||||
@ -94,37 +93,10 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
# register plugins
|
||||
@${LOCALBASE}/bin/gst-register 2>/dev/null
|
||||
@${X11BASE}/bin/gst-register 2>/dev/null
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-xmms-prefix=${LOCALBASE} \
|
||||
--with-xmms-exec-prefix=${LOCALBASE}
|
||||
|
||||
#--disable-cdparanoia
|
||||
#--disable-dv
|
||||
#--disable-dvdnav
|
||||
#--disable-dxr3
|
||||
#--disable-examples
|
||||
#--disable-gnome_vfs
|
||||
#--disable-hermes
|
||||
#--disable-jack
|
||||
#--disable-ladspa
|
||||
#--disable-lcs
|
||||
#--disable-libdvtest
|
||||
#--disable-raw1394
|
||||
#--disable-rtp
|
||||
#--disable-shout
|
||||
#--disable-sidplay
|
||||
#--disable-smoothwave
|
||||
#--disable-tarkin
|
||||
#--disable-tests
|
||||
#--disable-vcd
|
||||
#--disable-vga
|
||||
#--disable-xmms
|
||||
#--disable-xvideo
|
||||
|
||||
##
|
||||
## auto detect possible plugins
|
||||
##
|
||||
@ -154,11 +126,21 @@ WITH_ESOUND=yes
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.if exists(${LOCALBASE}/lib/libfreetype.a)
|
||||
WITH_FREETYPE=yes
|
||||
.endif
|
||||
|
||||
# lame
|
||||
.if exists(${LOCALBASE}/lib/libmp3lame.a)
|
||||
WITH_LAME=yes
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.if exists(${X11BASE}/lib/libgnomevfs-2.a)
|
||||
WITH_GNOMEVFS=yes
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.if exists(${LOCALBASE}/lib/libgsm.a)
|
||||
WITH_GSM=yes
|
||||
@ -169,11 +151,6 @@ WITH_GSM=yes
|
||||
WITH_JPEG=yes
|
||||
.endif
|
||||
|
||||
# flac
|
||||
.if exists(${LOCALBASE}/lib/libFLAC.a)
|
||||
WITH_FLAC=yes
|
||||
.endif
|
||||
|
||||
# liba52
|
||||
.if exists(${LOCALBASE}/lib/liba52.a)
|
||||
WITH_LIBA52=yes
|
||||
@ -184,6 +161,16 @@ WITH_LIBA52=yes
|
||||
WITH_LIBAUDIOFILE=yes
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.if exists(${LOCALBASE}/lib/libdv.a)
|
||||
WITH_LIBDV=yes
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.if exists(${LOCALBASE}/lib/libdvdnav.so)
|
||||
WITH_LIBDVDNAV=yes
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.if exists(${LOCALBASE}/lib/libdvdread.a)
|
||||
WITH_LIBDVDREAD=yes
|
||||
@ -204,6 +191,16 @@ WITH_LIBMIKMOD=yes
|
||||
WITH_LIBMPEG2=yes
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.if exists(${LOCALBASE}/lib/libshout.a)
|
||||
WITH_LIBSHOUT=yes
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.if exists(${LOCALBASE}/lib/libsidplay.a)
|
||||
WITH_LIBSIDPLAY=yes
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.if exists(${LOCALBASE}/lib/libmad.a)
|
||||
WITH_MAD=yes
|
||||
@ -229,6 +226,11 @@ WITH_SDL=yes
|
||||
WITH_VORBIS=yes
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.if exists(${X11BASE}/lib/libxmms.a)
|
||||
WITH_XMMS=yes
|
||||
.endif
|
||||
|
||||
##
|
||||
## control CONFIGURE options
|
||||
##
|
||||
@ -287,11 +289,33 @@ PLIST_SUB+= ESOUND=""
|
||||
CONFIGURE_ARGS+= --disable-flac
|
||||
PLIST_SUB+= FLAC="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= FLAC.3:${PORTSDIR}/audio/flac
|
||||
LIB_DEPENDS+= FLAC.4:${PORTSDIR}/audio/flac
|
||||
|
||||
PLIST_SUB+= FLAC=""
|
||||
.endif
|
||||
|
||||
# freetype
|
||||
.ifndef(WITH_FREETYPE)
|
||||
CONFIGURE_ARGS+= --disable-freetypetest
|
||||
PLIST_SUB+= FREETYPE="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} \
|
||||
--with-ft-exec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= FREETYPE=""
|
||||
.endif
|
||||
|
||||
# gnomevfs
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
CONFIGURE_ARGS+= --disable-gnome_vfs
|
||||
PLIST_SUB+= GNOMEVFS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
|
||||
|
||||
PLIST_SUB+= GNOMEVFS=""
|
||||
.endif
|
||||
|
||||
# gsm
|
||||
.ifndef(WITH_GSM)
|
||||
CONFIGURE_ARGS+= --disable-gsm
|
||||
@ -351,6 +375,26 @@ LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
||||
PLIST_SUB+= LIBAUDIOFILE=""
|
||||
.endif
|
||||
|
||||
# libdv
|
||||
.ifndef(WITH_LIBDV)
|
||||
CONFIGURE_ARGS+= --disable-libdv
|
||||
PLIST_SUB+= LIBDV="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dv.2:${PORTSDIR}/graphics/libdv
|
||||
|
||||
PLIST_SUB+= LIBDV=""
|
||||
.endif
|
||||
|
||||
# libdvdnav
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
CONFIGURE_ARGS+= --disable-dvdnav
|
||||
PLIST_SUB+= LIBDVDREAD="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/graphics/libdvdnav
|
||||
|
||||
PLIST_SUB+= LIBDVDNAV=""
|
||||
.endif
|
||||
|
||||
# libdvdread
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
CONFIGURE_ARGS+= --disable-dvdread
|
||||
@ -398,6 +442,26 @@ CONFIGURE_ARGS+= --with-mpeg2dec-prefix=${LOCALBASE}
|
||||
PLIST_SUB+= LIBMPEG2=""
|
||||
.endif
|
||||
|
||||
# libshout
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
CONFIGURE_ARGS+= --disable-shout
|
||||
PLIST_SUB+= LIBSHOUT="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= shout.2:${PORTSDIR}/audio/libshout
|
||||
|
||||
PLIST_SUB+= LIBSHOUT=""
|
||||
.endif
|
||||
|
||||
# libsidplay
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
CONFIGURE_ARGS+= --disable-sidplay
|
||||
PLIST_SUB+= LIBSIDPLAY="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
||||
|
||||
PLIST_SUB+= LIBSIDPLAY=""
|
||||
.endif
|
||||
|
||||
# mad
|
||||
.ifndef(WITH_MAD)
|
||||
CONFIGURE_ARGS+= --disable-mad
|
||||
@ -446,6 +510,7 @@ LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
||||
|
||||
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
|
||||
--with-sdl-exec-prefix=${LOCALBASE}
|
||||
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
|
||||
PLIST_SUB+= SDL=""
|
||||
.endif
|
||||
|
||||
@ -457,9 +522,25 @@ PLIST_SUB+= VORBIS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
CONFIGURE_ARGS+= --with-vorbis=${LOCALBASE} \
|
||||
--with-vorbis-libraries=${LOCALBASE}/lib \
|
||||
--with-vorbis-includes=${LOCALBASE}/include
|
||||
PLIST_SUB+= VORBIS=""
|
||||
.endif
|
||||
|
||||
# xmms
|
||||
.ifndef(WITH_XMMS)
|
||||
CONFIGURE_ARGS+= --disable-xmms
|
||||
PLIST_SUB+= XMMS="@comment "
|
||||
.else
|
||||
LIB_DEPENDS+= xmms.3:${PORTSDIR}/audio/xmms
|
||||
|
||||
CONFIGURE_ARGS+= --with-xmms-prefix=${X11BASE} \
|
||||
--with-xmms-exec-prefix=${X11BASE}
|
||||
CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
|
||||
PLIST_SUB+= XMMS=""
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.ifndef(WITH_AALIB)
|
||||
@${ECHO_MSG} '===>'
|
||||
@ -481,10 +562,18 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FLAC to enable flac Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_FREETYPE)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_FREETYPE to enable freetype support'
|
||||
.endif
|
||||
.ifndef(WITH_GSM)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GSM to enable gsm Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_GNOMEVFS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
|
||||
.endif
|
||||
.ifndef(WITH_HTTP)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
|
||||
@ -505,6 +594,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBAUDIOFILE to enable libaudiofile Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDV to enable libdv Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDNAV)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDNAV to enable libdvdnav Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBDVDREAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBDVDREAD to enable libdvdread Video plugin'
|
||||
@ -521,6 +618,14 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBMPEG2 to enable libmpeg2 Video plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSHOUT)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSHOUT to enable libshout Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_LIBSIDPLAY)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_LIBSIDPLAY to enable libsidplay Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_MAD)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_MAD to enable mad Audio plugin'
|
||||
@ -545,5 +650,9 @@ pre-everything::
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_VORBIS to enable vorbis Audio plugin'
|
||||
.endif
|
||||
.ifndef(WITH_XMMS)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (gst-plugins-0.4.1.tar.bz2) = 9b190733771be21bf8bf18971a652955
|
||||
MD5 (gst-plugins-0.4.2.tar.gz) = f2d499cf117408b5a4adc7a0d71eb095
|
||||
|
@ -1,10 +1,14 @@
|
||||
bin/gst-launch-ext
|
||||
bin/gst-visualise
|
||||
etc/gconf/schemas/gstreamer.schemas
|
||||
include/gst-plugins/gst/audio/audio.h
|
||||
include/gst-plugins/gst/floatcast/floatcast.h
|
||||
include/gst-plugins/gst/gconf/gconf.h
|
||||
include/gst-plugins/gst/idct/idct.h
|
||||
include/gst-plugins/gst/play/play.h
|
||||
include/gst-plugins/gst/resample/resample.h
|
||||
include/gst-plugins/gst/riff/riff.h
|
||||
include/gst-plugins/gst/video/video.h
|
||||
%%LIBA52%%lib/gst/libgsta52dec.so
|
||||
%%AALIB%%lib/gst/libgstaasink.so
|
||||
lib/gst/libgstac3parse.so
|
||||
@ -20,6 +24,8 @@ lib/gst/libgstcdxaparse.so
|
||||
lib/gst/libgstchart.so
|
||||
lib/gst/libgstcutter.so
|
||||
lib/gst/libgstdeinterlace.so
|
||||
%%LIBDV%%lib/gst/libgstdvdec.so
|
||||
%%LIBDVDNAV%%lib/gst/libgstdvdnavsrc.so
|
||||
%%LIBDVDREAD%%lib/gst/libgstdvdreadsrc.so
|
||||
lib/gst/libgsteffectv.so
|
||||
%%ESOUND%%lib/gst/libgstesdmon.so
|
||||
@ -28,6 +34,8 @@ lib/gst/libgstfestival.so
|
||||
lib/gst/libgstfilter.so
|
||||
%%FLAC%%lib/gst/libgstflac.so
|
||||
lib/gst/libgstflxdec.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssink.so
|
||||
%%GNOMEVFS%%lib/gst/libgstgnomevfssrc.so
|
||||
lib/gst/libgstgoom.so
|
||||
%%GSM%%lib/gst/libgstgsm.so
|
||||
%%HTTP%%lib/gst/libgsthttpsrc.so
|
||||
@ -40,6 +48,7 @@ lib/gst/libgstlevel.so
|
||||
%%LIBMAD%%lib/gst/libgstmad.so
|
||||
lib/gst/libgstmedian.so
|
||||
%%LIBMIKMOD%%lib/gst/libgstmikmod.so
|
||||
lib/gst/libgstmodplug.so
|
||||
lib/gst/libgstmono2stereo.so
|
||||
lib/gst/libgstmonoscope.so
|
||||
lib/gst/libgstmp1videoparse.so
|
||||
@ -66,9 +75,13 @@ lib/gst/libgstresample.so
|
||||
lib/gst/libgstriff.so
|
||||
lib/gst/libgstrtjpeg.so
|
||||
%%SDL%%lib/gst/libgstsdlvideosink.so
|
||||
%%LIBSHOUT%%lib/gst/libgstshout.so
|
||||
%%LIBSIDPLAY%%lib/gst/libgstsid.so
|
||||
lib/gst/libgstsilence.so
|
||||
lib/gst/libgstsinesrc.so
|
||||
lib/gst/libgstsmooth.so
|
||||
lib/gst/libgstsmpte.so
|
||||
%%PNG%%lib/gst/libgstsnapshot.so
|
||||
lib/gst/libgstspectrum.so
|
||||
lib/gst/libgstspeed.so
|
||||
lib/gst/libgststereo.so
|
||||
@ -76,6 +89,7 @@ lib/gst/libgststereo2mono.so
|
||||
lib/gst/libgststereosplit.so
|
||||
lib/gst/libgstsynaesthesia.so
|
||||
lib/gst/libgstudp.so
|
||||
lib/gst/libgstvideo.so
|
||||
lib/gst/libgstvideocrop.so
|
||||
lib/gst/libgstvideoscale.so
|
||||
lib/gst/libgstvideotestsrc.so
|
||||
@ -83,16 +97,28 @@ lib/gst/libgstvolenv.so
|
||||
lib/gst/libgstvolume.so
|
||||
%%VORBIS%%lib/gst/libgstvorbis.so
|
||||
lib/gst/libgstvumeter.so
|
||||
lib/gst/libgstwavenc.so
|
||||
lib/gst/libgstwavparse.so
|
||||
lib/gst/libgsty4menc.so
|
||||
lib/gst/libmixmatrix.so
|
||||
lib/libgstgconf-0.4.2.so.0
|
||||
lib/libgstgconf.a
|
||||
lib/libgstgconf.so
|
||||
lib/libgstplay-0.4.2.so.0
|
||||
lib/libgstplay.a
|
||||
lib/libgstplay.so
|
||||
libdata/pkgconfig/gstreamer-libs.pc
|
||||
libdata/pkgconfig/gstreamer-play.pc
|
||||
share/aclocal/gst-element-check.m4
|
||||
@dirrm include/gst-plugins/gst/video
|
||||
@dirrm include/gst-plugins/gst/riff
|
||||
@dirrm include/gst-plugins/gst/resample
|
||||
@dirrm include/gst-plugins/gst/play
|
||||
@dirrm include/gst-plugins/gst/idct
|
||||
@dirrm include/gst-plugins/gst/gconf
|
||||
@dirrm include/gst-plugins/gst/floatcast
|
||||
@dirrm include/gst-plugins/gst/audio
|
||||
@dirrm include/gst-plugins/gst
|
||||
@dirrm include/gst-plugins
|
||||
@exec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%LOCALBASE%%/bin/gst-register 2>/dev/null
|
||||
@exec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
@unexec %%X11BASE%%/bin/gst-register 2>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user