2009-12-26 14:23:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.162 2009/12/26 19:23:12 naddy 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.
|
2009-11-18 16:20:15 -05:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm mips64
|
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
|
|
|
SUBST_VARS += PREFIX
|
|
|
|
|
2007-11-09 10:49:12 -05:00
|
|
|
COMMENT= movie player supporting MPEG, DivX, AVI, ASF, MOV & more
|
2003-02-16 02:25:18 -05:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
V= 20090708
|
2008-02-08 12:32:41 -05:00
|
|
|
N= mplayer
|
2009-10-11 09:36:23 -04:00
|
|
|
DISTNAME= mplayer-export-snapshot-${V}
|
2009-12-26 14:23:12 -05:00
|
|
|
PKGNAME= ${N}-${V}p4
|
2008-02-08 12:32:41 -05:00
|
|
|
CATEGORIES= x11 multimedia
|
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
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
WRKDIST = ${WRKDIR}/mplayer-export-2009-07-08
|
|
|
|
|
2003-04-17 18:16:18 -04: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
|
2007-09-15 16:04:18 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2002-10-29 18:05:44 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
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
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-10-11 09:36:23 -04:00
|
|
|
WANTLIB= c crypto m ncurses oil-0.3 pthread stdc++ util sndio z
|
2009-08-11 04:38:41 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# snapshot
|
|
|
|
#MASTER_SITES = http://www.mplayerhq.hu/MPlayer/releases/
|
|
|
|
MASTER_SITES = http://students.dec.bmth.ac.uk/ebarrett/distfiles/
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2009-10-11 11:25:04 -04: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
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
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
|
|
|
MODULES= gcc4
|
|
|
|
MODGCC4_ARCHES= powerpc
|
2002-06-27 18:03:49 -04:00
|
|
|
|
2009-10-11 09:36:23 -04: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
|
|
|
|
2002-05-16 22:00:29 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2003-05-30 20:03:22 -04:00
|
|
|
LIB_DEPENDS= png::graphics/png \
|
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
|
|
|
jpeg::graphics/jpeg \
|
2005-01-06 16:33:28 -05:00
|
|
|
ungif::graphics/libungif \
|
2005-07-25 13:10:09 -04:00
|
|
|
cdda_paranoia,cdda_interface:cdparanoia->=3.a9.8:audio/cdparanoia \
|
2006-07-19 17:40:47 -04:00
|
|
|
theora::multimedia/libtheora \
|
|
|
|
speex::audio/speex \
|
2006-08-02 04:24:34 -04:00
|
|
|
mpcdec::audio/libmpcdec \
|
2007-02-15 06:49:03 -05:00
|
|
|
ogg.>=5::audio/libogg \
|
2007-04-08 13:33:39 -04:00
|
|
|
xvidcore::multimedia/xvidcore \
|
2009-04-15 05:54:45 -04:00
|
|
|
x264.>=3::multimedia/x264 \
|
2009-03-08 18:45:16 -04:00
|
|
|
mp3lame:lame-*:audio/lame \
|
2009-10-11 09:36:23 -04:00
|
|
|
dv::multimedia/libdv \
|
|
|
|
dvdnavmini:libdvdnav->=4.1.3:multimedia/libdvdnav \
|
|
|
|
dvdread::devel/libdvdread \
|
|
|
|
fribidi::devel/fribidi \
|
|
|
|
lcms::graphics/lcms \
|
|
|
|
mng::graphics/libmng \
|
|
|
|
vorbisidec::audio/tremor \
|
|
|
|
dca::audio/libdca \
|
|
|
|
bz2::archivers/bzip2 \
|
|
|
|
schroedinger-1.0::multimedia/schroedinger \
|
|
|
|
faac::audio/faad \
|
|
|
|
faad::audio/faac
|
2007-02-12 09:47:11 -05:00
|
|
|
|
2008-02-12 06:33:16 -05:00
|
|
|
BUILD_DEPENDS= ::net/livemedia \
|
2009-10-11 09:36:23 -04:00
|
|
|
:rtunes->=0.8:audio/rtunes \
|
|
|
|
:libxml-*:textproc/libxml \
|
|
|
|
:libxslt-*:textproc/libxslt \
|
|
|
|
::textproc/docbook \
|
|
|
|
::textproc/docbook-xsl \
|
|
|
|
::devel/yasm \
|
|
|
|
::audio/ladspa
|
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
|
|
|
|
2003-10-26 14:54:46 -05:00
|
|
|
CONFDIR= ${SYSCONFDIR}/mplayer
|
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
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
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= simple
|
2003-02-17 09:55:34 -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 \
|
2003-02-16 02:25:18 -05:00
|
|
|
--disable-nas \
|
2003-12-04 17:05:09 -05:00
|
|
|
--disable-liblzo \
|
2004-05-06 03:27:36 -04:00
|
|
|
--disable-caca \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-vidix \
|
2005-04-01 01:28:57 -05:00
|
|
|
--disable-smb \
|
2007-11-15 02:50:27 -05:00
|
|
|
--disable-select \
|
2006-07-19 17:40:47 -04:00
|
|
|
--disable-langinfo \
|
2008-02-08 12:32:41 -05:00
|
|
|
--disable-openal \
|
2008-03-19 18:35:35 -04:00
|
|
|
--disable-libvorbis \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-libcdio \
|
|
|
|
--disable-toolame \
|
|
|
|
--disable-dvdread-internal \
|
|
|
|
--disable-libdvdcss-internal \
|
|
|
|
--disable-faad-internal \
|
|
|
|
--disable-tremor-internal \
|
|
|
|
--enable-menu \
|
|
|
|
--confdir=${CONFDIR} \
|
|
|
|
--mandir=${LOCALBASE}/man \
|
|
|
|
--extra-cflags="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
--extra-ldflags="-L${LOCALBASE}/lib" \
|
|
|
|
--disable-gui \
|
|
|
|
--disable-win32dll \
|
|
|
|
--disable-ggi
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2004-06-22 04:13:11 -04:00
|
|
|
CONFIGURE_ENV+= TMPDIR="${WRKBUILD}"
|
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
|
|
|
# bintools 2.15 does not do sse3 for i386/amd64
|
|
|
|
.if ${MACHINE_ARCH:Mi386} || ${MACHINE_ARCH:Mamd64}
|
2004-06-14 22:19:56 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
2008-02-08 12:32:41 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-ssse3
|
2004-06-14 22:19:56 -04:00
|
|
|
.endif
|
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# again bintools 2.15 limits what we can do here too
|
2002-05-12 04:16:24 -04:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2004-06-22 04:13:11 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-altivec
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
2004-06-22 16:34:09 -04:00
|
|
|
.endif
|
2002-05-12 04:16:24 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
FLAVORS= sdl debug mad no_x11 aa jack
|
2002-06-07 20:48:26 -04: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
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# again old binutils...
|
2005-08-04 18:43:18 -04:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
CONFIGURE_ARGS+=--disable-mp3lib
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--target=generic-openbsd
|
2005-08-04 18:43:18 -04:00
|
|
|
FLAVOR+= mad
|
|
|
|
.endif
|
|
|
|
|
2002-06-29 07:51:22 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-gl \
|
2003-04-17 18:16:18 -04:00
|
|
|
--disable-xv \
|
2005-05-09 08:24:38 -04:00
|
|
|
--disable-x11 \
|
|
|
|
--disable-fontconfig \
|
|
|
|
--disable-freetype
|
2002-06-29 07:51:22 -04:00
|
|
|
.else
|
|
|
|
USE_X11= Yes
|
2009-10-11 09:36:23 -04:00
|
|
|
WANTLIB+= GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm fontconfig \
|
|
|
|
freetype
|
|
|
|
RUN_DEPENDS+= :desktop-file-utils-*:devel/desktop-file-utils
|
2002-06-29 07:51:22 -04:00
|
|
|
.endif
|
2003-04-17 06:35:07 -04:00
|
|
|
|
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:Msdl}
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--with-sdl-config=${LOCALBASE}/bin/sdl-config
|
2009-03-17 04:24:33 -04:00
|
|
|
LIB_DEPENDS+= SDL:sdl->=1.2.5:devel/sdl
|
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
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-sdl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+=--enable-debug=3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmad}
|
2006-09-25 13:11:37 -04:00
|
|
|
LIB_DEPENDS+= mad.>=2::audio/libmad
|
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
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-mad
|
|
|
|
.endif
|
|
|
|
|
2002-12-22 09:19:47 -05:00
|
|
|
.if ${FLAVOR:L:Maa}
|
2005-07-27 07:56:01 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2006-09-25 13:11:37 -04:00
|
|
|
LIB_DEPENDS+= aa.>=1.3:aalib-*-no_x11:graphics/aalib,no_x11
|
2005-07-27 07:56:01 -04:00
|
|
|
.else
|
2006-09-25 13:11:37 -04:00
|
|
|
LIB_DEPENDS+= aa.>=1.3:aalib-*:graphics/aalib
|
2005-07-27 07:56:01 -04:00
|
|
|
.endif
|
2002-12-22 09:19:47 -05:00
|
|
|
.else
|
2002-11-13 12:54:35 -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}
|
|
|
|
LIB_DEPENDS+= jack::audio/jack
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-jack
|
|
|
|
.endif
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
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
|
|
|
|
|
2008-02-12 06:33:16 -05:00
|
|
|
post-patch:
|
2009-10-11 09:36:23 -04:00
|
|
|
@cp ${FILESDIR}/ao_rtunes.c ${FILESDIR}/ao_sndio.c ${WRKSRC}/libao2
|
|
|
|
@cp ${FILESDIR}/ai_sndio.c ${WRKSRC}/stream
|
|
|
|
|
|
|
|
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
|
|
|
|
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}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${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>
|