2005-10-16 17:29:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.94 2005/10/16 21:29:30 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.
|
2005-03-26 23:10:51 -05:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm
|
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
|
|
|
|
2005-05-09 08:24:38 -04:00
|
|
|
DISTNAME= MPlayer-1.0pre7
|
2002-08-18 07:26:48 -04:00
|
|
|
DIST_SUBDIR= mplayer
|
2005-10-16 17:29:30 -04:00
|
|
|
PKGNAME= ${DISTNAME:L}p11
|
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
|
2005-07-25 13:10:09 -04:00
|
|
|
WANTLIB= c m ogg pthread stdc++ termcap util z
|
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
|
|
|
|
|
|
|
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
|
2003-05-30 20:03:22 -04:00
|
|
|
# locally, do NOT change this.
|
2003-02-18 20:06:03 -05: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
|
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>
|
|
|
|
|
2004-08-09 07:09:10 -04:00
|
|
|
MODULES= converters/libiconv
|
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 \
|
|
|
|
theora::multimedia/libtheora
|
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 \
|
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 \
|
2004-06-22 04:13:11 -04:00
|
|
|
--disable-vidix \
|
2005-03-16 07:33:35 -05:00
|
|
|
--disable-xvid \
|
2005-04-01 01:28:57 -05:00
|
|
|
--disable-libdv \
|
|
|
|
--disable-smb \
|
2005-07-25 13:10:09 -04:00
|
|
|
--enable-theora \
|
2002-05-09 10:01:42 -04:00
|
|
|
--enable-select \
|
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 \
|
2003-12-04 17:05:09 -05:00
|
|
|
--enable-cdparanoia \
|
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-10-26 14:54:46 -05:00
|
|
|
--confdir=${CONFDIR}
|
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
|
|
|
|
2004-06-14 22:19:56 -04:00
|
|
|
.if ${MACHINE_ARCH:Mi386}
|
|
|
|
CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
|
|
|
.endif
|
|
|
|
|
2002-05-12 04:16:24 -04:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2004-06-22 04:13:11 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-altivec
|
2004-06-22 16:34:09 -04:00
|
|
|
.endif
|
2002-05-12 04:16:24 -04:00
|
|
|
|
2004-10-18 02:48:08 -04:00
|
|
|
FLAVORS= arts esd sdl ggi debug mad no_x11 aa
|
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
|
|
|
|
2005-08-04 18:43:18 -04:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
CONFIGURE_ARGS+=--disable-mp3lib
|
|
|
|
FLAVOR+= mad
|
|
|
|
.endif
|
|
|
|
|
2003-02-18 12:17:44 -05:00
|
|
|
.if ${FLAVOR:L:Marts}
|
|
|
|
CONFIGURE_ARGS+=--enable-arts
|
|
|
|
LIB_DEPENDS+= artsc::x11/kde/arts3
|
2004-12-19 07:56:26 -05:00
|
|
|
WANTLIB+= glib-2.0.0.0 gmodule-2.0.0.0 gthread-2.0.0.0
|
2003-02-18 12:17:44 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-arts
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS+=--enable-esd
|
|
|
|
LIB_DEPENDS+= esd::audio/esound
|
2004-12-19 07:56:26 -05:00
|
|
|
WANTLIB+= audiofile
|
2003-02-18 12:17:44 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-esd
|
|
|
|
.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 \
|
2005-05-09 08:24:38 -04:00
|
|
|
--disable-x11 \
|
|
|
|
--disable-fontconfig \
|
|
|
|
--disable-freetype
|
2005-07-27 07:56:01 -04:00
|
|
|
LIB_DEPENDS+= mp3lame:lame-*:audio/lame,no_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
|
2005-07-27 07:56:01 -04:00
|
|
|
LIB_DEPENDS+= gtk,gdk::x11/gtk+ \
|
|
|
|
mp3lame:lame-*:audio/lame
|
2005-05-09 08:24:38 -04:00
|
|
|
BUILD_DEPENDS+= :pkgconfig->=0.15.0p0:devel/pkgconfig
|
2004-12-19 07:56:26 -05:00
|
|
|
WANTLIB+= GL X11 Xext Xi Xinerama Xv Xxf86dga Xxf86vm glib gmodule intl
|
2005-05-09 08:24:38 -04:00
|
|
|
WANTLIB+= freetype fontconfig
|
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}
|
|
|
|
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
|
2004-12-19 07:56:26 -05:00
|
|
|
WANTLIB+= usbhid
|
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
|
2003-12-11 03:09:21 -05: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
|
|
|
|
|
2004-10-18 02:48:08 -04:00
|
|
|
.if ${MACHINE_ARCH:Mi386}
|
2003-02-16 02:25:18 -05:00
|
|
|
CONFIGURE_ARGS+=--with-win32libdir=${LOCALBASE}/lib/win32 \
|
2003-09-25 16:59:01 -04:00
|
|
|
--enable-qtx \
|
2003-05-26 12:53:05 -04:00
|
|
|
--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-09-25 16:59:01 -04:00
|
|
|
--disable-qtx \
|
2003-05-26 12:53:05 -04:00
|
|
|
--disable-real
|
2003-05-18 07:49:55 -04:00
|
|
|
.endif
|
|
|
|
|
2002-12-22 09:19:47 -05:00
|
|
|
.if ${FLAVOR:L:Maa}
|
|
|
|
CONFIGURE_ARGS+=--enable-aa
|
2005-07-27 07:56:01 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
LIB_DEPENDS+= aa.1.3:aalib-*-no_x11:graphics/aalib,no_x11
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= aa.1.3:aalib-*:graphics/aalib
|
|
|
|
.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
|
|
|
|
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:
|
2003-10-26 14:54:46 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mplayer
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/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
|
|
|
${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}
|
2003-10-26 14:54:46 -05:00
|
|
|
cd ${WRKDIST}/etc; ${INSTALL_DATA} input.conf menu.conf codecs.conf \
|
|
|
|
${PREFIX}/share/examples/mplayer
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/etc/example.conf \
|
|
|
|
${PREFIX}/share/examples/mplayer/mplayer.conf
|
2003-12-16 12:17:14 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/DOCS/HTML/en/*.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>
|