2007-11-15 02:50:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.123 2007/11/15 07:50:27 jakemsr 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
|
|
|
|
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
|
|
|
|
2006-07-19 17:40:47 -04:00
|
|
|
DISTNAME= MPlayer-1.0pre8
|
2002-08-18 07:26:48 -04:00
|
|
|
DIST_SUBDIR= mplayer
|
2007-11-15 02:50:27 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}p17
|
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
|
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
|
2007-02-15 06:49:03 -05:00
|
|
|
WANTLIB= c m ncurses pthread stdc++ util z crypto
|
2006-07-19 17:40:47 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
|
|
|
http://www2.mplayerhq.hu/MPlayer/releases/ \
|
|
|
|
http://www.mplayerhq.hu/MPlayer/releases/ \
|
|
|
|
http://ftp.lug.udel.edu/MPlayer/releases/
|
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-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/
|
2006-12-27 21:23:17 -05:00
|
|
|
MASTER_SITES0= ${MASTER_SITE_BACKUP}
|
2007-02-08 13:58:22 -05:00
|
|
|
MASTER_SITES1= http://www.nazgul.ch/dev/
|
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
|
|
|
|
2007-02-08 13:58:22 -05:00
|
|
|
MAINTAINER= Bjorn Sandell <biorn@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-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 \
|
|
|
|
x264::multimedia/x264
|
2007-02-12 09:47:11 -05:00
|
|
|
|
2007-04-19 04:37:09 -04:00
|
|
|
BUILD_DEPENDS= :rtunes->=0.6:audio/rtunes \
|
|
|
|
::net/livemedia
|
2007-02-08 13:58:22 -05:00
|
|
|
|
|
|
|
PATCHFILES= rtunes_ao.diff:1
|
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 \
|
2006-07-19 17:40:47 -04:00
|
|
|
--disable-internal-vidix \
|
|
|
|
--disable-external-vidix \
|
2005-04-01 01:28:57 -05:00
|
|
|
--disable-libdv \
|
|
|
|
--disable-smb \
|
2006-08-02 04:24:34 -04:00
|
|
|
--disable-external-tremor \
|
2006-08-09 04:15:24 -04:00
|
|
|
--disable-faac \
|
2005-07-25 13:10:09 -04:00
|
|
|
--enable-theora \
|
2007-11-15 02:50:27 -05:00
|
|
|
--disable-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 \
|
2007-04-08 13:33:39 -04:00
|
|
|
--enable-x264 \
|
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 \
|
2007-04-19 04:37:09 -04:00
|
|
|
--with-livelibdir=${LOCALBASE}/live \
|
2006-07-19 17:40:47 -04:00
|
|
|
--confdir=${CONFDIR} \
|
|
|
|
--disable-langinfo \
|
|
|
|
--disable-fribidi
|
|
|
|
|
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
|
2006-09-18 08:19:39 -04:00
|
|
|
WANTLIB+= glib-2.0 gmodule-2.0 gthread-2.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}
|
2007-04-05 12:20:02 -04:00
|
|
|
MODULES= converters/libiconv
|
2006-11-29 14:49:33 -05:00
|
|
|
. if ${FLAVOR:L:Msdl} || ${FLAVOR:L:Mggi}
|
2002-06-29 07:51:22 -04:00
|
|
|
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
|
2006-09-18 08:19:39 -04:00
|
|
|
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
2005-07-27 07:56:01 -04:00
|
|
|
mp3lame:lame-*:audio/lame
|
2007-11-09 10:49:12 -05:00
|
|
|
WANTLIB+= GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
|
|
|
|
Xfixes Xi Xinerama Xrandr Xrender Xv Xxf86dga Xxf86vm \
|
|
|
|
atk-1.0 cairo expat fontconfig freetype glib-2.0 glitz \
|
|
|
|
gmodule-2.0 gobject-2.0 pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0
|
2007-04-05 12:20:02 -04:00
|
|
|
MODULES= devel/gettext
|
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
|
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
|
|
|
|
|
2004-10-18 02:48:08 -04:00
|
|
|
.if ${MACHINE_ARCH:Mi386}
|
2007-11-12 02:08:24 -05:00
|
|
|
PATCH_LIST= patch-* i386-patch-postproc_Makefile
|
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}
|
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
|
|
|
|
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
|
2006-07-19 17:40:47 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/skins/${SKIN}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${SKIN}/* ${PREFIX}/share/mplayer/skins/${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>
|