2010-08-25 19:27:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.172 2010/08/25 23:27:21 sthen 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.
|
2010-02-23 14:59:13 -05:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm mips64 mips64el
|
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
|
|
|
|
2010-07-14 14:15:37 -04:00
|
|
|
COMMENT= movie player supporting many formats
|
2003-02-16 02:25:18 -05:00
|
|
|
|
2010-05-26 17:29:56 -04:00
|
|
|
V= 20100308
|
|
|
|
V_DASHED= 2010-03-08
|
|
|
|
|
|
|
|
SUBST_VARS+= PREFIX CONFDIR
|
|
|
|
|
2008-02-08 12:32:41 -05:00
|
|
|
N= mplayer
|
2009-10-11 09:36:23 -04:00
|
|
|
DISTNAME= mplayer-export-snapshot-${V}
|
2010-07-14 14:15:37 -04:00
|
|
|
PKGNAME= ${N}-${V}
|
2010-08-25 19:27:21 -04:00
|
|
|
REVISION= 5
|
2008-02-08 12:32:41 -05:00
|
|
|
CATEGORIES= x11 multimedia
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2010-05-26 17:29:56 -04:00
|
|
|
WRKDIST = ${WRKDIR}/mplayer-export-${V_DASHED}
|
2009-10-11 09:36:23 -04:00
|
|
|
|
2003-04-17 18:16:18 -04:00
|
|
|
HOMEPAGE= http://www.mplayerhq.hu/
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# GPLv2
|
2007-09-15 16:04:18 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2002-10-29 18:05:44 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-14 14:15:37 -04:00
|
|
|
WANTLIB= a52 bz2 c cdda_interface cdda_paranoia crypto dca \
|
|
|
|
dv dvdnavmini dvdread faac faad fribidi jpeg lcms \
|
2010-08-25 19:27:21 -04:00
|
|
|
m mng mp3lame mpcdec ncurses ogg.>=5 orc-0.4 png \
|
2010-07-14 14:15:37 -04:00
|
|
|
pthread schroedinger-1.0 sndio speex stdc++ theora \
|
2010-08-06 16:05:18 -04:00
|
|
|
ungif util x264.>=3 xvidcore z
|
2009-08-11 04:38:41 -04:00
|
|
|
|
2010-07-14 14:15:37 -04:00
|
|
|
# we use a snapshot
|
2010-05-26 17:29:56 -04:00
|
|
|
MASTER_SITES= http://theunixzoo.co.uk/distfiles/
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2010-07-14 14:15:37 -04:00
|
|
|
MAINTAINER= Edd Barrett <edd@openbsd.org>
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
MODULES+= 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
|
|
|
|
2010-07-14 14:15:37 -04:00
|
|
|
LIB_DEPENDS= ::graphics/png \
|
|
|
|
::graphics/jpeg \
|
|
|
|
::graphics/libungif \
|
|
|
|
:cdparanoia->=3.a9.8:audio/cdparanoia \
|
|
|
|
::multimedia/libtheora \
|
|
|
|
::audio/speex \
|
|
|
|
::audio/libmpcdec \
|
|
|
|
::audio/libogg \
|
|
|
|
::multimedia/xvidcore \
|
|
|
|
::audio/lame \
|
|
|
|
::multimedia/libdv \
|
|
|
|
:libdvdnav->=4.1.3:multimedia/libdvdnav \
|
|
|
|
::devel/libdvdread \
|
|
|
|
::devel/fribidi \
|
|
|
|
::graphics/lcms \
|
|
|
|
::graphics/libmng \
|
|
|
|
::audio/libdca \
|
|
|
|
::archivers/bzip2 \
|
|
|
|
::multimedia/schroedinger \
|
|
|
|
::audio/faad \
|
|
|
|
::audio/faac \
|
|
|
|
::audio/liba52 \
|
|
|
|
::multimedia/x264
|
2007-02-12 09:47:11 -05:00
|
|
|
|
2008-02-12 06:33:16 -05:00
|
|
|
BUILD_DEPENDS= ::net/livemedia \
|
2009-10-11 09:36:23 -04:00
|
|
|
:rtunes->=0.8:audio/rtunes \
|
|
|
|
:libxml-*:textproc/libxml \
|
|
|
|
:libxslt-*:textproc/libxslt \
|
|
|
|
::textproc/docbook \
|
|
|
|
::textproc/docbook-xsl \
|
|
|
|
::audio/ladspa
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-06-14 11:06:49 -04:00
|
|
|
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
|
|
|
|
BUILD_DEPENDS+= ::devel/yasm
|
|
|
|
.endif
|
|
|
|
|
2003-10-26 14:54:46 -05:00
|
|
|
CONFDIR= ${SYSCONFDIR}/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
|
|
|
USE_GMAKE= Yes
|
2010-05-26 17:29:56 -04:00
|
|
|
CONFIGURE_STYLE=simple
|
2003-02-17 09:55:34 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-alsa \
|
2009-01-15 21:39:53 -05:00
|
|
|
--disable-arts \
|
|
|
|
--disable-esd \
|
2002-05-12 14:50:46 -04:00
|
|
|
--disable-ossaudio \
|
2003-02-16 02:25:18 -05:00
|
|
|
--disable-nas \
|
2003-12-04 17:05:09 -05:00
|
|
|
--disable-liblzo \
|
2004-05-06 03:27:36 -04:00
|
|
|
--disable-caca \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-vidix \
|
2005-04-01 01:28:57 -05:00
|
|
|
--disable-smb \
|
2007-11-15 02:50:27 -05:00
|
|
|
--disable-select \
|
2006-07-19 17:40:47 -04:00
|
|
|
--disable-langinfo \
|
2008-02-08 12:32:41 -05:00
|
|
|
--disable-openal \
|
2008-03-19 18:35:35 -04:00
|
|
|
--disable-libvorbis \
|
2010-08-06 16:05:18 -04:00
|
|
|
--disable-tremor \
|
|
|
|
--disable-mad \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-libcdio \
|
|
|
|
--disable-toolame \
|
|
|
|
--disable-dvdread-internal \
|
|
|
|
--disable-libdvdcss-internal \
|
|
|
|
--disable-faad-internal \
|
2010-05-26 17:29:56 -04:00
|
|
|
--disable-gui \
|
|
|
|
--disable-win32dll \
|
|
|
|
--disable-ggi \
|
|
|
|
--disable-libopenjpeg \
|
2009-10-11 09:36:23 -04:00
|
|
|
--enable-menu \
|
|
|
|
--confdir=${CONFDIR} \
|
|
|
|
--mandir=${LOCALBASE}/man \
|
|
|
|
--extra-cflags="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
--extra-ldflags="-L${LOCALBASE}/lib" \
|
2010-06-14 11:06:49 -04:00
|
|
|
--extra-libs-mplayer="-lrtunes -lcrypto"
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2004-06-22 04:13:11 -04:00
|
|
|
CONFIGURE_ENV+= TMPDIR="${WRKBUILD}"
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# bintools 2.15 does not do sse3 for i386/amd64
|
|
|
|
.if ${MACHINE_ARCH:Mi386} || ${MACHINE_ARCH:Mamd64}
|
2004-06-14 22:19:56 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
2008-02-08 12:32:41 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-ssse3
|
2004-06-14 22:19:56 -04:00
|
|
|
.endif
|
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# again bintools 2.15 limits what we can do here too
|
2002-05-12 04:16:24 -04:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2004-06-22 04:13:11 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-altivec
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
2004-06-22 16:34:09 -04:00
|
|
|
.endif
|
2002-05-12 04:16:24 -04:00
|
|
|
|
2010-08-06 16:05:18 -04:00
|
|
|
FLAVORS= sdl debug no_x11 aa jack
|
2002-06-07 20:48:26 -04:00
|
|
|
FLAVOR?=
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# again old binutils...
|
2005-08-04 18:43:18 -04:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
CONFIGURE_ARGS+=--disable-mp3lib
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--target=generic-openbsd
|
2005-08-04 18:43:18 -04:00
|
|
|
.endif
|
|
|
|
|
2002-06-29 07:51:22 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-gl \
|
2003-04-17 18:16:18 -04:00
|
|
|
--disable-xv \
|
2005-05-09 08:24:38 -04:00
|
|
|
--disable-x11 \
|
|
|
|
--disable-fontconfig \
|
|
|
|
--disable-freetype
|
2002-06-29 07:51:22 -04:00
|
|
|
.else
|
|
|
|
USE_X11= Yes
|
2009-10-11 09:36:23 -04:00
|
|
|
WANTLIB+= GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm fontconfig \
|
|
|
|
freetype
|
|
|
|
RUN_DEPENDS+= :desktop-file-utils-*:devel/desktop-file-utils
|
2002-06-29 07:51:22 -04:00
|
|
|
.endif
|
2003-04-17 06:35:07 -04:00
|
|
|
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
.if ${FLAVOR:L:Msdl}
|
2009-10-11 09:36:23 -04:00
|
|
|
CONFIGURE_ARGS+=--with-sdl-config=${LOCALBASE}/bin/sdl-config
|
2010-07-14 14:15:37 -04:00
|
|
|
LIB_DEPENDS+= :sdl->=1.2.5:devel/sdl
|
|
|
|
WANTLIB+= SDL
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-sdl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+=--enable-debug=3
|
|
|
|
.endif
|
|
|
|
|
2002-12-22 09:19:47 -05:00
|
|
|
.if ${FLAVOR:L:Maa}
|
2005-07-27 07:56:01 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2010-07-14 14:15:37 -04:00
|
|
|
LIB_DEPENDS+= :aalib-*-no_x11:graphics/aalib,no_x11
|
|
|
|
WANTLIB+= aa.>=1.3
|
2005-07-27 07:56:01 -04:00
|
|
|
.else
|
2010-07-14 14:15:37 -04:00
|
|
|
LIB_DEPENDS+= :aalib-*:graphics/aalib
|
|
|
|
WANTLIB+= aa.>=1.3
|
2005-07-27 07:56:01 -04:00
|
|
|
.endif
|
2002-12-22 09:19:47 -05:00
|
|
|
.else
|
2002-11-13 12:54:35 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-aa
|
2002-12-22 09:19:47 -05:00
|
|
|
.endif
|
2002-11-13 12:54:35 -05:00
|
|
|
|
2008-04-15 21:43:12 -04:00
|
|
|
.if ${FLAVOR:L:Mjack}
|
2010-07-14 14:15:37 -04:00
|
|
|
LIB_DEPENDS+= ::audio/jack
|
|
|
|
WANTLIB+= jack
|
2008-04-15 21:43:12 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-jack
|
|
|
|
.endif
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-05-26 17:29:56 -04:00
|
|
|
post-extract:
|
|
|
|
@cp ${FILESDIR}/ao_rtunes.c ${FILESDIR}/ao_sndio.c ${WRKSRC}/libao2
|
|
|
|
@cp ${FILESDIR}/ai_sndio.c ${WRKSRC}/stream
|
|
|
|
|
2009-10-11 09:36:23 -04:00
|
|
|
# subst PREFIX in a patch, careful with update-patches!
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/DOCS/xml/configure
|
|
|
|
|
2010-05-26 17:29:56 -04:00
|
|
|
post-configure:
|
|
|
|
# Put a version.h in place so svn is not a BUILD_DEPEND
|
|
|
|
# (see version.sh for how this was supposed to work).
|
|
|
|
cp ${FILESDIR}/version.h ${WRKDIST}/version.h
|
2009-10-11 09:36:23 -04:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/DOCS/xml && ${MAKE_PROGRAM}
|
|
|
|
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/mplayer
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/mplayer
|
2008-02-12 06:33:16 -05:00
|
|
|
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
post-install:
|
2009-10-11 09:36:23 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
2003-10-26 14:54:46 -05:00
|
|
|
cd ${WRKDIST}/etc; ${INSTALL_DATA} input.conf menu.conf codecs.conf \
|
2009-10-11 09:36:23 -04:00
|
|
|
${EXAMPLEDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/etc/example.conf ${EXAMPLEDIR}/mplayer.conf
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/DOCS/HTML/en/*.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${DOCDIR}
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|