2003-05-26 12:53:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.56 2003/05/26 16:53:05 espie 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.
|
2003-04-17 06:35:07 -04:00
|
|
|
ONLY_FOR_ARCHS= i386 macppc
|
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
|
|
|
|
2003-04-17 06:35:07 -04:00
|
|
|
DISTNAME= MPlayer-0.90
|
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
|
|
|
|
|
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
|
|
|
|
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/
|
2003-02-18 20:06:03 -05:00
|
|
|
# The skins tarball changes on a daily basis so it is mirrored
|
|
|
|
# locally, do NOT change this
|
|
|
|
#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
|
2003-02-17 09:55:34 -05:00
|
|
|
SKINVER= 1.7
|
2002-09-04 01:40:21 -04:00
|
|
|
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>
|
|
|
|
|
2003-02-18 11:40:38 -05:00
|
|
|
.if ${ELF_TOOLCHAIN:L} == "no"
|
2003-04-17 18:16:18 -04:00
|
|
|
BUILD_DEPENDS+= :binutils->=2.11.2:devel/binutils/stable
|
|
|
|
MAKE_ENV+= AR=${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin/ar
|
2003-02-17 09:55:34 -05:00
|
|
|
CONFIGURE_ARGS+=--as=${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bin/as
|
2002-05-16 10:00:23 -04:00
|
|
|
.endif
|
2003-04-17 18:16:18 -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 \
|
2002-05-15 19:16:59 -04:00
|
|
|
mp3lame::audio/lame \
|
2002-09-14 08:19:15 -04:00
|
|
|
ungif,gif::graphics/libungif \
|
2003-04-17 06:35:07 -04:00
|
|
|
vorbis.0,vorbisfile.1::audio/libvorbis \
|
|
|
|
iconv::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
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= simple
|
2003-02-17 09:55:34 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-alsa \
|
2002-05-12 14:50:46 -04:00
|
|
|
--disable-ossaudio \
|
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 \
|
2003-04-17 06:35:07 -04:00
|
|
|
--enable-iconv \
|
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-05-26 12:53:05 -04:00
|
|
|
FLAVORS= arts esd sdl ggi debug mad win32 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-02-18 12:17:44 -05:00
|
|
|
.if ${FLAVOR:L:Marts}
|
|
|
|
CONFIGURE_ARGS+=--enable-arts
|
|
|
|
LIB_DEPENDS+= artsc::x11/kde/arts3
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-arts
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS+=--enable-esd
|
|
|
|
LIB_DEPENDS+= esd::audio/esound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-esd
|
|
|
|
.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 \
|
2003-04-17 18:16:18 -04:00
|
|
|
--disable-gl \
|
|
|
|
--disable-xv \
|
|
|
|
--disable-x11
|
2002-06-29 07:51:22 -04:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-gui \
|
2003-04-17 18:16:18 -04:00
|
|
|
--enable-gl
|
2002-06-29 07:51:22 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS+= gtk,gdk::x11/gtk+
|
|
|
|
.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}
|
|
|
|
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
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mwin32}
|
2002-06-29 07:36:07 -04:00
|
|
|
ONLY_FOR_ARCHS=i386
|
|
|
|
|
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 \
|
2003-05-26 12:53:05 -04:00
|
|
|
--enable-qtx-codecs \
|
|
|
|
--with-reallibdir=${LOCALBASE}/lib/win32
|
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 \
|
2003-05-26 12:53:05 -04:00
|
|
|
--disable-qtx-codecs \
|
|
|
|
--disable-real
|
2003-05-18 07:49:55 -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
|
|
|
|
2003-02-18 11:40:38 -05:00
|
|
|
.if ${ELF_TOOLCHAIN:L} == "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>
|