2010-11-23 05:05:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.180 2010/11/23 10:05:48 edd 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-11-23 05:05:48 -05:00
|
|
|
ONLY_FOR_ARCHS = alpha amd64 arm i386 mips64 mips64el powerpc sparc64
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
COMMENT = movie player supporting many formats
|
2003-02-16 02:25:18 -05:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
V = 20101024
|
|
|
|
V_DASHED = 2010-10-24
|
2010-05-26 17:29:56 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
SUBST_VARS += PREFIX CONFDIR
|
2010-05-26 17:29:56 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
N = mplayer
|
|
|
|
DISTNAME = mplayer-export-snapshot-${V}
|
|
|
|
PKGNAME = ${N}-${V}
|
2010-11-22 04:02:49 -05:00
|
|
|
REVISION = 1
|
2010-11-08 16:25:44 -05:00
|
|
|
CATEGORIES = x11 multimedia
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
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-05-26 17:29:56 -04:00
|
|
|
WRKDIST = ${WRKDIR}/mplayer-export-${V_DASHED}
|
2009-10-11 09:36:23 -04:00
|
|
|
|
2010-11-08 16:25:44 -05: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
|
2010-11-08 16:25:44 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = patents
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2009-08-11 04:38:41 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB = bz2 c cdda_interface cdda_paranoia crypto \
|
|
|
|
dv dvdnavmini dvdread faac faad fribidi jpeg lcms \
|
2010-11-22 05:16:08 -05:00
|
|
|
m mng mp3lame mpcdec ncurses ogg>=5 orc-0.4 png \
|
|
|
|
pthread schroedinger-1.0>=2.0 sndio speex stdc++ \
|
|
|
|
theora ungif util vpx x264>=5 xvidcore z
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# we use a snapshot
|
|
|
|
MASTER_SITES = http://theunixzoo.co.uk/distfiles/
|
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-11-08 16:25:44 -05: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
|
|
|
|
2010-11-08 16:25:44 -05: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-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS = graphics/png \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/libungif \
|
|
|
|
audio/cdparanoia>=3.a9.8 \
|
|
|
|
multimedia/libtheora \
|
|
|
|
audio/speex \
|
|
|
|
audio/libmpcdec \
|
|
|
|
audio/libogg \
|
|
|
|
multimedia/xvidcore \
|
|
|
|
audio/lame \
|
|
|
|
multimedia/libdv \
|
|
|
|
multimedia/libdvdnav>=4.1.3 \
|
|
|
|
devel/libdvdread \
|
|
|
|
devel/fribidi \
|
|
|
|
graphics/lcms \
|
|
|
|
graphics/libmng \
|
|
|
|
archivers/bzip2 \
|
|
|
|
multimedia/schroedinger>=1.0.10 \
|
|
|
|
audio/faad \
|
|
|
|
audio/faac \
|
|
|
|
multimedia/x264>=20101023 \
|
|
|
|
multimedia/libvpx
|
|
|
|
|
|
|
|
BUILD_DEPENDS = net/livemedia \
|
|
|
|
audio/rtunes>=0.8 \
|
|
|
|
textproc/libxml \
|
|
|
|
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}
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS += devel/yasm
|
2010-06-14 11:06:49 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFDIR = ${SYSCONFDIR}/mplayer
|
2003-10-26 14:54:46 -05:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
USE_GMAKE = Yes
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2010-11-08 16:25:44 -05:00
|
|
|
MAKE_ENV = V=1 # turn on verbose ffmpeg build
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS for misc stuff
|
|
|
|
CONFIGURE_ARGS += --confdir=${CONFDIR} \
|
|
|
|
--mandir=${LOCALBASE}/man \
|
|
|
|
--extra-cflags="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
--extra-ldflags="-L${LOCALBASE}/lib" \
|
|
|
|
--extra-libs-mplayer="-lrtunes -lcrypto"
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS that disable internal stuff
|
|
|
|
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 \
|
2010-11-08 16:25:44 -05:00
|
|
|
--disable-sunaudio \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-vidix \
|
2007-11-15 02:50:27 -05:00
|
|
|
--disable-select \
|
2009-10-11 09:36:23 -04:00
|
|
|
--disable-libcdio \
|
|
|
|
--disable-dvdread-internal \
|
|
|
|
--disable-libdvdcss-internal \
|
2010-11-08 16:25:44 -05:00
|
|
|
--disable-faad-internal
|
|
|
|
# gui is not supported anymore and we have better ones in ports
|
|
|
|
CONFIGURE_ARGS += --disable-gui
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS that enable internal stuff
|
|
|
|
CONFIGURE_ARGS += --enable-menu
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS that disable external stuff
|
|
|
|
CONFIGURE_ARGS += --disable-smb \
|
|
|
|
--disable-liblzo \
|
|
|
|
--disable-nas \
|
|
|
|
--disable-caca \
|
|
|
|
--disable-langinfo \
|
|
|
|
--disable-mad \
|
|
|
|
--disable-openal \
|
|
|
|
--disable-libdca \
|
|
|
|
--disable-liba52 \
|
|
|
|
--disable-toolame \
|
2010-05-26 17:29:56 -04:00
|
|
|
--disable-win32dll \
|
|
|
|
--disable-ggi \
|
|
|
|
--disable-libopenjpeg \
|
2010-11-22 04:02:49 -05:00
|
|
|
--disable-mpg123 \
|
|
|
|
--disable-librtmp
|
2006-07-19 17:40:47 -04:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# internal tremor, external tremor, external libvorbis all conflict
|
|
|
|
# we choose libvorbis to enable encoding to vorbis
|
|
|
|
CONFIGURE_ARGS += --disable-tremor
|
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
# ... except on arm, which has no floating point hardware
|
|
|
|
CONFIGURE_ARGS += --disable-libvorbis
|
|
|
|
.else
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += audio/libvorbis
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB += vorbisenc vorbis
|
|
|
|
CONFIGURE_ARGS += --disable-tremor-internal
|
|
|
|
.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
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ENV += TMPDIR="${WRKBUILD}"
|
|
|
|
|
|
|
|
# binutils 2.15 does not do sse3 for i386/amd64
|
2009-10-11 09:36:23 -04:00
|
|
|
.if ${MACHINE_ARCH:Mi386} || ${MACHINE_ARCH:Mamd64}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
|
|
|
CONFIGURE_ARGS += --disable-ssse3
|
2004-06-14 22:19:56 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# again binutils 2.15 limits what we can do here too
|
2002-05-12 04:16:24 -04:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-altivec
|
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
2004-06-22 16:34:09 -04:00
|
|
|
.endif
|
2002-05-12 04:16:24 -04:00
|
|
|
|
2005-08-04 18:43:18 -04:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
2010-11-08 16:25:44 -05:00
|
|
|
# disable common floating point decoders that have integer alternatives
|
|
|
|
CONFIGURE_ARGS += --disable-mp3lib \
|
|
|
|
--disable-decoder=mp3on4float \
|
|
|
|
--disable-decoder=mp3adufloat \
|
|
|
|
--disable-decoder=mp3float \
|
|
|
|
--disable-decoder=mp2float \
|
|
|
|
--disable-decoder=vorbis
|
|
|
|
# again old binutils...
|
|
|
|
CONFIGURE_ARGS += --target=generic-openbsd
|
2005-08-04 18:43:18 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
FLAVORS = sdl debug no_x11 aa jack
|
|
|
|
FLAVOR ?=
|
|
|
|
|
2002-06-29 07:51:22 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2010-11-08 16:25:44 -05: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
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB += GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm fontconfig \
|
2009-10-11 09:36:23 -04:00
|
|
|
freetype
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS += 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}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --with-sdl-config=${LOCALBASE}/bin/sdl-config
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += devel/sdl>=1.2.5
|
2010-11-08 16:25:44 -05:00
|
|
|
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
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-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
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --enable-debug=3 \
|
|
|
|
--disable-sighandler
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 01:19:10 -04:00
|
|
|
.endif
|
|
|
|
|
2002-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-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += aalib-*-no_x11:graphics/aalib,no_x11
|
|
|
|
WANTLIB += aa>=1.3
|
2005-07-27 07:56:01 -04:00
|
|
|
.else
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += graphics/aalib
|
|
|
|
WANTLIB += aa>=1.3
|
2005-07-27 07:56:01 -04:00
|
|
|
.endif
|
2002-12-22 09:19:47 -05:00
|
|
|
.else
|
2010-11-08 16:25:44 -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-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS += audio/jack
|
2010-11-08 16:25:44 -05:00
|
|
|
WANTLIB += jack
|
2008-04-15 21:43:12 -04:00
|
|
|
.else
|
2010-11-08 16:25:44 -05:00
|
|
|
CONFIGURE_ARGS += --disable-jack
|
2008-04-15 21:43:12 -04:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
NO_REGRESS = Yes
|
2002-10-29 14:48:57 -05:00
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# copy in rtunes and sndio backends
|
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-11-08 16:25:44 -05:00
|
|
|
|
|
|
|
# Put a version.h in place so svn is not a BUILD_DEPEND
|
|
|
|
# (see version.sh for how this was supposed to work).
|
2010-05-26 17:29:56 -04:00
|
|
|
post-configure:
|
|
|
|
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
|
|
|
|
2010-11-08 16:25:44 -05:00
|
|
|
# install docs
|
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}
|
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>
|