2003-02-16 02:25:18 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2003/02/16 07:25:18 brad 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.
|
2002-05-16 10:00:23 -04:00
|
|
|
ONLY_FOR_ARCHS= i386 macppc sparc64
|
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-01-03 18:06:35 -05:00
|
|
|
COMMENT= "Movie player supporting MPEG, DivX, AVI, ASF, MOV & more"
|
2003-02-16 02:25:18 -05:00
|
|
|
|
|
|
|
DISTNAME= MPlayer-0.90rc4
|
2002-08-18 07:26:48 -04:00
|
|
|
DIST_SUBDIR= mplayer
|
2003-02-16 02:25:18 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
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
|
|
|
CATEGORIES= x11
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mplayerhq.hu
|
|
|
|
|
2003-01-03 18:06:35 -05:00
|
|
|
# GPL
|
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_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
|
|
|
|
|
|
|
|
MASTER_SITES= http://www2.mplayerhq.hu/MPlayer/releases/
|
2002-08-18 07:26:48 -04:00
|
|
|
MASTER_SITES+= http://www.mplayerhq.hu/MPlayer/releases/
|
2002-11-13 12:54:35 -05:00
|
|
|
MASTER_SITES+= http://ftp.lug.udel.edu/MPlayer/releases/
|
2002-05-10 15:40:09 -04:00
|
|
|
#MASTER_SITES0= http://www2.mplayerhq.hu/MPlayer/Skin/
|
|
|
|
MASTER_SITES0= http://www.sightly.net/mplayer/
|
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-11-13 12:54:35 -05:00
|
|
|
MAINTAINER= Bjorn Sandell <biorn@dce.chalmers.se>
|
2002-06-27 18:03:49 -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
|
|
|
SKIN= default
|
2002-09-04 01:40:21 -04:00
|
|
|
SKINVER= 1.1
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SKIN}-${SKINVER}${EXTRACT_SUFX}:0
|
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>
|
|
|
|
|
|
|
|
.if ${ELF_TOOLCHAIN} == "no"
|
2002-06-09 23:14:34 -04:00
|
|
|
BUILD_DEPENDS= :binutils->=2.11.2:devel/binutils/stable
|
2002-05-16 10:00:23 -04:00
|
|
|
.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
|
|
|
LIB_DEPENDS= png::graphics/png \
|
|
|
|
jpeg::graphics/jpeg \
|
2002-05-15 19:16:59 -04:00
|
|
|
mp3lame::audio/lame \
|
2002-09-14 08:19:15 -04:00
|
|
|
ungif,gif::graphics/libungif \
|
2002-08-16 15:20:54 -04:00
|
|
|
vorbis.0,vorbisfile.1::audio/libvorbis
|
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
|
|
|
.if ${ELF_TOOLCHAIN} == "no"
|
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
|
|
|
MAKE_ENV= AR=${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin/ar
|
2002-05-16 10:00:23 -04:00
|
|
|
.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
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS+=--as=${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin/as \
|
|
|
|
--disable-alsa \
|
2002-05-12 14:50:46 -04:00
|
|
|
--disable-ossaudio \
|
2002-06-27 18:03:49 -04:00
|
|
|
--disable-arts \
|
2003-02-16 02:25:18 -05:00
|
|
|
--disable-nas \
|
2002-05-09 10:01:42 -04:00
|
|
|
--enable-select \
|
2002-05-12 04:16:24 -04:00
|
|
|
--enable-vidix \
|
2002-08-16 15:20:54 -04:00
|
|
|
--enable-vorbis \
|
2003-01-03 18:06:35 -05:00
|
|
|
--enable-menu \
|
2002-08-18 08:02:31 -04:00
|
|
|
--with-extraincdir=${LOCALBASE}/include/libpng:${LOCALBASE}/include \
|
2002-10-14 05:50:48 -04:00
|
|
|
--with-extralibdir=${LOCALBASE}/lib \
|
2003-01-06 15:20:20 -05:00
|
|
|
--confdir=${LOCALBASE}/share/mplayer
|
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
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
|
|
|
CONFIGURE_ARGS+=--target=ppc-openbsd
|
|
|
|
.endif
|
|
|
|
|
2003-01-03 19:58:43 -05:00
|
|
|
FLAVORS= sdl ggi debug mad win32 iconv no_x11 cdda faad aa lzo
|
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
|
|
|
|
2002-11-13 12:54:35 -05:00
|
|
|
.if ${FLAVOR:L:Mfaad}
|
|
|
|
CONFIGURE_ARGS+=--enable-faad
|
|
|
|
LIB_DEPENDS+= faad::audio/faad
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-faad
|
|
|
|
.endif
|
|
|
|
|
2003-01-03 19:58:43 -05:00
|
|
|
.if ${FLAVOR:L:Mlzo}
|
|
|
|
CONFIGURE_ARGS+=--enable-liblzo
|
|
|
|
LIB_DEPENDS+=lzo::archivers/lzo
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-liblzo
|
|
|
|
.endif
|
|
|
|
|
2002-06-29 07:51:22 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
. if ${FLAVOR:L:Msdl} || ${FLAVOR:L:Mggi} || ${FLAVOR:L:Mmad}
|
|
|
|
ERRORS+="Fatal: nonsense combination of flavors"
|
|
|
|
. else
|
|
|
|
CONFIGURE_ARGS+=--disable-gui \
|
|
|
|
--disable-gl \
|
|
|
|
--disable-xv \
|
|
|
|
--disable-x11 \
|
|
|
|
--disable-sunaudio
|
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-gui \
|
|
|
|
--enable-gl
|
|
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS+= gtk,gdk::x11/gtk+
|
|
|
|
.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
|
|
|
.if ${FLAVOR:L:Msdl}
|
|
|
|
CONFIGURE_ARGS+=--enable-sdl \
|
|
|
|
--with-sdl-config=${LOCALBASE}/bin/sdl-config
|
2003-01-06 12:33:01 -05:00
|
|
|
LIB_DEPENDS+= SDL:sdl-1.2.4p1,>=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:Mggi}
|
|
|
|
CONFIGURE_ARGS+=--enable-ggi
|
|
|
|
LIB_DEPENDS+= ggi::graphics/ggi
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-ggi
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+=--enable-debug=3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmad}
|
|
|
|
CONFIGURE_ARGS+=--enable-mad
|
|
|
|
LIB_DEPENDS+= mad::audio/mad
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-mad
|
|
|
|
.endif
|
|
|
|
|
2002-05-16 09:57:49 -04:00
|
|
|
.if ${FLAVOR:L:Miconv}
|
|
|
|
CONFIGURE_ARGS+=--enable-iconv
|
|
|
|
LIB_DEPENDS+= iconv::converters/libiconv
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-iconv
|
|
|
|
.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
|
|
|
.if ${FLAVOR:L:Mwin32}
|
2002-06-29 07:36:07 -04:00
|
|
|
ONLY_FOR_ARCHS=i386
|
|
|
|
|
2002-08-18 09:17:50 -04:00
|
|
|
. if !defined(NO_WARNINGS)
|
2002-06-29 07:36:07 -04:00
|
|
|
pre-fetch:
|
2002-05-10 15:42:25 -04:00
|
|
|
@echo
|
|
|
|
@echo " WARNING: This application requires a kernel compiled with"
|
|
|
|
@echo " 'option USER_LDT' for proper operation. The GENERIC"
|
|
|
|
@echo " kernel does not have this option enabled by default."
|
|
|
|
@echo
|
2002-08-18 09:17:50 -04:00
|
|
|
. endif
|
2002-06-29 07:36:07 -04:00
|
|
|
|
2003-02-16 02:25:18 -05:00
|
|
|
RUN_DEPENDS+= :win32-codecs-*:graphics/win32-codecs
|
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
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
2003-02-16 02:25:18 -05:00
|
|
|
CONFIGURE_ARGS+=--with-win32libdir=${LOCALBASE}/lib/win32 \
|
|
|
|
--enable-qtx-codecs
|
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
|
2003-02-16 02:25:18 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-win32 \
|
|
|
|
--disable-qtx-codecs
|
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-08-18 09:17:50 -04:00
|
|
|
.if ${FLAVOR:L:Mcdda}
|
|
|
|
CONFIGURE_ARGS+=--enable-cdparanoia
|
2002-10-14 05:50:48 -04:00
|
|
|
BUILD_DEPENDS+= cdda_paranoia,cdda_interface:cdparanoia->=3.a9.8:audio/cdparanoia
|
2002-08-18 09:17:50 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-cdparanoia
|
|
|
|
.endif
|
|
|
|
|
2002-12-22 09:19:47 -05:00
|
|
|
.if ${FLAVOR:L:Maa}
|
|
|
|
CONFIGURE_ARGS+=--enable-aa
|
|
|
|
LIB_DEPENDS+= aa.1.3::graphics/aalib
|
|
|
|
.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
|
|
|
|
2002-05-16 22:00:29 -04:00
|
|
|
.if ${ELF_TOOLCHAIN} == "no"
|
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-patch:
|
|
|
|
@ln -s ${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin/as ${WRKDIR}/bin/as
|
2002-05-16 10:00:23 -04:00
|
|
|
.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
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= 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
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/Skin/${SKIN}
|
2003-02-16 02:25:18 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${SKIN}/* ${PREFIX}/share/mplayer/Skin/${SKIN}
|
|
|
|
cd ${WRKDIST}/etc; ${INSTALL_DATA} input.conf menu.conf \
|
|
|
|
${PREFIX}/share/mplayer
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mplayer
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/DOCS/*.html ${PREFIX}/share/doc/mplayer
|
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>
|