Changeset View
Changeset View
Standalone View
Standalone View
head/multimedia/gstreamer1-libav/Makefile
# Created by: Koop Mast <kwm@rainbow-runner.nl> | # Created by: Koop Mast <kwm@rainbow-runner.nl> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gstreamer1-libav | PORTNAME= gstreamer1-libav | ||||
PORTVERSION= 1.12.3 | PORTVERSION= 1.12.3 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-libav/ | MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-libav/ | ||||
DISTNAME= gst-libav-${PORTVERSION} | DISTNAME= gst-libav-${PORTVERSION} | ||||
MAINTAINER= multimedia@FreeBSD.org | MAINTAINER= multimedia@FreeBSD.org | ||||
COMMENT= GStreamer plug-in with many audio/video decoders/encoders | COMMENT= GStreamer plug-in with many audio/video decoders/encoders | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= orc>=0.4.16:devel/orc | BUILD_DEPENDS= orc>=0.4.16:devel/orc | ||||
LIB_DEPENDS= liborc-0.4.so:devel/orc | LIB_DEPENDS= liborc-0.4.so:devel/orc | ||||
PORTSCOUT= limitw:1,even | PORTSCOUT= limitw:1,even | ||||
USES= compiler:features gettext-runtime gmake libtool localbase \ | USES= compiler:features gettext-runtime gmake libtool localbase \ | ||||
pkgconfig python:build tar:xz | pkgconfig python:build tar:xz | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GSTREAMER1= yes | USE_GSTREAMER1= yes | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
OPTIONS_DEFINE= FFMPEG | OPTIONS_DEFINE= FFMPEG | ||||
OPTIONS_DEFAULT=FFMPEG | |||||
FFMPEG_DESC?= Use system ffmpeg instead of internal libav | FFMPEG_DESC?= Use system ffmpeg instead of internal libav | ||||
FFMPEG_BROKEN= fails to build with ffmpeg 4.0, see bug 227748 | |||||
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg | FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg | ||||
FFMPEG_CONFIGURE_WITH= system-libav | FFMPEG_CONFIGURE_WITH= system-libav | ||||
FFMPEG_BUILD_DEPENDS_OFF=as:devel/binutils nasm:devel/nasm | FFMPEG_BUILD_DEPENDS_OFF=as:devel/binutils nasm:devel/nasm | ||||
FFMPEG_CONFIGURE_ENV_OFF=${MACHINE:Marm*:C/.+/ASFLAGS=-no-integrated-as/} | FFMPEG_CONFIGURE_ENV_OFF=${MACHINE:Marm*:C/.+/ASFLAGS=-no-integrated-as/} | ||||
FFMPEG_MAKE_ENV_OFF= V=1 | FFMPEG_MAKE_ENV_OFF= V=1 | ||||
FFMPEG_VARS_OFF+= NOPRECIOUSMAKEVARS=yes # ARCH | FFMPEG_VARS_OFF+= NOPRECIOUSMAKEVARS=yes # ARCH | ||||
FFMPEG_VARS_OFF+= LLD_UNSAFE=yes # aarch64 | FFMPEG_VARS_OFF+= LLD_UNSAFE=yes # aarch64 | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|-Werror||g' \ | @${REINPLACE_CMD} -e 's|-Werror||g' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |