pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Move mplayer-share to the mul...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e1edc618df5
branches: trunk
changeset: 467098:2e1edc618df5
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Jan 26 12:06:40 2004 +0000
description:
Move mplayer-share to the multimedia category (coming from graphics).
This is version 1.0rc3.
diffstat:
multimedia/mplayer-share/DESCR | 14 +
multimedia/mplayer-share/Makefile | 46 ++
multimedia/mplayer-share/Makefile.cflags | 19 +
multimedia/mplayer-share/Makefile.common | 91 +++++
multimedia/mplayer-share/Makefile.depends | 43 ++
multimedia/mplayer-share/PLIST | 515 ++++++++++++++++++++++++++++++
multimedia/mplayer-share/distinfo | 14 +
multimedia/mplayer-share/patches/patch-aa | 42 ++
multimedia/mplayer-share/patches/patch-ab | 18 +
multimedia/mplayer-share/patches/patch-ad | 25 +
multimedia/mplayer-share/patches/patch-ae | 42 ++
11 files changed, 869 insertions(+), 0 deletions(-)
diffs (truncated from 913 to 300 lines):
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/DESCR Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,14 @@
+MPlayer is a movie player for LINUX (runs on many other Unices,
+and non-x86 CPUs). It plays most MPEG, VOB, AVI, VIVO, ASF/WMV,
+QT/MOV, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ files, supported
+by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD,
+SVCD, DVD, 3ivx, and even DivX movies too. The another big feature
+of mplayer is the wide range of supported output drivers. It works
+with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but
+you can use GGI and SDL (and this way all their drivers) and some
+lowlevel card-specific drivers (for Matrox, 3Dfx, and Radeon) too!
+Most of them support software or hardware scaling, so you can
+enjoy movies in fullscreen. It also sports nice big antialiased
+shaded subtitles (10 supported types) with european/ISO 8859-1,
+2 (hungarian, english, czech, etc), cyrillic, korean fonts, and
+OSD.
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/Makefile Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 12:06:41 jmmv Exp $
+
+.include "Makefile.common"
+
+PKGNAME= mplayer-share-${MPLAYER_PKG_VERSION}
+COMMENT= Documentation and fonts used by mplayer and gmplayer
+
+NO_BUILD= YES
+NO_CONFIGURE= YES
+
+MP_FONTS= font-arial-iso-8859-1.tar.bz2 \
+ font-arial-iso-8859-2.tar.bz2 \
+ font-arial-cp1250.tar.bz2
+FONT_DIRS= font-arial-cp1250 font-arial-iso-8859-1 font-arial-iso-8859-2
+
+.for font in ${MP_FONTS}
+SITES_${font}= http://www2.mplayerhq.hu/MPlayer/releases/fonts/ \
+ ftp://ftp.mplayerhq.hu/MPlayer/releases/fonts/
+.endfor
+
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= ${MP_FONTS}
+
+.include "../../mk/bsd.prefs.mk"
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/DOCS/man/en/mplayer.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/DOCS
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/fonts
+ ${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/mplayer
+ ${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${PREFIX}/share/mplayer
+ (cd ${WRKSRC}/DOCS && \
+ ${PAX} -rwpppm * ${PREFIX}/share/mplayer/DOCS); \
+ ${FIND} ${PREFIX}/share/mplayer/DOCS -type d -exec ${CHMOD} \
+ ${PKGDIRMODE} \{\} \;
+ ${FIND} ${PREFIX}/share/mplayer/DOCS -type f -exec ${CHMOD} \
+ ${SHAREMODE} \{\} \;
+ for D in ${FONT_DIRS}; do \
+ (cd ${WRKDIR}/$$D && \
+ ${PAX} -rwpppm * ${PREFIX}/share/mplayer/fonts); \
+ done
+ ${LN} -s ${PREFIX}/share/mplayer/fonts/font-arial-18-iso-8859-1 \
+ ${PREFIX}/share/mplayer/font
+
+.include "../../mk/bsd.pkg.mk"
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/Makefile.cflags
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/Makefile.cflags Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.cflags,v 1.1.1.1 2004/01/26 12:06:40 jmmv Exp $
+
+# This must be included after everything else to truly clear ${CFLAGS}
+# in the non-runtime-cpu-detection case. If ${CFLAGS} is non-empty, the
+# configure script refuses to add any optimizations at all.
+
+.if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES
+. if ${MACHINE_ARCH} == i386
+# Schedule for the typical machine fast enough to run mplayer. This
+# is nearly optimal for K6-2 as well. Anything slowler will still run
+# (but would probably benefit greatly from turning off the run-time
+# cpu detection).
+CFLAGS= -O3 -ffast-math -fomit-frame-pointer -mcpu=pentiumpro
+. else
+CFLAGS= -O3 -ffast-math -fomit-frame-pointer
+. endif
+.else
+CFLAGS= # Let "configure" do its thing.
+.endif
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/Makefile.common Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,91 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/01/26 12:06:43 jmmv Exp $
+#
+
+MPLAYER_DIST_VERSION= 1.0pre3
+
+# This variable is used in all packages which depend on this package
+MPLAYER_PKG_VERSION= 1.0rc3
+
+DISTNAME= MPlayer-${MPLAYER_DIST_VERSION}
+CATEGORIES?= multimedia
+MASTER_SITES= http://www.mplayerhq.hu/MPlayer/releases/ \
+ http://www2.mplayerhq.hu/MPlayer/releases/ \
+ ftp://ftp.mplayerhq.hu/MPlayer/releases/ \
+ ftp://ftp2.mplayerhq.hu/MPlayer/releases/
+EXTRACT_SUFX= .tar.bz2
+DIST_SUBDIR= mplayer-${MPLAYER_PKG_VERSION}
+
+MAINTAINER?= tech-pkg%NetBSD.org@localhost
+HOMEPAGE?= http://www.mplayerhq.hu/
+
+PATCHDIR= ${.CURDIR}/../../multimedia/mplayer-share/patches
+
+NO_BIN_ON_CD= "a dependency is restricted"
+NO_BIN_ON_FTP= "a dependency is restricted"
+NO_SRC_ON_FTP= "prohibited by USAs DMCA"
+
+USE_BUILDLINK2= YES
+USE_GNU_TOOLS+= make
+HAS_CONFIGURE= YES
+
+PTHREAD_OPTS+= require
+
+CONFIGURE_ARGS+= --prefix="${PREFIX}" \
+ --with-extraincdir="${LOCALBASE}/include" \
+ --with-extralibdir="${LOCALBASE}/lib" \
+ --with-extralibdir="${X11BASE}/lib" \
+ --disable-mpdvdkit \
+
+# The configure script attempts to test-execute compiled programs in /tmp,
+# but that directory may be mounted as noexec; work this around by setting
+# TMPDIR to ${WRKDIR}
+CONFIGURE_ENV+= TMPDIR=${WRKDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+. if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES
+CONFIGURE_ARGS+= --enable-runtime-cpudetection
+. endif
+BUILD_DEFS+= MPLAYER_ENABLE_RUNTIME_CPU_DETECTION
+.endif
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "alpha"
+CONFIGURE_ARGS+= --with-reallibdir="${LOCALBASE}/lib/RealPlayer8-Codecs"
+.endif
+
+.if defined(BUILDLINK_PREFIX.cdparanoia)
+CONFIGURE_ARGS+= --with-cdparanoiaincdir="${BUILDLINK_PREFIX.cdparanoia}/include/cdparanoia"
+.endif
+
+.if ${OPSYS} == "SunOS" && !empty(MPLAYER_USE_MEDIALIB:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-mlib
+.else
+CONFIGURE_ARGS+= --disable-mlib
+.endif
+
+# Keep this list in sync with the one in bsd.pkg.defaults.mk, where
+# MPLAYER_DISABLE_DRIVERS is explained.
+MPLAYER_DRIVERS= arts audio/arts \
+ esd audio/esound \
+ nas audio/nas \
+ sdl devel/SDL
+
+# arts is currently broken on Solaris.
+.if ${OPSYS} == "SunOS"
+MPLAYER_DISABLE_DRIVERS= arts
+.endif
+
+.if defined(PKGNAME) && !empty(PKGNAME:M*encoder*)
+MPLAYER_DISABLE_DRIVERS=arts esd nas sdl
+.else
+BUILD_DEFS+= MPLAYER_DISABLE_DRIVERS
+.endif
+.for drv pkg in ${MPLAYER_DRIVERS}
+. if empty(MPLAYER_DISABLE_DRIVERS:M${drv})
+CONFIGURE_ARGS+= --enable-${drv}
+. else
+CONFIGURE_ARGS+= --disable-${drv}
+. endif
+.endfor
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/Makefile.depends
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/Makefile.depends Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile.depends,v 1.1.1.1 2004/01/26 12:06:40 jmmv Exp $
+#
+
+DEPENDS+= mplayer-share>=${MPLAYER_PKG_VERSION}:../../multimedia/mplayer-share
+
+GCC_REQD= 2.95.3
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
+. include "../../audio/cdparanoia/buildlink2.mk"
+.endif
+
+.if ${OPSYS} == "NetBSD"
+. include "../../devel/binutils/buildlink2.mk"
+.endif
+
+.if ${MACHINE_ARCH} == "i386"
+DEPENDS+= win32-codecs>=011227:../../multimedia/win32-codecs
+.endif
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "alpha"
+DEPENDS+= realplayer-codecs>=8nb2:../../multimedia/realplayer-codecs
+.endif
+
+USE_X11= YES
+
+.for drv pkg in ${MPLAYER_DRIVERS}
+. if empty(MPLAYER_DISABLE_DRIVERS:M${drv})
+. include "../../${pkg}/buildlink2.mk"
+. endif
+.endfor
+
+.include "../../audio/libmad/buildlink2.mk"
+.include "../../audio/libvorbis/buildlink2.mk"
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/libungif/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/xvidcore/buildlink2.mk"
+.include "../../misc/libdvdread/buildlink2.mk"
+
+.if defined(USE_OSS)
+. include "../../mk/ossaudio.buildlink2.mk"
+.endif
diff -r e126aa687d70 -r 2e1edc618df5 multimedia/mplayer-share/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-share/PLIST Mon Jan 26 12:06:40 2004 +0000
@@ -0,0 +1,515 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 12:06:41 jmmv Exp $
+man/man1/mplayer.1
+share/mplayer/DOCS/HTML/en/aspect.html
+share/mplayer/DOCS/HTML/en/bsd.html
+share/mplayer/DOCS/HTML/en/bugreports.html
+share/mplayer/DOCS/HTML/en/bugreports_advusers.html
+share/mplayer/DOCS/HTML/en/bugreports_fix.html
+share/mplayer/DOCS/HTML/en/bugreports_report.html
+share/mplayer/DOCS/HTML/en/bugreports_what.html
+share/mplayer/DOCS/HTML/en/bugreports_where.html
+share/mplayer/DOCS/HTML/en/bugs-audio.html
+share/mplayer/DOCS/HTML/en/bugs-special.html
+share/mplayer/DOCS/HTML/en/bugs.html
+share/mplayer/DOCS/HTML/en/cd-dvd.html
+share/mplayer/DOCS/HTML/en/codecs.html
+share/mplayer/DOCS/HTML/en/commandline.html
+share/mplayer/DOCS/HTML/en/control.html
+share/mplayer/DOCS/HTML/en/custommatrices.html
+share/mplayer/DOCS/HTML/en/default.css
+share/mplayer/DOCS/HTML/en/devices.html
+share/mplayer/DOCS/HTML/en/drives.html
+share/mplayer/DOCS/HTML/en/dvd.html
+share/mplayer/DOCS/HTML/en/edl.html
+share/mplayer/DOCS/HTML/en/faq.html
+share/mplayer/DOCS/HTML/en/features.html
+share/mplayer/DOCS/HTML/en/formats.html
+share/mplayer/DOCS/HTML/en/gcc-296.html
+share/mplayer/DOCS/HTML/en/gui.html
+share/mplayer/DOCS/HTML/en/history.html
+share/mplayer/DOCS/HTML/en/howtoread.html
+share/mplayer/DOCS/HTML/en/index.html
+share/mplayer/DOCS/HTML/en/install.html
+share/mplayer/DOCS/HTML/en/intro.html
+share/mplayer/DOCS/HTML/en/irix.html
+share/mplayer/DOCS/HTML/en/joe-barr.html
+share/mplayer/DOCS/HTML/en/linux.html
+share/mplayer/DOCS/HTML/en/macos.html
+share/mplayer/DOCS/HTML/en/mailinglists.html
+share/mplayer/DOCS/HTML/en/menc-feat-divx4.html
+share/mplayer/DOCS/HTML/en/menc-feat-enc-images.html
+share/mplayer/DOCS/HTML/en/menc-feat-enc-libavcodec.html
+share/mplayer/DOCS/HTML/en/menc-feat-extractsub.html
+share/mplayer/DOCS/HTML/en/menc-feat-fix-avi.html
+share/mplayer/DOCS/HTML/en/menc-feat-mpeg.html
+share/mplayer/DOCS/HTML/en/menc-feat-rescale.html
+share/mplayer/DOCS/HTML/en/menc-feat-streamcopy.html
+share/mplayer/DOCS/HTML/en/mencoder.html
+share/mplayer/DOCS/HTML/en/mplayer-binary.html
+share/mplayer/DOCS/HTML/en/mpst.html
+share/mplayer/DOCS/HTML/en/nvidia-opinions.html
+share/mplayer/DOCS/HTML/en/patches.html
+share/mplayer/DOCS/HTML/en/ports.html
+share/mplayer/DOCS/HTML/en/qnx.html
+share/mplayer/DOCS/HTML/en/rtc.html
+share/mplayer/DOCS/HTML/en/skin-file.html
+share/mplayer/DOCS/HTML/en/skin-fonts.html
+share/mplayer/DOCS/HTML/en/skin-gui.html
+share/mplayer/DOCS/HTML/en/skin-overview.html
+share/mplayer/DOCS/HTML/en/skin.html
+share/mplayer/DOCS/HTML/en/solaris.html
+share/mplayer/DOCS/HTML/en/streaming.html
+share/mplayer/DOCS/HTML/en/subosd.html
+share/mplayer/DOCS/HTML/en/tv-input.html
Home |
Main Index |
Thread Index |
Old Index