openbsd-ports/multimedia/gstreamer-0.10/plugins-ffmpeg/Makefile
brad ccd3ab6d96 More fixes from upstream..
- Don't flush buffers on DISCONT.
- Channel layouts are now set for DTS and (E)AC3 by libav.
- Add support for 10-bit YUV color formats.
- Add decode support for prores.

ok ajacoutot@
2013-03-27 11:41:11 +00:00

54 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2013/03/27 11:41:11 brad Exp $
COMMENT= ffmpeg element for GStreamer
V= 0.10.13
DISTNAME= gst-ffmpeg-${V}
PKGNAME= gstreamer-ffmpeg-${V}
REVISION= 7
# sync with graphics/ffmpeg
PERMIT_PACKAGE_CDROM= patents
PERMIT_PACKAGE_FTP= Yes
WANTLIB += bz2 ffi glib-2.0 gmodule-2.0 gobject-2.0 gstaudio-0.10
WANTLIB += gstbase-0.10 gstinterfaces-0.10 gstpbutils-0.10 gstreamer-0.10
WANTLIB += gstvideo-0.10 gthread-2.0 m orc-0.4 pcre pthread xml2
WANTLIB += z
MASTER_SITES= ${MASTER_SITE_GST:=gst-ffmpeg/}
LIB_DEPENDS= ${P}/plugins-base
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS += devel/yasm
.endif
.if ${MACHINE_ARCH:Marm}
# uses ARM EABI
GST_LIBAV_ARCH= generic
.else
GST_LIBAV_ARCH= ${MACHINE_ARCH}
.endif
ffmpeg_CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--arch=${GST_LIBAV_ARCH} \
--cc=${CC} \
--enable-gpl \
--disable-altivec \
--disable-armv5te \
--disable-armv6 \
--disable-armv6t2 \
--disable-armvfp \
--disable-debug \
--disable-iwmmxt
CONFIGURE_ARGS= --with-ffmpeg-extra-configure="${ffmpeg_CONFIGURE_ARGS}"
MAKE_ENV= V=1
# make sure bundled libav headers are chosen over the system FFmpeg ones
CPPFLAGS += -I../../gst-libs -I../../gst-libs/ext/libav
.include <bsd.port.mk>