Use ffmpeg for decoding theora (from brad) and remove unnecessary dependencies

(as noticed by fgsch).

OK fgsch@
This commit is contained in:
edd 2011-05-03 09:37:12 +00:00
parent 60b14a7f76
commit 387cf6e750

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.184 2011/04/18 23:39:20 sthen Exp $
# $OpenBSD: Makefile,v 1.185 2011/05/03 09:37:12 edd Exp $
# May not be hard to add more.
ONLY_FOR_ARCHS = alpha amd64 arm i386 mips64 mips64el powerpc sparc64
@ -13,7 +13,7 @@ SUBST_VARS += PREFIX CONFDIR
# Distfiles must be hand-rolled, see README
N = mplayer
DISTNAME = mplayer-${V}
REVISION = 1
REVISION = 2
CATEGORIES = x11 multimedia
@ -30,7 +30,7 @@ WANTLIB = GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm avcodec avformat \
crypto dv faac fontconfig freetype fribidi gsm jpeg lcms \
m mng mp3lame ncurses ogg>=5 orc-0.4 png postproc \
pthread SDL schroedinger-1.0>=2.0 sndio speex stdc++ \
swscale theora theoradec theoraenc ungif util vpx x264>=5 \
swscale theoradec theoraenc ungif util vpx x264>=5 \
xvidcore z
# we use a snapshot
@ -45,15 +45,11 @@ LIB_DEPENDS = graphics/png \
graphics/libungif \
graphics/ffmpeg>=20110408 \
audio/cdparanoia>=3.a9.8 \
multimedia/libtheora \
audio/speex \
audio/libmpcdec \
audio/libogg \
multimedia/xvidcore \
audio/lame \
multimedia/libdv \
multimedia/libdvdnav>=4.1.3 \
devel/libdvdread \
devel/fribidi \
graphics/lcms \
graphics/libmng \
@ -106,6 +102,9 @@ CONFIGURE_ARGS += --disable-alsa \
# but for now we have to use the internal one.
# --disable-dvdread-internal \
# --disable-libdvdcss-internal \
# If re-adding external libdvd*, don't forget the LIB_DEPENDS:
# multimedia/libdvdnav>=4.1.3 \
# devel/libdvdread \
# gui is not supported anymore and we have better ones in ports
CONFIGURE_ARGS += --disable-gui \
--disable-ffmpeg_a # link ffmpeg .so (graphics/ffmpeg)
@ -132,7 +131,8 @@ CONFIGURE_ARGS += --disable-smb \
--disable-libopenjpeg \
--disable-mpg123 \
--disable-librtmp \
--disable-faad
--disable-faad \
--disable-theora
# internal tremor, external tremor, external libvorbis all conflict
# we choose libvorbis to enable encoding to vorbis