diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile index 4f1bca6640e0..91b0e8191d0c 100644 --- a/multimedia/gstreamer1-plugins/Makefile +++ b/multimedia/gstreamer1-plugins/Makefile @@ -1,156 +1,149 @@ PORTNAME= gstreamer PORTVERSION?= ${BASE_PORTVERSION} # plug-in port instead, like ${category}/gstreamer1-plugin-${PLUGIN}. PORTREVISION?= 0 CATEGORIES?= multimedia audio MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ https://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ https://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ https://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 WWW= https://gstreamer.freedesktop.org/ LICENSE= LGPL20 BUILD_DEPENDS+= iso-codes>=0:misc/iso-codes \ orc>=0.4.16:devel/orc LIB_DEPENDS+= libfreetype.so:print/freetype2 \ liborc-0.4.so:devel/orc RUN_DEPENDS+= iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even BASE_PORTVERSION= ${_GST_VERSION} BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} BAD_PORTVERSION= ${_GST_VERSION} BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} GOOD_PORTVERSION= ${_GST_VERSION} GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} UGLY_PORTVERSION= ${_GST_VERSION} UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} DIST?= base USES+= meson cpe gettext gnome gstreamer libtool pathfix pkgconfig python:3.8+,build tar:xz USE_GNOME+= glib20 introspection:build libxml2 GST_PLUGIN?= base USE_LDCONFIG= yes MESON_ARGS+= --auto-features=auto # XXX bug 270361 workaround CPE_VENDOR= gstreamer_project CPE_PRODUCT= gstreamer CFLAGS+= -Wno-format CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${EXTRA_LIBS} DEFAULT_AUDIOSINK?= osssink DEFAULT_AUDIOSRC?= osssrc .if ${DIST}=="" IGNORE= DIST not specified .endif VERSION= 1.0 SOVERSION= 0.2202.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 BASE_GST_ENABLED_PLUGINS= adder \ allocators \ app \ audio \ audioconvert \ audiomixer \ audiorate \ audioresample \ audiotestsrc \ compositor \ encoding \ fft \ gio \ nls \ overlaycomposition \ pbtypes \ pkgconfig \ pbutils \ playback \ rawparse \ riff \ rtp \ rtsp \ sdp \ subparse \ tag \ tcp \ tools \ typefind \ video \ videoconvertscale \ videorate \ videotestsrc \ volume .endif .if ${DIST} == base || ${DIST} == ugly CONFIGURE_ARGS+= -Ddefaultaudiosink="${DEFAULT_AUDIOSINK}" \ -Ddefaultaudiosrc="${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 - pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gstreamer-${VERSION} .include diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common index 0c4d4ef01a0a..093d36636ebd 100644 --- a/multimedia/gstreamer1-plugins/Makefile.common +++ b/multimedia/gstreamer1-plugins/Makefile.common @@ -1,370 +1,367 @@ BASE_GST_ALL_PLUGINS+= \ adder \ allocators \ alsa \ app \ audio \ audioconvert \ audiomixer \ audiorate \ audioresample \ audiotestsrc \ cdparanoia \ compositor \ doc \ encoding \ examples \ fft \ gio \ gl \ libvisual \ nls \ ogg \ opus \ overlaycomposition \ pango \ pbtypes \ pbutils \ pkgconfig \ playback \ rawparse \ riff \ rtp \ rtsp \ sdp \ subparse \ tag \ tcp \ tests \ theora \ tools \ tremor \ typefind \ video \ videoconvertscale \ videorate \ videotestsrc \ volume \ vorbis \ ximage \ xvideo BASE_GST_ENABLED_PLUGINS?= BAD_GST_ALL_PLUGINS+= \ accurip \ adpcmdec \ adpcmenc \ aes \ aiff \ androidmedia \ aom \ applemedia \ asfmux \ assrender \ audiobuffersplit \ audiofxbad \ audiolatency \ audiomixmatrix \ audiovisualizers \ autoconvert \ basecamerabinsrc \ bayer \ bluez \ bs2b \ bz2 \ camerabin2 \ chromaprint \ closedcaption \ codecalpha \ codecparsers \ codecs \ codectimestamper \ coloreffects \ colormanagement \ curl \ dash \ data \ dc1394 \ debugutils \ directfb \ directsound \ doc \ dtls \ dts \ dvb \ dvbsubenc \ dvbsuboverlay \ dvdspu \ examples \ faac \ faad \ faceoverlay \ festival \ fieldanalysis \ flite \ freeverb \ frei0r \ gaudieffects \ gdp \ geometrictransform \ gme \ gsm \ hls \ id3tag \ insertbin \ inter \ interfaces \ interlace \ ipcpipeline \ isoff \ ivfparse \ ivtc \ jp2kdecimator \ jpegformat \ kms \ ladspa \ libde265 \ librfb \ lv2 \ midi \ modplug \ mpeg2enc \ mpegdemux \ mpegpsmux \ mpegts \ mpegtsdemux \ mpegtsmux \ mplex \ msdk \ musepack \ mxf \ neon \ netsim \ nls \ nvcodec \ onvif \ openal \ opencv \ openexr \ openh264 \ openjpeg \ openmpt \ opus \ pcapparse \ pkgconfig \ play \ player \ pnm \ proxy \ rawparse \ removesilence \ resindvd \ rist \ rsvg \ rtmp \ rtmp2 \ rtp \ sbc \ sctp \ sdp \ segmentclip \ shm \ siren \ smooth \ smoothstreaming \ sndfile \ soundtouch \ spandsp \ speed \ srt \ srtp \ subenc \ svthevcenc \ switchbin \ tests \ timecode \ tinyalsa \ tools \ transcode \ transcoder \ ttml \ uridownloader \ uvch264 \ v4l2codecs \ videofilters \ videoframe_audiolevel \ videoparsers \ videosignal \ vmnc \ vulkan \ wasapi \ wayland \ webp \ webrtc \ webrtcdsp \ wildmidi \ winks \ winscreencap \ x265 \ y4m \ zbar \ zxing BAD_GST_ENABLED_PLUGINS?= GOOD_GST_ALL_PLUGINS+= \ aalib \ adaptivedemux2 \ alpha \ apetag \ audiofx \ audioparsers \ auparse \ autodetect \ avi \ cairo \ cutter \ debugutils \ deinterlace \ directsound \ dtmf \ dv \ dv1394 \ effectv \ equalizer \ examples \ flac \ flv \ flx \ gdk-pixbuf \ goom \ goom2k1 \ gtk3 \ icydemux \ id3demux \ imagefreeze \ interleave \ isomp4 \ jack \ jpeg \ lame \ law \ level \ libcaca \ matroska \ monoscope \ mpg123 \ multifile \ multipart \ nls \ oss \ oss4 \ osxaudio \ osxvideo \ png \ pulse \ qt5 \ replaygain \ rtp \ rtpmanager \ rtsp \ shapewipe \ shout2 \ smpte \ soup \ spectrum \ speex \ taglib \ tests \ twolame \ udp \ v4l2 \ videobox \ videocrop \ videofilter \ videomixer \ vpx \ waveform \ wavenc \ wavpack \ wavparse \ ximagesrc \ xingmux \ y4m GOOD_GST_ENABLED_PLUGINS?= UGLY_GST_ALL_PLUGINS+= \ a52dec \ amrnb \ amrwbdec \ asfdemux \ cdio \ dvdlpcmdec \ dvdread \ dvdsub \ mpeg2dec \ nls \ realmedia \ sidplay \ x264 UGLY_GST_ENABLED_PLUGINS?= # gstreamer scripts tend to call python3 rather than python BINARY_ALIAS= python3=${PYTHON_VERSION} # Disable all plugins by default .if ${DIST}=="base" .for d in ${BASE_GST_ALL_PLUGINS} CONFIGURE_ARGS+= -D${d}=disabled .endfor .for d in ${BASE_GST_ENABLED_PLUGINS} CONFIGURE_ARGS+= -D${d}=enabled .endfor .endif .if ${DIST}=="bad" .for d in ${BAD_GST_ALL_PLUGINS} CONFIGURE_ARGS+= -D${d}=disabled .endfor .for d in ${BAD_GST_ENABLED_PLUGINS} CONFIGURE_ARGS+= -D${d}=enabled .endfor .endif .if ${DIST}=="good" .for d in ${GOOD_GST_ALL_PLUGINS} CONFIGURE_ARGS+= -D${d}=disabled .endfor .for d in ${GOOD_GST_ENABLED_PLUGINS} CONFIGURE_ARGS+= -D${d}=enabled .endfor .endif .if ${DIST}=="ugly" .for d in ${UGLY_GST_ALL_PLUGINS} CONFIGURE_ARGS+= -D${d}=disabled .endfor .for d in ${UGLY_GST_ENABLED_PLUGINS} CONFIGURE_ARGS+= -D${d}=enabled .endfor .endif .if ${GST_PLUGIN}!="base" && ${GST_PLUGIN}!="bad" && \ ${GST_PLUGIN}!="good" && ${GST_PLUGIN}!="ugly" && \ ${GST_PLUGIN}!="x" CONFIGURE_ARGS+= -D${GST_PLUGIN}=enabled .endif .if !defined(NO_GSTREAMER_COMMON) GST_PLUGIN_SUFFIX?= -${GST_PLUGIN} USE_GSTREAMER+= ${DIST:base=} -GST_INC_DIR= include/gstreamer-${VERSION} -GST_LIB_DIR= lib/gstreamer-${VERSION} - .endif # NO_GSTREAMER_COMMON