Enable the x265 support.

ok ajacoutot@
This commit is contained in:
brad 2014-09-04 05:49:49 +00:00
parent f4f67980d4
commit 59cdf7876c

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.105 2014/08/14 08:20:27 brad Exp $
# $OpenBSD: Makefile,v 1.106 2014/09/04 05:49:49 brad Exp $
COMMENT= audio/video converter and streamer
V= 20140810
DISTNAME= ffmpeg-git-${V}
PKGNAME= ffmpeg-${V}
REVISION= 0
CATEGORIES= graphics multimedia
MASTER_SITES= http://comstyle.com/source/
EXTRACT_SUFX= .tar.xz
@ -29,7 +30,8 @@ PERMIT_PACKAGE_FTP= Yes
WANTLIB= SDL X11 Xext Xfixes Xv bz2 c crypto gsm m mp3lame opus \
pthread schroedinger-1.0>=2 sndio speex ssl theoradec \
theoraenc vorbis vorbisenc vpx>=5 x264>=8 xvidcore z
theoraenc vorbis vorbisenc vpx>=5 x264>=8 x265 xvidcore \
z
BUILD_DEPENDS= textproc/texi2html
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
@ -46,10 +48,11 @@ LIB_DEPENDS= archivers/bzip2 \
multimedia/libvpx>=1.3.0 \
multimedia/schroedinger>=1.0.10 \
multimedia/x264>=20111027 \
multimedia/x265 \
multimedia/xvidcore
# inter-library dependencies for the current configuration
LIBavcodec_EXTRALIBS=-L${LOCALBASE}/lib -lgsm -lmp3lame -lopus -lschroedinger-1.0 -lspeex -ltheoradec -ltheoraenc -lvorbis -lvorbisenc -lvpx -lx264 -lxvidcore -lz -pthread
LIBavcodec_EXTRALIBS=-L${LOCALBASE}/lib -lgsm -lmp3lame -lopus -lschroedinger-1.0 -lspeex -ltheoradec -ltheoraenc -lvorbis -lvorbisenc -lvpx -lx264 -lx265 -lxvidcore -lz -pthread
LIBavdevice_EXTRALIBS=-L${X11BASE}/lib -lX11 -lXext -lXfixes -lXv -lsndio
LIBavfilter_EXTRALIBS=
LIBavformat_EXTRALIBS=-L${LOCALBASE}/lib -lbz2 -lssl -lcrypto -pthread
@ -105,6 +108,7 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-nonfree \
--enable-openssl \
@ -132,7 +136,7 @@ CONFIGURE_ENV+= LIBavcodec_EXTRALIBS="${LIBavcodec_EXTRALIBS}" \
LIBpostproc_LINKFLAGS="" \
LIBswresample_LINKFLAGS="" \
LIBswscale_LINKFLAGS="" \
LIBavcodec_REQUIRES="libavutil libswresample opus schroedinger-1.0 speex theoraenc vpx x264" \
LIBavcodec_REQUIRES="libavutil libswresample opus schroedinger-1.0 speex theoraenc vpx x264 x265" \
LIBavdevice_REQUIRES="libavcodec libavfilter libavformat libavutil libpostproc libswresample libswscale" \
LIBavfilter_REQUIRES="libavcodec libavformat libavresample libavutil libpostproc libswresample libswscale" \
LIBavformat_REQUIRES="libavcodec libavutil libswresample" \