mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +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@
36 lines
999 B
Makefile
36 lines
999 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 0
|
|
CATEGORIES= multimedia
|
|
|
|
COMMENT= GStreamer-plugins good-quality plug-ins
|
|
|
|
GST_PLUGIN= good
|
|
GST_PLUGIN_SUFFIX= -good
|
|
|
|
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
|
|
|
|
BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
|
|
RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
|
|
|
|
DIST= good
|
|
GOOD_GST_DIRS= gst sys po
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
FILESDIR= ${.CURDIR}/files
|
|
PATCHDIR= ${.CURDIR}/files
|
|
NO_GSTREAMER_COMMON= yes
|
|
|
|
do-build:
|
|
.for dir in ${GOOD_GST_DIRS}
|
|
@(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET})
|
|
.endfor
|
|
|
|
do-install:
|
|
.for dir in ${GOOD_GST_DIRS}
|
|
@(cd ${INSTALL_WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
|
.endfor
|
|
|
|
.include "${MASTERDIR}/Makefile"
|