2014-11-29 06:53:25 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.244 2014/11/29 06:53:25 brad Exp $
|
2013-01-14 02:15:46 +00:00
|
|
|
|
|
|
|
SHARED_ONLY= 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 05:19:10 +00:00
|
|
|
|
2002-05-12 08:16:24 +00:00
|
|
|
# May not be hard to add more.
|
2012-02-28 02:22:13 +00:00
|
|
|
ONLY_FOR_ARCHS = ${GCC4_ARCHS}
|
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 05:19:10 +00:00
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
COMMENT = movie player supporting many formats
|
2003-02-16 07:25:18 +00:00
|
|
|
|
2014-11-14 06:18:42 +00:00
|
|
|
V = 20141103
|
2014-10-19 23:14:23 +00:00
|
|
|
FFMPEG_V = 20141010
|
2010-05-26 21:29:56 +00:00
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
SUBST_VARS += PREFIX CONFDIR
|
2010-05-26 21:29:56 +00:00
|
|
|
|
2011-03-29 20:04:41 +00:00
|
|
|
# Distfiles must be hand-rolled, see README
|
2010-11-08 21:25:44 +00:00
|
|
|
N = mplayer
|
2011-03-29 20:04:41 +00:00
|
|
|
DISTNAME = mplayer-${V}
|
2014-11-29 06:53:25 +00:00
|
|
|
REVISION = 0
|
2013-01-21 16:23:05 +00:00
|
|
|
EXTRACT_SUFX = .tar.xz
|
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 05:19:10 +00:00
|
|
|
|
2011-03-29 20:04:41 +00:00
|
|
|
CATEGORIES = x11 multimedia
|
2009-10-11 13:36:23 +00:00
|
|
|
|
2010-11-08 21:25:44 +00: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 05:19:10 +00:00
|
|
|
|
2009-10-11 13:36:23 +00:00
|
|
|
# GPLv2
|
2010-11-08 21:25:44 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = patents
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2009-08-11 08:38:41 +00:00
|
|
|
|
2014-11-14 06:18:42 +00:00
|
|
|
WANTLIB = EGL GL X11 Xext Xinerama Xss Xv Xxf86dga Xxf86vm ass avcodec \
|
2012-03-30 13:23:03 +00:00
|
|
|
avformat avutil bluray bz2 c cdda_interface cdda_paranoia \
|
2014-11-14 06:18:42 +00:00
|
|
|
crypto dv dvdnav dvdread enca fontconfig freetype \
|
2014-07-12 22:01:53 +00:00
|
|
|
fribidi jpeg m mng mp3lame ncurses png postproc pthread \
|
|
|
|
SDL sndio stdc++ swscale gif util x264>=5 xvidcore z
|
2006-07-19 21:40:47 +00:00
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
# we use a snapshot
|
2013-01-21 16:23:05 +00:00
|
|
|
MASTER_SITES = http://comstyle.com/source/
|
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 05:19:10 +00:00
|
|
|
|
2014-05-16 01:34:50 +00:00
|
|
|
MAINTAINER = Brad Smith <brad@comstyle.com>
|
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 05:19:10 +00:00
|
|
|
|
2014-05-16 01:34:50 +00:00
|
|
|
MODULES += converters/libiconv \
|
|
|
|
lang/clang
|
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 05:19:10 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS = graphics/png \
|
|
|
|
graphics/jpeg \
|
2013-09-25 07:56:56 +00:00
|
|
|
graphics/giflib \
|
2012-06-09 23:06:24 +00:00
|
|
|
graphics/ffmpeg>=${FFMPEG_V} \
|
2010-11-22 08:36:47 +00:00
|
|
|
audio/cdparanoia>=3.a9.8 \
|
|
|
|
audio/lame \
|
2012-03-30 13:23:03 +00:00
|
|
|
multimedia/libbluray \
|
2010-11-22 08:36:47 +00:00
|
|
|
multimedia/libdv \
|
|
|
|
devel/fribidi \
|
|
|
|
graphics/libmng \
|
|
|
|
archivers/bzip2 \
|
|
|
|
multimedia/x264>=20101023 \
|
2011-06-25 14:15:42 +00:00
|
|
|
devel/sdl>=1.2.5 \
|
2012-05-03 06:51:24 +00:00
|
|
|
multimedia/libass \
|
|
|
|
devel/libdvdread>=4.2.0 \
|
|
|
|
multimedia/libdvdnav>=4.2.0
|
2010-11-22 08:36:47 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS = net/livemedia \
|
|
|
|
audio/rtunes>=0.8 \
|
|
|
|
textproc/docbook-xsl \
|
|
|
|
audio/ladspa
|
2013-01-14 17:02:15 +00:00
|
|
|
# MPlayer uses non-public interfaces to FFmpeg, so we still need
|
|
|
|
# the FFmpeg source in the MPlayer tree at build time.
|
2011-03-29 20:04:41 +00:00
|
|
|
BUILD_DEPENDS +=graphics/ffmpeg:patch
|
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 05:19:10 +00:00
|
|
|
|
2010-06-14 15:06:49 +00:00
|
|
|
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
|
2010-11-22 08:36:47 +00:00
|
|
|
BUILD_DEPENDS += devel/yasm
|
2010-06-14 15:06:49 +00:00
|
|
|
.endif
|
|
|
|
|
2014-05-16 01:34:50 +00:00
|
|
|
MODCLANG_ARCHS= amd64 i386
|
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFDIR = ${SYSCONFDIR}/mplayer
|
2003-10-26 19:54:46 +00:00
|
|
|
|
2013-12-12 21:41:54 +00:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
|
|
|
# uses ARM EABI
|
2014-01-10 21:52:29 +00:00
|
|
|
MPLAYER_ARCH = generic
|
2013-12-12 21:41:54 +00:00
|
|
|
.else
|
2014-01-10 21:52:29 +00:00
|
|
|
MPLAYER_ARCH = ${MACHINE_ARCH}
|
2013-12-12 21:41:54 +00:00
|
|
|
.endif
|
|
|
|
|
2014-01-10 21:52:29 +00:00
|
|
|
# Add back fast math flag since we override CFLAGS
|
|
|
|
CFLAGS += -ffast-math
|
|
|
|
|
2014-01-02 12:21:49 +00:00
|
|
|
# PIE doesn't leave sufficient registers
|
|
|
|
.if ${MACHINE_ARCH:Mi386}
|
2014-01-10 21:52:29 +00:00
|
|
|
CFLAGS += -fomit-frame-pointer
|
2014-01-02 12:21:49 +00:00
|
|
|
.endif
|
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
USE_GMAKE = Yes
|
2010-10-19 08:13:56 +00:00
|
|
|
USE_GROFF = Yes
|
2013-01-14 17:02:15 +00:00
|
|
|
MAKE_ENV = V=1 # turn on verbose FFmpeg build
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS for misc stuff
|
2013-12-12 21:41:54 +00:00
|
|
|
CONFIGURE_ARGS += --target="${MPLAYER_ARCH}-openbsd" \
|
|
|
|
--confdir=${CONFDIR} \
|
2010-11-08 21:25:44 +00:00
|
|
|
--mandir=${LOCALBASE}/man \
|
2013-06-04 18:41:39 +00:00
|
|
|
--extra-cflags="-I${LOCALBASE}/include" \
|
2014-01-10 21:52:29 +00:00
|
|
|
--extra-ldflags="-L${LOCALBASE}/lib -ffast-math" \
|
2010-11-08 21:25:44 +00:00
|
|
|
--extra-libs-mplayer="-lrtunes -lcrypto"
|
|
|
|
|
|
|
|
# CONFIGURE_ARGS that disable internal stuff
|
2012-05-03 06:51:24 +00:00
|
|
|
# gui is not supported anymore and we have better ones in ports
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_ARGS += --disable-alsa \
|
2009-01-16 02:39:53 +00:00
|
|
|
--disable-arts \
|
|
|
|
--disable-esd \
|
2002-05-12 18:50:46 +00:00
|
|
|
--disable-ossaudio \
|
2010-11-08 21:25:44 +00:00
|
|
|
--disable-sunaudio \
|
2009-10-11 13:36:23 +00:00
|
|
|
--disable-vidix \
|
2007-11-15 07:50:27 +00:00
|
|
|
--disable-select \
|
2011-07-02 23:10:25 +00:00
|
|
|
--disable-libcdio \
|
2012-05-03 06:51:24 +00:00
|
|
|
--disable-libmpeg2-internal \
|
|
|
|
--disable-gui \
|
2013-01-14 17:02:15 +00:00
|
|
|
--disable-ffmpeg_a # link FFmpeg .so (graphics/ffmpeg)
|
2010-11-08 21:25:44 +00:00
|
|
|
|
|
|
|
# CONFIGURE_ARGS that enable internal stuff
|
|
|
|
CONFIGURE_ARGS += --enable-menu
|
|
|
|
|
2011-03-29 20:04:41 +00:00
|
|
|
# CONFIGURE_ARGS that enable external stuff
|
|
|
|
CONFIGURE_ARGS += --with-sdl-config=${LOCALBASE}/bin/sdl-config
|
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
# 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 \
|
2013-03-13 02:28:11 +00:00
|
|
|
--disable-libilbc \
|
2011-07-02 23:10:25 +00:00
|
|
|
--disable-libmpeg2 \
|
2010-11-08 21:25:44 +00:00
|
|
|
--disable-toolame \
|
2012-05-03 06:51:24 +00:00
|
|
|
--disable-twolame \
|
2010-05-26 21:29:56 +00:00
|
|
|
--disable-win32dll \
|
|
|
|
--disable-ggi \
|
2011-07-02 23:10:25 +00:00
|
|
|
--disable-libopencore_amrnb \
|
|
|
|
--disable-libopencore_amrwb \
|
2010-05-26 21:29:56 +00:00
|
|
|
--disable-libopenjpeg \
|
2010-11-22 09:02:49 +00:00
|
|
|
--disable-mpg123 \
|
2011-03-29 20:04:41 +00:00
|
|
|
--disable-librtmp \
|
2011-06-27 23:29:20 +00:00
|
|
|
--disable-faac \
|
|
|
|
--disable-faac-lavc \
|
2011-05-03 09:37:12 +00:00
|
|
|
--disable-faad \
|
2011-07-02 23:10:25 +00:00
|
|
|
--disable-theora \
|
2014-01-10 21:52:29 +00:00
|
|
|
--disable-pulse \
|
2014-07-12 22:01:53 +00:00
|
|
|
--disable-relocatable \
|
|
|
|
--disable-speex \
|
|
|
|
--disable-libopus \
|
2014-11-29 06:53:25 +00:00
|
|
|
--disable-libvorbis \
|
|
|
|
--disable-gnutls
|
2006-07-19 21:40:47 +00:00
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
2014-07-12 22:01:53 +00:00
|
|
|
WANTLIB += ogg vorbisidec
|
|
|
|
LIB_DEPENDS += audio/tremor
|
2010-11-08 21:25:44 +00:00
|
|
|
.else
|
2014-07-12 22:01:53 +00:00
|
|
|
CONFIGURE_ARGS += --disable-tremor
|
2010-11-08 21:25:44 +00:00
|
|
|
.endif
|
Import of mplayer-0.90pre3 - Movie Player
MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
VIVO, ASF/WMV, QT/MOV, FLI, NuppelVideo, yuv4mpeg, FILM, RoQ, and some
RealMedia files, supported by many native, XAnim, and Win32 DLL codecs.
You can watch VideoCD, SVCD, DVD, 3ivx, FLI, and even DivX movies too
(and you don't need the avifile library at all!).
Submitted by Björn Sandell <biorn@dce.chalmers.se>, work also done by me
Withstanding issues: see how to deal with optimization detection at build
time so that binary packages can be created; check make it work on
platforms other than i386, etc. things can be done in-tree.
2002-05-09 05:19:10 +00:00
|
|
|
|
2013-01-21 16:23:05 +00:00
|
|
|
CONFIGURE_ENV += LOCALBASE="${LOCALBASE}" TMPDIR="${WRKBUILD}"
|
2010-11-08 21:25:44 +00:00
|
|
|
|
2013-04-08 17:08:36 +00:00
|
|
|
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
2004-06-15 02:19:56 +00:00
|
|
|
.endif
|
|
|
|
|
2013-04-30 00:46:56 +00:00
|
|
|
# binutils 2.15 assembler missing opcode support
|
2002-05-12 08:16:24 +00:00
|
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_ARGS += --disable-altivec
|
|
|
|
CONFIGURE_ARGS += --enable-runtime-cpudetection
|
2004-06-22 20:34:09 +00:00
|
|
|
.endif
|
2002-05-12 08:16:24 +00:00
|
|
|
|
2005-08-04 22:43:18 +00:00
|
|
|
.if ${MACHINE_ARCH:Marm}
|
2010-11-08 21:25:44 +00:00
|
|
|
# disable common floating point decoders that have integer alternatives
|
2013-03-13 02:28:11 +00:00
|
|
|
CONFIGURE_ARGS += --disable-decoder=mp3on4float \
|
2010-11-08 21:25:44 +00:00
|
|
|
--disable-decoder=mp3adufloat \
|
|
|
|
--disable-decoder=mp3float \
|
|
|
|
--disable-decoder=mp2float \
|
|
|
|
--disable-decoder=vorbis
|
2005-08-04 22:43:18 +00:00
|
|
|
.endif
|
|
|
|
|
2011-03-29 20:04:41 +00:00
|
|
|
FLAVORS = debug aa jack
|
2010-11-08 21:25:44 +00:00
|
|
|
FLAVOR ?=
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Mdebug}
|
2010-11-08 21:25:44 +00: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 05:19:10 +00:00
|
|
|
.endif
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Maa}
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS += graphics/aalib
|
|
|
|
WANTLIB += aa>=1.3
|
2002-12-22 14:19:47 +00:00
|
|
|
.else
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_ARGS += --disable-aa
|
2002-12-22 14:19:47 +00:00
|
|
|
.endif
|
2002-11-13 17:54:35 +00:00
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Mjack}
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS += audio/jack
|
2010-11-08 21:25:44 +00:00
|
|
|
WANTLIB += jack
|
2008-04-16 01:43:12 +00:00
|
|
|
.else
|
2010-11-08 21:25:44 +00:00
|
|
|
CONFIGURE_ARGS += --disable-jack
|
2008-04-16 01:43:12 +00:00
|
|
|
.endif
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2002-10-29 19:48:57 +00:00
|
|
|
|
2013-01-21 16:23:05 +00:00
|
|
|
DOCDIR = ${PREFIX}/share/doc/mplayer
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/mplayer
|
|
|
|
|
2010-11-08 21:25:44 +00:00
|
|
|
# copy in rtunes and sndio backends
|
2010-05-26 21:29:56 +00:00
|
|
|
post-extract:
|
2014-01-10 21:52:29 +00:00
|
|
|
@cp ${FILESDIR}/ao_rtunes.c ${WRKSRC}/libao2
|
2010-05-26 21:29:56 +00:00
|
|
|
@cp ${FILESDIR}/ai_sndio.c ${WRKSRC}/stream
|
|
|
|
|
2013-01-14 17:02:15 +00:00
|
|
|
# link FFmpeg sources to where build expects
|
2011-03-29 20:04:41 +00:00
|
|
|
pre-patch:
|
|
|
|
ln -s ${WRKDIR}/graphics/ffmpeg/ffmpeg-git-${FFMPEG_V} ${WRKSRC}/ffmpeg
|
|
|
|
|
2013-01-21 16:23:05 +00:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC} && ${MAKE_PROGRAM} doc
|
|
|
|
|
2010-11-08 21:25:44 +00: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 05:19:10 +00:00
|
|
|
post-install:
|
2009-10-11 13:36:23 +00:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
2003-10-26 19:54:46 +00:00
|
|
|
cd ${WRKDIST}/etc; ${INSTALL_DATA} input.conf menu.conf codecs.conf \
|
2009-10-11 13:36:23 +00: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 05:19:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|