freebsd-ports/multimedia/gstreamer-ffmpeg/Makefile

84 lines
2.1 KiB
Makefile
Raw Normal View History

# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD$
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)
2006-10-14 10:35:50 +02:00
# $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 13:40:27 ahze Exp $
PORTNAME= gstreamer
2011-11-05 20:12:13 +01:00
PORTVERSION= 0.10.13
PORTREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/:ffmpeg \
http://libav.org/releases/:libav
PKGNAMESUFFIX= -ffmpeg
DISTFILES= gst-ffmpeg-${PORTVERSION}.tar.bz2:ffmpeg \
libav-${LIBAV_VERSION}.tar.xz:libav
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer plug-in for manipulating MPEG video streams
LICENSE= GPLv2
BUILD_DEPENDS= yasm:devel/yasm
LIB_DEPENDS= liborc-0.4.so:devel/orc
2015-07-21 14:51:19 +02:00
PORTSCOUT= limit:0\.10\..*
LIBAV_VERSION= 0.7.7
WRKSRC= ${WRKDIR}/gst-ffmpeg-${PORTVERSION}
2014-08-30 20:20:22 +02:00
USES= compiler:features gmake libtool pkgconfig
USE_LDCONFIG= yes
2005-06-11 10:37:19 +02:00
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-system-ffmpeg \
--with-ffmpeg-extra-configure="${FFMPEG_CONFIG}"
PLIST_SUB= VERSION="${PORTVERSION:R}"
LDFLAGS+= -Wl,-Bsymbolic
LDFLAGS_i386= -Wl,-znotext
NOPRECIOUSMAKEVARS= yes # ARCH
FFMPEG_CONFIG= --cc=${CC} \
--enable-runtime-cpudetect \
--enable-pic
# sse hardware vector support
.if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64")
WITH_BUILTIN_VECTOR= yes
.else
FFMPEG_CONFIG+= --disable-sse
.endif
# mmx support
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && ${MACHINE_CPU:Mamd64} == ""
FFMPEG_CONFIG+= --disable-mmx
WITHOUT_BUILTIN_VECTOR= yes
.endif
# builtin vector, requires mmx and sse
.if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR)
CFLAGS+= -msse
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == powerpc64
FFMPEG_CONFIG+= --arch=ppc64
.endif
.if ${COMPILER_TYPE} == "gcc"
CFLAGS+= -fno-force-addr
.endif
post-extract:
@${MV} ${WRKSRC}/gst-libs/ext/libav ${WRKSRC}/gst-libs/ext/libav.old
@${MV} ${WRKDIR}/libav-${LIBAV_VERSION} ${WRKSRC}/gst-libs/ext/libav
@${CP} ${WRKSRC}/gst-libs/ext/libav.old/config.* \
${WRKSRC}/gst-libs/ext/libav/
post-patch:
@${REINPLACE_CMD} -Ee '/sleep 15/d; /PKG_CONFIG/\
s/lib(av(format|codec|util)|postproc|swscale)/&0/g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>