Index: head/Mk/bsd.gstreamer.mk =================================================================== --- head/Mk/bsd.gstreamer.mk (revision 563494) +++ head/Mk/bsd.gstreamer.mk (revision 563495) @@ -1,659 +1,659 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # bsd.gstreamer.mk - Support for gstreamer-plugins-based ports. # # Created by: Michael Johnson # # $FreeBSD$ # $MCom: ports/Mk/bsd.gstreamer.mk,v 1.56 2013/01/15 21:43:45 kwm Exp $ .if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include) Gstreamer_Include_MAINTAINER= multimedia@FreeBSD.org Gstreamer_Pre_Include= bsd.gstreamer.mk .endif # Ports can use the following: # # For Gstreamer 0.10: # USE_GSTREAMER= lame faac ffmpeg # # For Gstreamer 1.x the same rules apply but instead of # USE_GSTREAMER=, USE_GSTREAMER1= is used. # # If you want to use USE_GSTREAMER after # you must follow one of the examples listed below # # .include # .if defined(WITH_VORBIS) # USE_GSTREAMER= vorbis # .endif # # or # USE_GSTREAMER= yes # .include # .if defined(WITH_FAAD) # USE_GSTREAMER+= faad # .endif # .include # # USE_GSTREAMER=yes will always add a dependency to # gstreamer-plugins # # The use of WANT_GSTREAMER=yes should be discouraged. # # "Normal" dependencies and variables # GSTREAMER_PORT= ${PORTSDIR}/multimedia/gstreamer-plugins _GST_LIB_BASE= ${LOCALBASE}/lib/gstreamer-${GST_VERSION} GST_VERSION= 0.10 GST_MINOR_VERSION= .0 GST_SHLIB_VERSION= 1 GSTREAMER1_PORT= ${PORTSDIR}/multimedia/gstreamer1-plugins _GST1_LIB_BASE= ${LOCALBASE}/lib/gstreamer-${GST1_VERSION} GST1_VERSION= 1.4 GST1_MINOR_VERSION= .0 GST1_SHLIB_VERSION= 0 GST1_MINIMAL_VERSION= .0 # These are the current supported gstreamer-plugins modules: # Supported plugins by both 0.10 and 1.0. _GSTREAMER_PLUGINS= \ a52dec \ aalib \ amrnb \ amrwbdec \ cairo \ cdio \ cdparanoia \ dts \ dv \ faac \ faad \ flac \ flite \ gdkpixbuf \ gl \ gme \ gnonlin \ gsm \ jack \ jpeg \ ladspa \ lame \ libcaca \ libmms \ libvisual \ mpeg2dec \ mpeg2enc \ musepack \ neon \ ogg \ - opencv \ opus \ pango \ pulse \ resindvd \ shout2 \ sndfile \ sndio \ sidplay \ soundtouch \ soup \ speex \ taglib \ theora \ twolame \ v4l2 \ vorbis \ wavpack \ x264 # plugins only in 0.10 .if defined(USE_GSTREAMER) _GSTREAMER_PLUGINS+= \ annodex \ bz2 \ cdaudio \ dvd \ ffmpeg \ fluendo-mp3 \ fluendo-mpegdemux \ gconf \ gio \ gnomevfs \ hal \ libpng \ mad \ mp3 \ nas \ schroedinger \ spc \ sdl \ vdpau \ vp8 \ xvid .endif # USE_GSTREAMER # plugins only in 1.0 .if defined(USE_GSTREAMER1) _GSTREAMER_PLUGINS+= \ aom \ assrender \ bs2b \ chromaprint \ curl \ dash \ dtls \ dvdread \ editing-services \ gtk \ hls \ kate \ kms \ libav \ libde265 \ lv2 \ mm \ modplug \ mpg123 \ mplex \ + opencv \ openexr \ openh264 \ openjpeg \ openmpt \ png \ qt \ rsvg \ rtmp \ smoothstreaming \ spandsp \ srtp \ ttml \ vpx \ vulkan \ webp \ webrtcdsp \ x \ x265 \ ximagesrc \ zbar # vaapi .endif # USE_GSTREAMER1 # other plugins _USE_GSTREAMER_ALL= bad core good ugly yes ${_GSTREAMER_PLUGINS} #--------------------------------------------------------------------------# core_DEPENDS= multimedia/gstreamer-plugins-core core_IMPL= # yes_DEPENDS= multimedia/gstreamer-plugins yes_NAME= gstreamer-plugins yes_NAME10= gstreamer1-plugins yes_GST_PREFIX= # empty yes_IMPL= # empty # XXX check if IMPL is correct for both 0.10 and 1.0 #-- audio plugins section -------------------------------------------------# # Audio Plugins Section a52dec_DEPENDS= audio/gstreamer-plugins-a52dec a52dec_IMPL= ugly amrnb_DEPENDS= audio/gstreamer-plugins-amrnb amrnb_IMPL= ugly amrwbdec_DEPENDS= audio/gstreamer-plugins-amrwbdec amrwbdec_IMPL= ugly bs2b_DEPENDS= audio/gstreamer-plugins-bs2b bs2b_IMPL= bad cdaudio_DEPENDS= audio/gstreamer-plugins-cdaudio cdaudio_IMPL= bad cdparanoia_DEPENDS= audio/gstreamer-plugins-cdparanoia cdparanoia_IMPL= # chromaprint_DEPENDS= audio/gstreamer-plugins-chromaprint chromeprint_IMPL= bad faac_DEPENDS= audio/gstreamer-plugins-faac faac_IMPL= bad faad_DEPENDS= audio/gstreamer-plugins-faad faad_IMPL= bad flac_DEPENDS= audio/gstreamer-plugins-flac flac_IMPL= good flite_DEPENDS= audio/gstreamer-plugins-flite flite_IMPL= bad fluendo-mp3_DEPENDS= audio/gstreamer-plugins-fluendo-mp3 fluendo_IMPL= # gme_DEPENDS= audio/gstreamer-plugins-gme gme_IMPL= bad gsm_DEPENDS= audio/gstreamer-plugins-gsm gsm_IMPL= bad hal_DEPENDS= sysutils/gstreamer-plugins-hal hal_IMPL= good jack_DEPENDS= audio/gstreamer-plugins-jack jack_IMPL= good ladspa_DEPENDS= audio/gstreamer-plugins-ladspa ladspa_IMPL= bad lame_DEPENDS= audio/gstreamer-plugins-lame lame_IMPL= ugly lv2_DEPENDS= audio/gstreamer-plugins-lv2 lv2_IMPL= bad mad_DEPENDS= audio/gstreamer-plugins-mad mad_IMPL= ugly modplug_DEPENDS= audio/gstreamer-plugins-modplug modplug_IMPL= bad mp3_DEPENDS= audio/gstreamer-plugins-mp3 mp3_IMPL= # mpg123_DEPENDS= audio/gstreamer-plugins-mpg123 mpg123_IMPL= ugly musepack_DEPENDS= audio/gstreamer-plugins-musepack musepack_IMPL= bad nas_DEPENDS= audio/gstreamer-plugins-nas nas_IMPL= bad neon_DEPENDS= www/gstreamer-plugins-neon neon_IMPL= bad ogg_DEPENDS= audio/gstreamer-plugins-ogg ogg_IMPL= # opus_DEPENDS= audio/gstreamer-plugins-opus opus_IMPL= # pulse_DEPENDS= audio/gstreamer-plugins-pulse pulse_IMPL= good shout2_DEPENDS= audio/gstreamer-plugins-shout2 shout2_IMPL= good sidplay_DEPENDS= audio/gstreamer-plugins-sidplay sidplay_IMPL= ugly sndio_DEPENDS= audio/gstreamer-plugins-sndio sndio_IMPL= # sndfile_DEPENDS= audio/gstreamer-plugins-sndfile sndfile_IMPL= bad soundtouch_DEPENDS= audio/gstreamer-plugins-soundtouch soundtouch_IMPL= bad spc_DEPENDS= audio/gstreamer-plugins-spc spc_IMPL= bad speex_DEPENDS= audio/gstreamer-plugins-speex speex_IMPL= good taglib_DEPENDS= audio/gstreamer-plugins-taglib taglib_IMPL= good twolame_DEPENDS= audio/gstreamer-plugins-twolame twolame_IMPL= ugly vorbis_DEPENDS= audio/gstreamer-plugins-vorbis vorbis_IMPL= # wavpack_DEPENDS= audio/gstreamer-plugins-wavpack wavpack_IMPL= good webrtcdsp_DEPENDS= audio/gstreamer-plugins-webrtcdsp webrtcdsp_IMPL= bad #-- comms plugin section --------------------------------------------------# spandsp_DEPENDS= comms/gstreamer-plugins-spandsp spandsp_IMPL= bad #-- devel plugin section --------------------------------------------------# gconf_DEPENDS= devel/gstreamer-plugins-gconf gconf_IMPL= good gio_DEPENDS= devel/gstreamer-plugins-gio gio_IMPL= # gnomevfs_DEPENDS= devel/gstreamer-plugins-gnomevfs gnomevfs_IMPL= # sdl_DEPENDS= devel/gstreamer-plugins-sdl sdl_IMPL= bad soup_DEPENDS= devel/gstreamer-plugins-soup soup_IMPL= good #-- ftp plugin section ----------------------------------------------------# curl_DEPENDS= ftp/gstreamer-plugins-curl curl_IMPL= bad #-- graphics plugin section -----------------------------------------------# aalib_DEPENDS= graphics/gstreamer-plugins-aalib aalib_IMPL= good annodex_DEPENDS= multimedia/gstreamer-plugins-annodex annodex_IMPL= good aom_DEPENDS= multimedia/gstreamer-plugins-aom aom_IMPL= bad assrender_DEPENDS= multimedia/gstreamer-plugins-assrender assrender_IMPL= bad cairo_DEPENDS= graphics/gstreamer-plugins-cairo cairo_IMPL= good gdkpixbuf_DEPENDS= graphics/gstreamer-plugins-gdkpixbuf gdkpixbuf_IMPL= good gl_DEPENDS= graphics/gstreamer-plugins-gl gl_IMPL= bad jpeg_DEPENDS= graphics/gstreamer-plugins-jpeg jpeg_IMPL= good kms_DEPENDS= graphics/gstreamer-plugins-kms kms_IMPL= bad libcaca_DEPENDS= graphics/gstreamer-plugins-libcaca libcaca_IMPL= good libpng_DEPENDS= graphics/gstreamer-plugins-libpng libpng_IMPL= good libvisual_DEPENDS= graphics/gstreamer-plugins-libvisual libvisual_IMPL= # opencv_DEPENDS= graphics/gstreamer-plugins-opencv opencv_IMPL= bad openexr_DEPENDS= graphics/gstreamer-plugins-openexr openexr_IMPL= bad openjpeg_DEPENDS= graphics/gstreamer-plugins-openjpeg openjpeg_IMPL= bad openmpt_DEPENDS= audio/gstreamer-plugins-openmpt openmpt_IMPL= bad png_DEPENDS= graphics/gstreamer-plugins-png png_IMPL= good qt_DEPENDS= graphics/gstreamer-plugins-qt qt_IMPL= good rsvg_DEPENDS= graphics/gstreamer-plugins-rsvg rsvg_IMPL= bad webp_DEPENDS= graphics/gstreamer-plugins-webp webp_IMPL= bad zbar_DEPENDS= graphics/gstreamer-plugins-zbar zbar_IMPL= bad #-- multimedia plugins section --------------------------------------------# bad_DEPENDS= multimedia/gstreamer-plugins-bad bad_IMPL= # bz2_DEPENDS= multimedia/gstreamer-plugins-bz2 bz2_IMPL= bad dash_DEPENDS= multimedia/gstreamer-plugins-dash dash_IMPL= bad dvdread_DEPENDS= multimedia/gstreamer-plugins-dvdread dvdread_IMPL= ugly editing-services_DEPENDS= multimedia/gstreamer-editing-services editing-services_GST_PREFIX= gstreamer1- editing-services_GST_SUFX= # empty editing-services_GST_VERSION= 1.0.0 editing-services_IMPL= # ffmpeg_DEPENDS= multimedia/gstreamer-ffmpeg ffmpeg_GST_PREFIX= gstreamer- ffmpeg_GST_SUFX= # empty ffmpeg_GST_VERSION= 0.10.0 ffmpeg_IMPL= # fluendo-mpegdemux_DEPENDS= multimedia/gstreamer-plugins-fluendo-mpegdemux fluendo-mpegdemux_IMPL= # dts_DEPENDS= multimedia/gstreamer-plugins-dts dts_IMPL= bad dv_DEPENDS= multimedia/gstreamer-plugins-dv dv_IMPL= good dvd_DEPENDS= multimedia/gstreamer-plugins-dvd dvd_IMPL= ugly good_DEPENDS= multimedia/gstreamer-plugins-good good_IMPL= # gnonlin_DEPENDS= multimedia/gstreamer-plugins-gnonlin gnonlin_IMPL= good hls_DEPENDS= multimedia/gstreamer-plugins-hls hls_IMPL= bad kate_DEPENDS= multimedia/gstreamer-plugins-kate kate_IMPL= bad libav_DEPENDS= multimedia/gstreamer-libav libav_GST_PREFIX= gstreamer1- libav_GST_SUFX= # empty libav_GST_VERSION= 1.0.0 libav_IMPL= # libde265_DEPENDS= multimedia/gstreamer-plugins-libde265 libde265_IMPL= bad mm_DEPENDS= multimedia/gstreamermm mm_GST_PREFIX= gstreamer mm_GST_SUFX= # empty mm_GST_VERSION= 1.10.0 mm_IMPL= # mpeg2dec_DEPENDS= multimedia/gstreamer-plugins-mpeg2dec mpeg2dec_IMPL= ugly mpeg2enc_DEPENDS= multimedia/gstreamer-plugins-mpeg2enc mpeg2enc_IMPL= bad mplex_DEPENDS= multimedia/gstreamer-plugins-mplex mplex_IMPL= bad openh264_DEPENDS= multimedia/gstreamer-plugins-openh264 openh264_IMPL= bad rtmp_DEPENDS= multimedia/gstreamer-plugins-rtmp rtmp_IMPL= bad smoothstreaming_DEPENDS= multimedia/gstreamer-plugins-smoothstreaming smoothstreaming_IMPL= bad ttml_DEPENDS= multimedia/gstreamer-plugins-ttml ttml_IMPL= bad v4l2_DEPENDS= multimedia/gstreamer-plugins-v4l2 v4l2_IMPL= good # hmmm vaapi_DEPENDS= multimedia/gstreamer-vaapi vaapi_IMPL= bad vp8_DEPENDS= multimedia/gstreamer-plugins-vp8 vp8_IMPL= bad vpx_DEPENDS= multimedia/gstreamer-plugins-vpx vpx_IMPL= good vulkan_DEPENDS= graphics/gstreamer-plugins-vulkan vulkan_IMPL= bad resindvd_DEPENDS= multimedia/gstreamer-plugins-resindvd resindvd_IMPL= bad schroedinger_DEPENDS= multimedia/gstreamer-plugins-schroedinger schroedinger_IMPL= bad theora_DEPENDS= multimedia/gstreamer-plugins-theora theora_IMPL= # ugly_DEPENDS= multimedia/gstreamer-plugins-ugly ugly_IMPL= # vdpau_DEPENDS= multimedia/gstreamer-plugins-vdpau vdpau_IMPL= bad x264_DEPENDS= multimedia/gstreamer-plugins-x264 x264_IMPL= ugly x265_DEPENDS= multimedia/gstreamer-plugins-x265 x265_IMPL= bad xvid_DEPENDS= multimedia/gstreamer-plugins-xvid xvid_IMPL= bad #-- Net Plugins Section ---------------------------------------------------# libmms_DEPENDS= net/gstreamer-plugins-libmms libmms_IMPL= bad srtp_DEPENDS= net/gstreamer-plugins-srtp srtp_IMPL= bad #-- security plugins section ----------------------------------------------# dtls_DEPENDS= security/gstreamer-plugins-dtls dtls_IMPL= bad #-- sysutils plugins section ----------------------------------------------# cdio_DEPENDS= sysutils/gstreamer-plugins-cdio cdio_IMPL= ugly #-- x11 plugins section ---------------------------------------------------# x_DEPENDS= x11/gstreamer-plugins-x x_IMPL= # ximagesrc_DEPENDS= x11/gstreamer-plugins-ximagesrc ximagesrc_IMPL= good #-- x11-toolkits plugins section ------------------------------------------# gtk_DEPENDS= x11-toolkits/gstreamer-plugins-gtk gtk_IMPL= bad pango_DEPENDS= x11-toolkits/gstreamer-plugins-pango pango_IMPL= # #--------------------------------------------------------------------------# .if defined(_POSTMKINCLUDED) && !defined(Gstreamer_Post_Include) Gstreamer_Post_Include= bsd.gstreamer.mk .if (defined (USE_GSTREAMER) && defined(USE_GSTREAMER1)) IGNORE= USE_GSTREAMER and USE_GSTREAMER1 can't be used together .endif _GST_IMPL_LIST:= # .if defined(USE_GSTREAMER) # update this with the gst 1.0 version below . for ext in ${USE_GSTREAMER} ${ext}_GST_PREFIX?= gstreamer-plugins- ${ext}_GST_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION} ${ext}_NAME?= ${ext} . if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS}) _GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS} _GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS} _GST_GST_IMPL_LIST+= ${${ext}_IMPL} . else IGNORE= cannot install: unknown gstreamer ${GST_VERSION} plugin -- ${ext} . endif . endfor # everything wants this _GST_BUILD_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins _GST_LIB_DEPENDS+= libgstreamer-0.10.so:multimedia/gstreamer _GST_RUN_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins . for plugin in ${_GST_IMPL_LIST:O:u} _GST_BUILD_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin} _GST_RUN_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin} . endfor BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u} LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u} RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u} .endif .if defined(USE_GSTREAMER1) . for ext in ${USE_GSTREAMER1} ${ext}_GST_PREFIX?= gstreamer1-plugins- ${ext}_GST_VERSION?= ${GST1_VERSION} ${ext}_NAME10?= ${ext} ${ext}_GST_DEPENDS?= ${${ext}_DEPENDS:S,gstreamer-,gstreamer1-,} . if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_GST_DEPENDS}) _GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS} _GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS} . if defined(${ext}1_IMPL) _GST_IMPL_LIST+= ${${ext}1_IMPL} . else _GST_IMPL_LIST+= ${${ext}_IMPL} . endif . else IGNORE= cannot install: unknown gstreamer ${GST1_VERSION} plugin -- ${ext} . endif . endfor # everything wants this _GST_BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins _GST_LIB_DEPENDS+= libgstreamer-1.0.so:multimedia/gstreamer1 _GST_RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins . for plugin in ${_GST_IMPL_LIST:O:u} _GST_BUILD_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin} _GST_RUN_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin} . endfor BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u} LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u} RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u} .endif # The End .endif Index: head/graphics/gstreamer-plugins-opencv/Makefile =================================================================== --- head/graphics/gstreamer-plugins-opencv/Makefile (revision 563494) +++ head/graphics/gstreamer-plugins-opencv/Makefile (revision 563495) @@ -1,13 +1,15 @@ # Created by: Koop Mast # $FreeBSD$ PORTREVISION= 7 CATEGORIES= graphics COMMENT= Gstreamer opencv real time computer vision plugin +BROKEN= OpenCV4 no longer ships OpenCV-1.0 headers + GST_PLUGIN= opencv MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins .include "${MASTERDIR}/Makefile" Index: head/multimedia/gstreamer-plugins/Makefile.common =================================================================== --- head/multimedia/gstreamer-plugins/Makefile.common (revision 563494) +++ head/multimedia/gstreamer-plugins/Makefile.common (revision 563495) @@ -1,655 +1,647 @@ # $FreeBSD$ # $MCom: ports/multimedia/gstreamer-plugins/Makefile.common,v 1.81 2010/03/16 19:33:10 mezz Exp $ # base BASE_GST_ALL_PLUGINS= \ alsa \ cdparanoia \ gio \ gnomevfs \ libvisual \ ogg \ pango \ theora \ vorbis # bad BAD_GST_ALL_PLUGINS+= \ alsaspdif \ amrwb \ apexsink \ assrender \ bz2 \ cdaudio \ celt \ cog \ dc1394 \ dirac \ directfb \ divx \ dts \ exif \ faac \ faad \ flite \ gme \ gsm \ jack \ jp2k \ kate \ ladspa \ libmms \ lv2 \ metadata \ mimic \ modplug \ mpeg2enc \ mplex \ musepack \ musicbrainz \ mythtv \ nas \ neon \ ofa \ - opencv \ opus \ resindvd \ rsvg \ schro \ sdl \ shm \ sndfile \ soundtouch \ spc \ theoradec \ timidity \ vdpau \ vp8 \ xvid \ zbar # good GOOD_GST_ALL_PLUGINS+= \ aalib \ annodex \ cairo \ dv \ flac \ gconf \ gdk_pixbuf \ hal \ jpeg \ libcaca \ libpng \ pulse \ raw1394 \ shout2 \ soup \ speex \ taglib \ gst_v4l2 \ wavpack # ugly UGLY_GST_ALL_PLUGINS+= \ a52dec \ amrnb \ amrwbdec \ cdio \ dvdread \ lame \ mad \ mpeg2dec \ sidplay \ twolame \ x264 .for i in ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} ${UGLY_GST_ALL_PLUGINS} gst_${i}_GCONF_SCHEMAS?= # Empty gst_${i}_USE_SDL?= # Empty .endfor CONFIG_GST_PLUGINS= gnome_vfs GST_ALL_PLUGINS= ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} \ ${GOOD_GST_ALL_PLUGINS} ${UGLY_ALL_PLUGINS} \ ${CONFIG_GST_PLUGINS} # Disable all plugins by default .for d in ${GST_ALL_PLUGINS} CONFIGURE_ARGS+= --disable-${d} .endfor CONFIGURE_ARGS+= --enable-${GST_PLUGIN} CONFIGURE_ARGS+=--disable-tests \ --disable-examples \ --disable-cd1394 \ --disable-acm \ --disable-apexsink \ --disable-alsa \ --enable-cog \ --enable-dvb \ --disable-fbdev \ --disable-directfb \ --disable-http \ --enable-cdrom \ --disable-gconf \ --disable-gconftool \ --disable-schemas-install \ --enable-oss \ --enable-oss4 \ --disable-osx_audio \ --disable-osx_video \ --disable-directdrawsink \ --disable-directsoundsink \ --disable-tarkin \ --enable-shm \ --enable-static \ --disable-sunaudio \ --disable-wildmidi \ --disable-xine \ --disable-ivorbis \ --enable-x \ --enable-xshm \ --enable-xvideo # we need glib 2.26 for this. (is from -bad) CONFIGURE_ARGS+=--disable-gsettings .if !defined(NO_GSTREAMER_COMMON) GST_PLUGIN_SUFFIX?= -${GST_PLUGIN} # Enable the right plugin CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|} GST_INC_DIR= include/gstreamer-${VERSION} GST_LIB_DIR= lib/gstreamer-${VERSION} # Auto create PLIST PLIST= ${NONEXISTENT} # a52dec gst_a52dec_LIB_DEPENDS+= liba52.so:audio/liba52 gst_a52dec_PLIST_FILES= ${GST_LIB_DIR}/libgsta52dec.la \ ${GST_LIB_DIR}/libgsta52dec.so gst_a52dec_DIST= ugly # aalib gst_aalib_LIB_DEPENDS+= libaa.so:graphics/aalib gst_aalib_PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so \ ${GST_LIB_DIR}/libgstaasink.la # amrnb gst_amrnb_BUILD_DEPENDS+=opencore-amr>=0.1.3:audio/opencore-amr gst_amrnb_LIB_DEPENDS+= libopencore-amrnb.so:audio/opencore-amr gst_amrnb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrnb.la \ ${GST_LIB_DIR}/libgstamrnb.so \ share/gstreamer-${VERSION}/presets/GstAmrnbEnc.prs gst_amrnb_DIST= ugly # amrwbdec gst_amrwbdec_BUILD_DEPENDS+= opencore-amr>=0.1.3:audio/opencore-amr gst_amrwbdec_LIB_DEPENDS+= libopencore-amrwb.so:audio/opencore-amr gst_amrwbdec_CONFIGURE_ARGS+= --enable-amrwb gst_amrwbdec_PLIST_FILES= ${GST_LIB_DIR}/libgstamrwbdec.la \ ${GST_LIB_DIR}/libgstamrwbdec.so gst_amrwbdec_DIST= ugly # annodex gst_annodex_USE_GNOME= libxml2 gst_annodex_PLIST_FILES= ${GST_LIB_DIR}/libgstannodex.la \ ${GST_LIB_DIR}/libgstannodex.so # bz2 gst_bz2_PLIST_FILES= ${GST_LIB_DIR}/libgstbz2.la \ ${GST_LIB_DIR}/libgstbz2.so gst_bz2_DIST= bad # cairo gst_cairo_USE_GNOME= cairo gst_cairo_PLIST_FILES= ${GST_LIB_DIR}/libgstcairo.la \ ${GST_LIB_DIR}/libgstcairo.so # cdaudio gst_cdaudio_LIB_DEPENDS+= libcdaudio.so:audio/libcdaudio gst_cdaudio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdaudio.la \ ${GST_LIB_DIR}/libgstcdaudio.so gst_cdaudio_DIST= bad # cdparanoia gst_cdparanoia_LIB_DEPENDS+= libcdda_interface.so:audio/cdparanoia gst_cdparanoia_EXTRA_LIBS+= -lgstcdda-${VERSION} gst_cdparanoia_PLIST_FILES= ${GST_LIB_DIR}/libgstcdparanoia.la \ ${GST_LIB_DIR}/libgstcdparanoia.so gst_cdparanoia_DIST= base # cdio gst_cdio_LIB_DEPENDS+= libcdio.so:sysutils/libcdio gst_cdio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdio.la \ ${GST_LIB_DIR}/libgstcdio.so gst_cdio_DIST= ugly # dts gst_dts_LIB_DEPENDS+= libdca.so:multimedia/libdca gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.la \ ${GST_LIB_DIR}/libgstdtsdec.so gst_dts_EXTRA_LIBS+= -ldca gst_dts_DIST= bad # dv gst_dv_LIB_DEPENDS+= libdv.so:multimedia/libdv gst_dv_PLIST_FILES= ${GST_LIB_DIR}/libgstdv.la \ ${GST_LIB_DIR}/libgstdv.so # dvd gst_dvd_LIB_DEPENDS+= libdvdread.so:multimedia/libdvdread gst_dvd_GST_PLUGIN_DIR= ext/dvdread gst_dvd_PLIST_FILES= ${GST_LIB_DIR}/libgstdvdread.la \ ${GST_LIB_DIR}/libgstdvdread.so gst_dvd_DIST= ugly # exif # hmm not a real plugin, seems to be part of metadata? #gst_exif_LIB_DEPENDS+= libexif.so:graphics/libexif #gst_exif_PLIST_FILES= ${GST_LIB_DIR}/libgstexif.la \ # ${GST_LIB_DIR}/libgstexif.so #gst_exif_DIST= bad # faac gst_faac_LIB_DEPENDS+= libfaac.so:audio/faac gst_faac_PLIST_FILES= ${GST_LIB_DIR}/libgstfaac.la \ ${GST_LIB_DIR}/libgstfaac.so gst_faac_DIST= bad # faad gst_faad_USE_GSTREAMER+= bad gst_faad_LIB_DEPENDS+= libfaad.so:audio/faad gst_faad_PLIST_FILES= ${GST_LIB_DIR}/libgstfaad.la \ ${GST_LIB_DIR}/libgstfaad.so gst_faad_DIST= bad # flac gst_flac_LIB_DEPENDS+= libFLAC.so:audio/flac gst_flac_PLIST_FILES= ${GST_LIB_DIR}/libgstflac.la \ ${GST_LIB_DIR}/libgstflac.so # flite gst_flite_LIB_DEPENDS+= libflite.so:audio/flite gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \ ${GST_LIB_DIR}/libgstflite.so gst_flite_DIST= bad # gconf gst_gconf_USE_GNOME+= gnomeprefix gconf2 gst_gconf_GST_PLUGIN_DIR= ext/gconf \ gconf gst_gconf_CONFIGURE_ARGS+= --enable-schemas-install gst_gconf_GCONF_SCHEMAS= gstreamer-${GST_VERSION}.schemas gst_gconf_PLIST_FILES= ${GST_LIB_DIR}/libgstgconfelements.so \ ${GST_LIB_DIR}/libgstgconfelements.la # gdk_pixbuf gst_gdk_pixbuf_USE_GNOME+= gtk20 gst_gdk_pixbuf_GST_PLUGIN_DIR= ext/gdk_pixbuf gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.la \ ${GST_LIB_DIR}/libgstgdkpixbuf.so # gio gst_gio_USE_GNOME+= glib20 gst_gio_CONFIGURE_ARGS+=--enable-experimental gst_gio_PLIST_FILES= ${GST_LIB_DIR}/libgstgio.la \ ${GST_LIB_DIR}/libgstgio.so gst_gio_DIST= base # gme gst_gme_LIB_DEPENDS+= libgme.so:audio/libgme gst_gme_PLIST_FILES= ${GST_LIB_DIR}/libgstgme.la \ ${GST_LIB_DIR}/libgstgme.so gst_gme_DIST= bad # gnomevfs gst_gnomevfs_USE_GNOME+= gnomevfs2 gst_gnomevfs_CONFIGURE_ARGS+=--enable-gnome_vfs gst_gnomevfs_PLIST_FILES= ${GST_LIB_DIR}/libgstgnomevfs.la \ ${GST_LIB_DIR}/libgstgnomevfs.so gst_gnomevfs_DIST= base # gsm gst_gsm_LIB_DEPENDS+= libgsm.so:audio/gsm gst_gsm_PLIST_FILES= ${GST_LIB_DIR}/libgstgsm.la \ ${GST_LIB_DIR}/libgstgsm.so gst_gsm_DIST= bad # hal gst_hal_LIB_DEPENDS+= libhal.so:sysutils/hal gst_hal_PLIST_FILES= ${GST_LIB_DIR}/libgsthalelements.la \ ${GST_LIB_DIR}/libgsthalelements.so # jack gst_jack_LIB_DEPENDS+= libjack.so:audio/jack gst_jack_PLIST_FILES= ${GST_LIB_DIR}/libgstjack.la \ ${GST_LIB_DIR}/libgstjack.so gst_jack_DIST= good # jpeg gst_jpeg_USES= jpeg gst_jpeg_PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.la \ ${GST_LIB_DIR}/libgstjpeg.so # ladspa gst_ladspa_BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:audio/ladspa gst_ladspa_LIB_DEPENDS+= liblrdf.so:textproc/liblrdf gst_ladspa_PLIST_FILES= ${GST_LIB_DIR}/libgstladspa.la \ ${GST_LIB_DIR}/libgstladspa.so gst_ladspa_DIST= bad # lame gst_lame_LIB_DEPENDS+= libmp3lame.so:audio/lame gst_lame_PLIST_FILES= ${GST_LIB_DIR}/libgstlame.la \ ${GST_LIB_DIR}/libgstlame.so gst_lame_DIST= ugly # libcaca gst_libcaca_LIB_DEPENDS+= libcaca.so:graphics/libcaca gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so \ ${GST_LIB_DIR}/libgstcacasink.la # libmms gst_libmms_LIB_DEPENDS+= libmms.so:net/libmms gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \ ${GST_LIB_DIR}/libgstmms.la gst_libmms_DIST= bad # libpng and the snapshot plugin gst_libpng_LIB_DEPENDS+= libpng.so:graphics/png gst_libpng_GST_PLUGIN_DIR= ext/libpng gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \ ${GST_LIB_DIR}/libgstpng.la # libvisual gst_libvisual_LIB_DEPENDS+= libvisual-0.4.so:graphics/libvisual04 gst_libvisual_PLIST_FILES= ${GST_LIB_DIR}/libgstlibvisual.la \ ${GST_LIB_DIR}/libgstlibvisual.so gst_libvisual_DIST= base # mad gst_mad_LIB_DEPENDS+= libmad.so:audio/libmad \ libid3tag.so:audio/libid3tag gst_mad_PLIST_FILES= ${GST_LIB_DIR}/libgstmad.la \ ${GST_LIB_DIR}/libgstmad.so gst_mad_DIST= ugly # mpeg2enc gst_mpeg2enc_LIB_DEPENDS+= libmjpegutils.so:multimedia/mjpegtools gst_mpeg2enc_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2enc.la \ ${GST_LIB_DIR}/libgstmpeg2enc.so gst_mpeg2enc_DIST= bad # mpeg2dec gst_mpeg2dec_LIB_DEPENDS+= libmpeg2.so:multimedia/libmpeg2 gst_mpeg2dec_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2dec.la \ ${GST_LIB_DIR}/libgstmpeg2dec.so gst_mpeg2dec_DIST= ugly # musepack gst_musepack_LIB_DEPENDS+= libmpcdec.so:audio/musepack gst_musepack_PLIST_FILES= ${GST_LIB_DIR}/libgstmusepack.la \ ${GST_LIB_DIR}/libgstmusepack.so gst_musepack_DIST= bad # nas gst_nas_LIB_DEPENDS+= libaudio.so:audio/nas gst_nas_DIST= bad gst_nas_PLIST_FILES= ${GST_LIB_DIR}/libgstnassink.la \ ${GST_LIB_DIR}/libgstnassink.so # neon gst_neon_LIB_DEPENDS+= libneon.so:www/neon gst_neon_CONFIGURE_ENV+= NEON_CFLAGS="-I${LOCALBASE}/include/neon" gst_neon_PLIST_FILES= ${GST_LIB_DIR}/libgstneonhttpsrc.la \ ${GST_LIB_DIR}/libgstneonhttpsrc.so gst_neon_DIST= bad # ogg gst_ogg_LIB_DEPENDS+= libogg.so:audio/libogg gst_ogg_EXTRA_LIBS+= -lgstriff-${VERSION} gst_ogg_PLIST_FILES= ${GST_LIB_DIR}/libgstogg.la \ ${GST_LIB_DIR}/libgstogg.so gst_ogg_DIST= base - -# opencv -gst_opencv_LIB_DEPENDS+=libopencv_highgui.so:graphics/opencv -gst_opencv_CONFIGURE_ENV+= OPENCV_CFLAGS="-I${LOCALBASE}/include/opencv" -gst_opencv_PLIST_FILES= ${GST_LIB_DIR}/libgstopencv.la \ - ${GST_LIB_DIR}/libgstopencv.so -gst_opencv_DIST= bad # opus gst_opus_LIB_DEPENDS+= libopus.so:audio/opus gst_opus_PLIST_FILES= ${GST_LIB_DIR}/libgstopus.la \ ${GST_LIB_DIR}/libgstopus.so gst_opus_DIST= bad # pango gst_pango_USE_GNOME+= pango gst_pango_PLIST_FILES= ${GST_LIB_DIR}/libgstpango.la \ ${GST_LIB_DIR}/libgstpango.so gst_pango_DIST= base # pulse gst_pulse_LIB_DEPENDS= libpulse.so:audio/pulseaudio gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulse.la \ ${GST_LIB_DIR}/libgstpulse.so gst_pulse_DIST= good # resindvd gst_resindvd_BUILD_DEPENDS+= libdvdnav>=4.1.2:multimedia/libdvdnav gst_resindvd_RUN_DEPENDS+= libdvdnav>=4.1.2:multimedia/libdvdnav gst_resindvd_PLIST_FILES= ${GST_LIB_DIR}/libresindvd.la \ ${GST_LIB_DIR}/libresindvd.so gst_resindvd_DIST= bad # sdl gst_sdl_USES= sdl gst_sdl_USE_SDL+= sdl gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \ ${GST_LIB_DIR}/libgstsdl.so gst_sdl_DIST= bad # shout2 gst_shout2_LIB_DEPENDS+= libshout.so:audio/libshout gst_shout2_PLIST_FILES= ${GST_LIB_DIR}/libgstshout2.la \ ${GST_LIB_DIR}/libgstshout2.so # sidplay gst_sidplay_LIB_DEPENDS+= libsidplay.so:audio/libsidplay gst_sidplay_PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so \ ${GST_LIB_DIR}/libgstsid.la gst_sidplay_DIST= ugly # sndfile gst_sndfile_LIB_DEPENDS+= libsndfile.so:audio/libsndfile gst_sndfile_PLIST_FILES= ${GST_LIB_DIR}/libgstsndfile.la \ ${GST_LIB_DIR}/libgstsndfile.so gst_sndfile_DIST= bad # soundtouch gst_soundtouch_LIB_DEPENDS+= libSoundTouch.so:audio/soundtouch gst_soundtouch_PLIST_FILES= ${GST_LIB_DIR}/libgstsoundtouch.la \ ${GST_LIB_DIR}/libgstsoundtouch.so gst_soundtouch_DIST= bad # souphttpsrc gst_soup_LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup gst_soup_GST_PLUGIN_DIR=ext/soup gst_soup_PLIST_FILES= ${GST_LIB_DIR}/libgstsouphttpsrc.la \ ${GST_LIB_DIR}/libgstsouphttpsrc.so # spc gst_spc_LIB_DEPENDS+= libopenspc.so:audio/libopenspc gst_spc_PLIST_FILES= ${GST_LIB_DIR}/libgstspc.la \ ${GST_LIB_DIR}/libgstspc.so gst_spc_DIST= bad # speex gst_speex_LIB_DEPENDS+= libspeex.so:audio/speex gst_speex_PLIST_FILES= ${GST_LIB_DIR}/libgstspeex.la \ ${GST_LIB_DIR}/libgstspeex.so # schro(edinger) gst_schroedinger_LIB_DEPENDS+= libschroedinger-1.0.so:multimedia/schroedinger gst_schroedinger_CONFIGURE_ARGS+=--enable-schro gst_schroedinger_PLIST_FILES= ${GST_LIB_DIR}/libgstschro.la \ ${GST_LIB_DIR}/libgstschro.so gst_schroedinger_DIST= bad # taglib gst_taglib_LIB_DEPENDS+= libtag.so:audio/taglib gst_taglib_PLIST_FILES= ${GST_LIB_DIR}/libgsttaglib.la \ ${GST_LIB_DIR}/libgsttaglib.so # theora gst_theora_LIB_DEPENDS+= libtheora.so:multimedia/libtheora gst_theora_PLIST_FILES= ${GST_LIB_DIR}/libgsttheora.la \ ${GST_LIB_DIR}/libgsttheora.so gst_theora_DIST= base # twolame gst_twolame_LIB_DEPENDS+= libtwolame.so:audio/twolame gst_twolame_PLIST_FILES= ${GST_LIB_DIR}/libgsttwolame.la \ ${GST_LIB_DIR}/libgsttwolame.so gst_twolame_DIST= ugly # gst_v4l2 gst_gst_v4l2_LIB_DEPENDS+= libv4l2.so:multimedia/libv4l .if ${OPSYS} == FreeBSD gst_gst_v4l2_RUN_DEPENDS+= webcamd:multimedia/webcamd .endif gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.la \ ${GST_LIB_DIR}/libgstvideo4linux2.so gst_gst_v4l2_CONFIGURE_ARGS+= --enable-gst_v4l2 gst_gst_v4l2_GST_PLUGIN_DIR=sys/v4l2 gst_gst_v4l2_DIST= good # vdpau gst_vdpau_LIB_DEPENDS+= libvdpau.so:multimedia/libvdpau gst_vdpau_GST_PLUGIN_DIR=sys/vdpau gst_vdpau_PLIST_FILES= ${GST_INC_DIR}/gst/vdpau/gstvdp.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpbuffer.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpbufferpool.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpdecoder.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpdevice.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputbuffer.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputbufferpool.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpoutputsrcpad.h \ ${GST_INC_DIR}/gst/vdpau/gstvdputils.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpvideobuffer.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpvideobufferpool.h \ ${GST_INC_DIR}/gst/vdpau/gstvdpvideosrcpad.h \ ${GST_LIB_DIR}/libgstvdpau.la \ ${GST_LIB_DIR}/libgstvdpau.so \ lib/libgstvdp-${VERSION}.la \ lib/libgstvdp-${VERSION}.so \ lib/libgstvdp-${VERSION}.so.0 \ lib/libgstvdp-${VERSION}.so.0.0.0 gst_vdpau_PLIST_DIRS= ${GST_INC_DIR}/gst/vdpau gst_vdpau_DIST= bad # vorbis gst_vorbis_USE_GSTREAMER+= ogg gst_vorbis_LIB_DEPENDS+= libvorbis.so:audio/libvorbis gst_vorbis_EXTRA_LIBS+= -lgsttag-${VERSION} -lgstaudio-${VERSION} gst_vorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstvorbis.la \ ${GST_LIB_DIR}/libgstvorbis.so gst_vorbis_DIST= base # vp8 gst_vp8_BUILD_DEPENDS+= libvpx>=1.1.0:multimedia/libvpx gst_vp8_LIB_DEPENDS+= libvpx.so:multimedia/libvpx gst_vp8_PLIST_FILES= ${GST_LIB_DIR}/libgstvp8.la \ ${GST_LIB_DIR}/libgstvp8.so gst_vp8_DIST= bad # x264 gst_x264_LIB_DEPENDS+= libx264.so:multimedia/libx264 gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.la \ ${GST_LIB_DIR}/libgstx264.so \ share/gstreamer-${VERSION}/presets/GstX264Enc.prs gst_x264_DIST= ugly # xvid gst_xvid_LIB_DEPENDS+= libxvidcore.so:multimedia/xvid gst_xvid_PLIST_FILES= ${GST_LIB_DIR}/libgstxvid.la \ ${GST_LIB_DIR}/libgstxvid.so gst_xvid_DIST= bad # wavpack gst_wavpack_LIB_DEPENDS+= libwavpack.so:audio/wavpack gst_wavpack_PLIST_FILES= ${GST_LIB_DIR}/libgstwavpack.la \ ${GST_LIB_DIR}/libgstwavpack.so .endif # NO_GSTREAMER_COMMON gst_${GST_PLUGIN}_DIST?= good DIST= ${gst_${GST_PLUGIN}_DIST} .if !defined(NO_GSTREAMER_COMMON) gst_${GST_PLUGIN}_BUILD_DEPENDS?= gst_${GST_PLUGIN}_LIB_DEPENDS?= gst_${GST_PLUGIN}_RUN_DEPENDS?= gst_${GST_PLUGIN}_USES?= gst_${GST_PLUGIN}_PLIST_FILES?=${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so \ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.a \ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la gst_${GST_PLUGIN}_EXTRA_LIBS?= gst_${GST_PLUGIN}_PREBUILD_DIR?= gst_${GST_PLUGIN}_GST_PLUGIN_DIR?= ext/${GST_PLUGIN} gst_${GST_PLUGIN}_POSTBUILD_DIR?= gst_${GST_PLUGIN}_USE_GNOME?= gst_${GST_PLUGIN}_CONFIGURE_ENV?= gst_${GST_PLUGIN}_GCONF_SCHEMAS?= gst_${GST_PLUGIN}_GLIB_SCHEMAS?= gst_${GST_PLUGIN}_CONFIGURE_ARGS?= gst_${GST_PLUGIN}_USE_SDL?= gst_${GST_PLUGIN}_USE_GSTREAMER?= BUILD_DEPENDS+= ${gst_${GST_PLUGIN}_BUILD_DEPENDS} LIB_DEPENDS+= ${gst_${GST_PLUGIN}_LIB_DEPENDS} RUN_DEPENDS+= ${gst_${GST_PLUGIN}_RUN_DEPENDS} USES+= ${gst_${GST_PLUGIN}_USES} PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES} PLIST_DIRS= ${gst_${GST_PLUGIN}_PLIST_DIRS} EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} .if ${gst_${GST_PLUGIN}_USE_GNOME}!="" USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} .endif CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} .if ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="" GCONF_SCHEMAS= ${gst_${GST_PLUGIN}_GCONF_SCHEMAS} .endif .if ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}!="" GLIB_SCHEMAS= ${gst_${GST_PLUGIN}_GLIB_SCHEMAS} .endif CONFIGURE_ARGS+=${gst_${GST_PLUGIN}_CONFIGURE_ARGS} .if ${gst_${GST_PLUGIN}_USE_SDL}!="" USE_SDL= ${gst_${GST_PLUGIN}_USE_SDL} .endif USE_GSTREAMER+= ${gst_${GST_PLUGIN}_USE_GSTREAMER} ${DIST:S/base/yes/} GST_PREBUILD_DIR=${gst_${GST_PLUGIN}_GST_PREBUILD_DIR} GST_PLUGIN_DIR= ${gst_${GST_PLUGIN}_GST_PLUGIN_DIR} GST_POSTBUILD_DIR=${gst_${GST_PLUGIN}_GST_POSTBUILD_DIR} .if !target(do-build) do-build: .for dir in ${GST_PREBUILD_DIR} ${GST_PLUGIN_DIR} ${GST_POSTBUILD_DIR} @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} .endfor .endif .if !target(do-install) do-install: .for dir in ${GST_PLUGIN_DIR} @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .endif .endif Index: head/multimedia/gstreamer1-plugins/Makefile =================================================================== --- head/multimedia/gstreamer1-plugins/Makefile (revision 563494) +++ head/multimedia/gstreamer1-plugins/Makefile (revision 563495) @@ -1,202 +1,205 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= gstreamer PORTVERSION?= ${BASE_PORTVERSION} # When chasing a shared library for a plug-in bump the PORTREVISION in the # plug-in port instead, like ${category}/gstreamer1-plugin-${PLUGIN}. PORTREVISION?= 2 CATEGORIES?= multimedia audio MASTER_SITES= GNOME/sources/gst-plugins-base/${PORTVERSION:R}:base \ GNOME/sources/gst-plugins-good/${PORTVERSION:R}:good \ http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly PKGNAMESUFFIX?= 1-plugins${GST_PLUGIN_SUFFIX} MAINTAINER= multimedia@FreeBSD.org COMMENT?= GStreamer written collection of plugins handling several media types LICENSE= LGPL20 BUILD_DEPENDS+= gstreamer1>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1 \ iso-codes>=0:misc/iso-codes \ orc>=0.4.16:devel/orc LIB_DEPENDS+= libgstreamer-1.0.so:multimedia/gstreamer1 \ libfreetype.so:print/freetype2 \ liborc-0.4.so:devel/orc RUN_DEPENDS+= iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even BASE_PORTVERSION= 1.16.2 BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} BAD_PORTVERSION= 1.16.2 BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} GOOD_PORTVERSION= 1.16.2 GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} UGLY_PORTVERSION= 1.16.2 UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} DIST?= base USES+= gettext gmake gnome libtool pathfix pkgconfig python tar:xz WANT_GSTREAMER= yes USE_GNOME+= glib20 introspection:build libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GST_PLUGIN?= base USE_LDCONFIG= yes CFLAGS+= -Wno-format CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${EXTRA_LIBS} CONFIGURE_ARGS+= --disable-fatal-warnings DEFAULT_AUDIOSINK?= osssink DEFAULT_AUDIOSRC?= osssrc .if ${DIST}=="" IGNORE= DIST not specified .endif VERSION= 1.0 SOVERSION= 0.1602.0 PLIST_SUB+= VERSION="${VERSION}" \ SOVERSION="${SOVERSION}" # Include bsd.port.options.mk and not bsd.port.pre.mk to be able to use USES .include .if ${GST_PLUGIN} == "base" DIST= base NO_GSTREAMER_COMMON= yes .else BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins .endif .if ${DIST} == base || ${DIST} == ugly # --with-default-audiosink specify default audio sink # --with-default-audiosrc specify default audio source # --with-default-videosink specify default video sink # --with-default-videosrc specify default video source # --with-default-visualizer specify default visualizer CONFIGURE_ARGS+=--with-default-audiosink="${DEFAULT_AUDIOSINK}" \ --with-default-audiosrc="${DEFAULT_AUDIOSRC}" .endif .include "${MASTERDIR}/Makefile.common" .if ${DIST}=="base" EXTRACT_ONLY=${BASE_DISTFILE} WRKSRC=${WRKDIR}/${BASE_DISTNAME} PORTVERSION= ${BASE_PORTVERSION} DISTFILES+= ${BASE_DISTFILE}:base PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins/files .elif ${DIST}=="bad" EXTRACT_ONLY=${BAD_DISTFILE} WRKSRC=${WRKDIR}/${BAD_DISTNAME} PORTVERSION= ${BAD_PORTVERSION} DISTFILES+= ${BAD_DISTFILE}:bad PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-bad/files .elif ${DIST}=="ugly" EXTRACT_ONLY=${UGLY_DISTFILE} WRKSRC=${WRKDIR}/${UGLY_DISTNAME} PORTVERSION= ${UGLY_PORTVERSION} DISTFILES+= ${UGLY_DISTFILE}:ugly PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-ugly/files .elif ${DIST}=="good" EXTRACT_ONLY=${GOOD_DISTFILE} WRKSRC=${WRKDIR}/${GOOD_DISTNAME} PORTVERSION= ${GOOD_PORTVERSION} DISTFILES+= ${GOOD_DISTFILE}:good PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-good/files .elif ${DIST}=="makesum" DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \ ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good .else BROKEN= Unknown dist setting .endif # cdrom/dvd default device .ifdef(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else DEFAULT_DVD_DEVICE=/dev/cd0 .endif post-patch: .if ${DIST} == bad # custom rule to fix opencv detection in configure # @${REINPLACE_CMD} -e 's|opencv <= 2.4.8|opencv <= 2.4.9|g' \ # ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \ ${WRKSRC}/ext/resindvd/resindvdbin.c \ ${WRKSRC}/ext/resindvd/resindvdsrc.c # Fix dependency on neon-0.31 ${REINPLACE_CMD} -e '/neon/s|0.30.99|0.31.99|g' \ ${WRKSRC}/configure +# Fix build against OpenCV 4.5.1 + ${REINPLACE_CMD} '/opencv/s|4\.2\.0|4.6.0|g' \ + ${WRKSRC}/configure .endif .if ${DIST} != ugly @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys \ -name Makefile.in | ${XARGS} -n 10 ${REINPLACE_CMD} -e \ '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/.*.la,,' -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la|-lgsttag-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la|-lgstaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la|-lgstpbutils-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_API_VERSION@.la|-lgstriff-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_API_VERSION@.la|-lgstsignalprocessor-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_API_VERSION@.la|-lgstbasevideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la|-lgstvideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la|-lgstbadbase-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la|-lgsturidownloader-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la|-lgstadaptivedemux-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-@GST_API_VERSION@.la|-lgstcodecparsers-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/allocators/libgstbadallocators-@GST_API_VERSION@.la|-lgstbadallocators-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstbadaudio-@GST_API_VERSION@.la|-lgstbadaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la|-lgstbadvideo-${VERSION}|' @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys -name Makefile.in | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/.*.la,,' -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_API_VERSION).la|-lgsttag-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_API_VERSION).la|-lgstaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$$(GST_API_VERSION).la|-lgstpbutils-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_API_VERSION).la|-lgstriff-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_API_VERSION).la|-lgstsignalprocessor-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_API_VERSION).la|-lgstbasevideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_API_VERSION).la|-lgstvideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/base/libgstbadbase-$$(GST_API_VERSION).la|-lgstbadbase-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-$$(GST_API_VERSION).la|-lgsturidownloader-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la|-lgstadaptivedemux-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-$$(GST_API_VERSION).la|-lgstcodecparsers-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/allocators/libgstbadallocators-$$(GST_API_VERSION).la|-lgstbadallocators-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstbadaudio-$$(GST_API_VERSION).la|-lgstbadaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbadvideo-$$(GST_API_VERSION).la|-lgstbadvideo-${VERSION}|' @${FIND} ${WRKSRC}/ext ${WRKSRC}/gst ${WRKSRC}/gst-libs \ -name Makefile.in -exec ${REINPLACE_CMD} \ '/foreach/s/\\#include/#include/' {} + .endif .if ${DIST} == bad # Disable X11 support in librfb post-configure: @${REINPLACE_CMD} -e 's|HAVE_X11 = yes|HAVE_X11 = no|g' \ -e 's|#ifdef HAVE_X11|#ifdef NO_X11|g' \ -e 's|$$(X11_CFLAGS) \\|\\|g' \ -e 's|$$(X11_LIBS) \\|\\|g' \ ${WRKSRC}/gst/librfb/Makefile \ ${WRKSRC}/gst/librfb/gstrfbsrc.c .endif pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0 .include