mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
d566d54fa6
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@
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gstreamer1-plugins-all
|
|
PORTVERSION= 1.12
|
|
PORTREVISION= 0
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Meta-port of all GStreamer 1.x plugins with options
|
|
|
|
USES= metaport
|
|
USE_GSTREAMER1= yes
|
|
|
|
.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk"
|
|
|
|
ALL_PLUGINS:= ${_GSTREAMER_PLUGINS}
|
|
# Weed out gst-plugins that can not be packaged. or are broken.
|
|
.if defined(PACKAGE_BUILDING)
|
|
# FAAC: Mp4 Dolby license , no package
|
|
# LAME: MP3 License , no package
|
|
# VDPAU: Needs to be build agains running kernel
|
|
DEF_PLUGINS:= ${_GSTREAMER_PLUGINS:Nfaac:Nlame:Nvdpau}
|
|
.else
|
|
DEF_PLUGINS:= ${_GSTREAMER_PLUGINS}
|
|
.endif
|
|
|
|
.for all in ${ALL_PLUGINS}
|
|
${all:tu}_DESC= ${all} plugin
|
|
${all:tu}_USE= GSTREAMER1=${all}
|
|
.endfor
|
|
|
|
# Pull out i386-only plugins, add back conditionally
|
|
ALL_PLUGINS:= ${ALL_PLUGINS:Nspc}
|
|
DEF_PLUGINS:= ${DEF_PLUGINS:Nspc}
|
|
|
|
OPTIONS_DEFINE= ${ALL_PLUGINS:tu}
|
|
OPTIONS_DEFAULT= ${DEF_PLUGINS:tu}
|
|
|
|
OPTIONS_DEFINE_i386= SPC
|
|
OPTIONS_DEFAULT_i386= SPC
|
|
|
|
.include <bsd.port.mk>
|