# 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.
# USE_GSTREAMER=yes will always add a dependency to
# gstreamer-plugins
USE_GSTREAMER1=
line.USE_GSTREAMER1= bad yes
bad
isn't a valid option to add. It looks like it's implicitly added if you use specific plugins..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 \
openexr \
openh264 \
openjpeg \
openmpt \
png \
qt \
rsvg \
rtmp \
smoothstreaming \
spandsp \
srtp \
ttml \
vpx \
vulkan \
webp \
webrtcdsp \
x \
x265 \
ximagesrc \
zbar
# vaapi
.endif # USE_GSTREAMER1
.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
make -v PORTSDIR
print?