2012-05-03 02:51:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.204 2012/05/03 06:51:24 ajacoutot Exp $
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2002-05-12 04:16:24 -04:00
|
|
|
# May not be hard to add more.
|
2012-02-27 21:22:13 -05:00
|
|
|
ONLY_FOR_ARCHS = ${GCC4_ARCHS}
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
COMMENT = movie player supporting many formats
|
2003-02-16 02:25:18 -05:00
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
V = 20110309
|
2012-04-28 04:42:07 -04:00
|
|
|
FFMPEG_V = 20120422
|
2010-05-26 17:29:56 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
SUBST_VARS += PREFIX CONFDIR
|
2010-05-26 17:29:56 -04:00
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
# Distfiles must be hand-rolled, see README
|
2010-11-08 16:25:44 -05:00
|
|
|
N = mplayer
|
2011-03-29 16:04:41 -04:00
|
|
|
DISTNAME = mplayer-${V}
|
2012-05-03 02:51:24 -04:00
|
|
|
REVISION = 16
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
CATEGORIES = x11 multimedia
|
2009-10-11 09:36:23 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
HOMEPAGE = http://www.mplayerhq.hu/
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# GPLv2
|
2010-11-08 16:25:44 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = patents
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2009-08-11 04:38:41 -04:00
|
|
|
|
2011-06-25 10:15:42 -04:00
|
|
|
WANTLIB = GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm ass avcodec \
|
2012-03-30 09:23:03 -04:00
|
|
|
avformat avutil bluray bz2 c cdda_interface cdda_paranoia \
|
2012-05-03 02:51:24 -04:00
|
|
|
crypto dv dvdnavmini dvdread enca 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 theoradec theoraenc ungif util vpx x264>=5 \
|
2012-04-28 04:42:07 -04:00
|
|
|
xvidcore z
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# we use a snapshot
|
|
|
|
MASTER_SITES = http://theunixzoo.co.uk/distfiles/
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
MODULES += converters/libiconv
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS = graphics/png \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/libungif \
|
2012-04-28 04:42:07 -04:00
|
|
|
graphics/ffmpeg>=20120422 \
|
2010-11-22 03:36:47 -05:00
|
|
|
audio/cdparanoia>=3.a9.8 \
|
|
|
|
audio/speex \
|
|
|
|
audio/libogg \
|
|
|
|
audio/lame \
|
2012-03-30 09:23:03 -04:00
|
|
|
multimedia/libbluray \
|
2010-11-22 03:36:47 -05:00
|
|
|
multimedia/libdv \
|
|
|
|
devel/fribidi \
|
|
|
|
graphics/lcms \
|
|
|
|
graphics/libmng \
|
|
|
|
archivers/bzip2 \
|
|
|
|
multimedia/schroedinger>=1.0.10 \
|
|
|
|
multimedia/x264>=20101023 \
|
2011-06-25 10:15:42 -04:00
|
|
|
devel/sdl>=1.2.5 \
|
2012-05-03 02:51:24 -04:00
|
|
|
multimedia/libass \
|
|
|
|
devel/libdvdread>=4.2.0 \
|
|
|
|
multimedia/libdvdnav>=4.2.0
|
2010-11-22 03:36:47 -05:00
|
|
|
|
|
|
|
BUILD_DEPENDS = net/livemedia \
|
|
|
|
audio/rtunes>=0.8 \
|
|
|
|
textproc/libxml \
|
|
|
|
textproc/libxslt \
|
|
|
|
textproc/docbook \
|
|
|
|
textproc/docbook-xsl \
|
|
|
|
audio/ladspa
|
2012-02-28 14:48:41 -05:00
|
|
|
# mplayer uses non-public interfaces to ffmpeg, so we still need
|
2011-03-29 16:04:41 -04:00
|
|
|
# the ffmpeg source in the mplayer tree at build time.
|
|
|
|
BUILD_DEPENDS +=graphics/ffmpeg:patch
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-06-14 11:06:49 -04:00
|
|
|
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS += devel/yasm
|
2010-06-14 11:06:49 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFDIR = ${SYSCONFDIR}/mplayer
|
2003-10-26 14:54:46 -05:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
USE_GMAKE = Yes
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2010-11-08 16:25:44 -05:00
|
|
|
MAKE_ENV = V=1 # turn on verbose ffmpeg build
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS for misc stuff
|
|
|
|
CONFIGURE_ARGS += --confdir=${CONFDIR} \
|
|
|
|
--mandir=${LOCALBASE}/man \
|
|
|
|
--extra-cflags="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
--extra-ldflags="-L${LOCALBASE}/lib" \
|
|
|
|
--extra-libs-mplayer="-lrtunes -lcrypto"
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS that disable internal stuff
|
2012-05-03 02:51:24 -04:00
|
|
|
# gui is not supported anymore and we have better ones in ports
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-alsa \
|
2009-01-15 21:39:53 -05:00
|
|
|
--disable-arts \
|
|
|
|
--disable-esd \
|
2002-05-12 14:50:46 -04:00
|
|
|
--disable-ossaudio \
|
2010-11-08 16:25:44 -05:00
|
|
|
--disable-sunaudio \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-vidix \
|
2007-11-15 02:50:27 -05:00
|
|
|
--disable-select \
|
2011-07-02 19:10:25 -04:00
|
|
|
--disable-libcdio \
|
2012-05-03 02:51:24 -04:00
|
|
|
--disable-libmpeg2-internal \
|
|
|
|
--disable-dvdread-internal \
|
|
|
|
--disable-libdvdcss-internal \
|
|
|
|
--disable-gui \
|
2011-03-29 16:04:41 -04:00
|
|
|
--disable-ffmpeg_a # link ffmpeg .so (graphics/ffmpeg)
|
2010-11-08 16:25:44 -05:00
|
|
|
|
|
|
|
# CONFIGURE_ARGS that enable internal stuff
|
|
|
|
CONFIGURE_ARGS += --enable-menu
|
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
# CONFIGURE_ARGS that enable external stuff
|
|
|
|
CONFIGURE_ARGS += --with-sdl-config=${LOCALBASE}/bin/sdl-config
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# CONFIGURE_ARGS that disable external stuff
|
|
|
|
CONFIGURE_ARGS += --disable-smb \
|
|
|
|
--disable-liblzo \
|
|
|
|
--disable-nas \
|
|
|
|
--disable-caca \
|
|
|
|
--disable-langinfo \
|
|
|
|
--disable-mad \
|
|
|
|
--disable-openal \
|
|
|
|
--disable-libdca \
|
|
|
|
--disable-liba52 \
|
2011-07-02 19:10:25 -04:00
|
|
|
--disable-libmpeg2 \
|
2010-11-08 16:25:44 -05:00
|
|
|
--disable-toolame \
|
2012-05-03 02:51:24 -04:00
|
|
|
--disable-twolame \
|
2010-05-26 17:29:56 -04:00
|
|
|
--disable-win32dll \
|
|
|
|
--disable-ggi \
|
2011-07-02 19:10:25 -04:00
|
|
|
--disable-libopencore_amrnb \
|
|
|
|
--disable-libopencore_amrwb \
|
2010-05-26 17:29:56 -04:00
|
|
|
--disable-libopenjpeg \
|
2010-11-22 04:02:49 -05:00
|
|
|
--disable-mpg123 \
|
2011-03-29 16:04:41 -04:00
|
|
|
--disable-librtmp \
|
2011-06-27 19:29:20 -04:00
|
|
|
--disable-faac \
|
|
|
|
--disable-faac-lavc \
|
2011-05-03 05:37:12 -04:00
|
|
|
--disable-faad \
|
2011-07-02 19:10:25 -04:00
|
|
|
--disable-theora \
|
2011-12-30 12:40:40 -05:00
|
|
|
--disable-pulse
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# internal tremor, external tremor, external libvorbis all conflict
|
|
|
|
# we choose libvorbis to enable encoding to vorbis
|
|
|
|
CONFIGURE_ARGS += --disable-tremor
|
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
# ... except on arm, which has no floating point hardware
|
|
|
|
CONFIGURE_ARGS += --disable-libvorbis
|
|
|
|
.else
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += audio/libvorbis
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB += vorbisenc vorbis
|
|
|
|
CONFIGURE_ARGS += --disable-tremor-internal
|
|
|
|
.endif
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ENV += TMPDIR="${WRKBUILD}"
|
|
|
|
|
|
|
|
# binutils 2.15 does not do sse3 for i386/amd64
|
2009-10-11 09:36:23 -04:00
|
|
|
.if ${MACHINE_ARCH:Mi386} || ${MACHINE_ARCH:Mamd64}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
|
|
|
CONFIGURE_ARGS += --disable-ssse3
|
2004-06-14 22:19:56 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# again binutils 2.15 limits what we can do here too
|
2002-05-12 04:16:24 -04:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-altivec
|
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
2004-06-22 16:34:09 -04:00
|
|
|
.endif
|
2002-05-12 04:16:24 -04:00
|
|
|
|
2005-08-04 18:43:18 -04:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
2010-11-08 16:25:44 -05:00
|
|
|
# disable common floating point decoders that have integer alternatives
|
|
|
|
CONFIGURE_ARGS += --disable-mp3lib \
|
|
|
|
--disable-decoder=mp3on4float \
|
|
|
|
--disable-decoder=mp3adufloat \
|
|
|
|
--disable-decoder=mp3float \
|
|
|
|
--disable-decoder=mp2float \
|
|
|
|
--disable-decoder=vorbis
|
|
|
|
# again old binutils...
|
|
|
|
CONFIGURE_ARGS += --target=generic-openbsd
|
2005-08-04 18:43:18 -04:00
|
|
|
.endif
|
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
FLAVORS = debug aa jack
|
2010-11-08 16:25:44 -05:00
|
|
|
FLAVOR ?=
|
|
|
|
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --enable-debug=3 \
|
|
|
|
--disable-sighandler
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
.endif
|
|
|
|
|
2002-12-22 09:19:47 -05:00
|
|
|
.if ${FLAVOR:L:Maa}
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += graphics/aalib
|
|
|
|
WANTLIB += aa>=1.3
|
2002-12-22 09:19:47 -05:00
|
|
|
.else
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-aa
|
2002-12-22 09:19:47 -05:00
|
|
|
.endif
|
2002-11-13 12:54:35 -05:00
|
|
|
|
2008-04-15 21:43:12 -04:00
|
|
|
.if ${FLAVOR:L:Mjack}
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += audio/jack
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB += jack
|
2008-04-15 21:43:12 -04:00
|
|
|
.else
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-jack
|
2008-04-15 21:43:12 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
NO_REGRESS = Yes
|
2002-10-29 14:48:57 -05:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# copy in rtunes and sndio backends
|
2010-05-26 17:29:56 -04:00
|
|
|
post-extract:
|
|
|
|
@cp ${FILESDIR}/ao_rtunes.c ${FILESDIR}/ao_sndio.c ${WRKSRC}/libao2
|
|
|
|
@cp ${FILESDIR}/ai_sndio.c ${WRKSRC}/stream
|
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# subst PREFIX in a patch, careful with update-patches!
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/DOCS/xml/configure
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/DOCS/xml && ${MAKE_PROGRAM}
|
|
|
|
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/mplayer
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/mplayer
|
2008-02-12 06:33:16 -05:00
|
|
|
|
2011-03-29 16:04:41 -04:00
|
|
|
# link ffmpeg sources to where build expects
|
|
|
|
pre-patch:
|
|
|
|
ln -s ${WRKDIR}/graphics/ffmpeg/ffmpeg-git-${FFMPEG_V} ${WRKSRC}/ffmpeg
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# install docs
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
post-install:
|
2009-10-11 09:36:23 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
2003-10-26 14:54:46 -05:00
|
|
|
cd ${WRKDIST}/etc; ${INSTALL_DATA} input.conf menu.conf codecs.conf \
|
2009-10-11 09:36:23 -04:00
|
|
|
${EXAMPLEDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/etc/example.conf ${EXAMPLEDIR}/mplayer.conf
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/DOCS/HTML/en/*.html ${DOCDIR}
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|