1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/multimedia/gstreamer1-libav/Makefile
Dmitry Marakasov 5d2b509e2d - Fix LICENSE
- Add LICENSE_FILE
- Update WWW

Approved by:	portmgr blanket
2020-07-11 09:35:18 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD$
PORTNAME= gstreamer1-libav
PORTVERSION= 1.16.2
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-libav/
DISTNAME= gst-libav-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer plug-in with many audio/video decoders/encoders
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
BUILD_DEPENDS= orc>=0.4.16:devel/orc
LIB_DEPENDS= liborc-0.4.so:devel/orc
PORTSCOUT= limitw:1,even
USES= compiler:features gettext-runtime gmake gnome libtool localbase \
pkgconfig python:build tar:xz
USE_LDCONFIG= yes
USE_GSTREAMER1= yes
USE_GNOME= glib20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= FFMPEG
OPTIONS_DEFAULT=FFMPEG
FFMPEG_DESC?= Use system ffmpeg instead of internal libav
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_WITH= system-libav
FFMPEG_BUILD_DEPENDS_OFF= nasm:devel/nasm
FFMPEG_MAKE_ENV_OFF= V=1
FFMPEG_VARS_OFF+= NOPRECIOUSMAKEVARS=yes # ARCH
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/configure
.include <bsd.port.mk>