freebsd-ports/multimedia/gstreamer1-plugins-core/Makefile
Koop Mast d566d54fa6 Update GStreamer1 ports to 1.12.2.
Rework the adding of dependancies in Mk/bsd.gstreamer.mk.
Previous when using USE_GSTREAMER[1] it would just add the request modules to BUILD/RUN_DEPENDS. This caused the qa script to complain because the old code didn't implicit depend on the gstreamer1 and gstreamer1-plugins[-bad] ports for the libraries they carried, even if they where present via the plugins! The new code adds implicit depends on these ports so USE_GSTREAMER[1] using ports have all the libraries included.

* The mad mp3 plugin was removed, mpg123 plugin also provides mp3 decoding. Switch over ports that used the gstreamer1 mad plugin.
* gtksink plugin renamed -> gtk
* Hook up the sndio plugin into the framework
* Add some indirect dependacies where needed
* Reorder the plugin list in bsd.gstreamer.mk so only one plugin per line. When changing plugins it doesn't result in multiple lines being changed.
* Remove mentions in bsd.gstreamer.mk of plugins mentions that where removed.
* Depend on libunwind on i386/amd64, GStreamer links to it if it is present.

PR:		220753
Exp-run by:	antoine@
2017-07-22 11:35:44 +00:00

47 lines
981 B
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= gstreamer1-plugins-core
PORTVERSION= 1.12
CATEGORIES= multimedia audio
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Core set of typical audio and video GStreamer plugins
NO_BUILD= yes
GST_DIR= lib/gstreamer-1.0
PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep
USE_GSTREAMER1=yes
OPTIONS_DEFINE= DVD
OPTIONS_DEFAULT=DVD
DVD_DESC= Include DVD related plugins
.include <bsd.port.options.mk>
# Audio plugins
USE_GSTREAMER1+= mpg123 ogg vorbis
# Graphics plugins
USE_GSTREAMER1+= png
# Misc plugins
USE_GSTREAMER1+= pango
# Multimedia plugins
USE_GSTREAMER1+= libav good theora
.if ${PORT_OPTIONS:MDVD}
# dvd related plugins plugins
USE_GSTREAMER1+= a52dec dvdread resindvd dts
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${GST_DIR}
${TOUCH} -f ${STAGEDIR}${PREFIX}/${GST_DIR}/.gstreamer-plugins-core.keep
.include <bsd.port.mk>