summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorveego <veego@pkgsrc.org>2002-05-25 07:51:22 +0000
committerveego <veego@pkgsrc.org>2002-05-25 07:51:22 +0000
commit9a9c67094a3b66572feae217d7d874f41c23e01e (patch)
tree50adc82347fa617590279669ce4bbfd1bfbd02f3 /graphics
parent57bd98d71b76df26720289df317f81a56881c0e4 (diff)
downloadpkgsrc-9a9c67094a3b66572feae217d7d874f41c23e01e.tar.gz
Documentation and fonts used by mplayer and gmplayer.
Based on the mplayer package, which will be changed to use this. Same for the gmplayer package. The documentations are not longer installed twice if you install mplayer and gmplayer at the same time. The share package also adds the fonts to display the subtitles and timer. Fixes pkg/17004, by using one DIST_SUBDIR for both mplayer and gmplayer (this was allready added in my copy before the pr come in).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer-share/DESCR13
-rw-r--r--graphics/mplayer-share/Makefile39
-rw-r--r--graphics/mplayer-share/Makefile.common48
-rw-r--r--graphics/mplayer-share/PLIST103
-rw-r--r--graphics/mplayer-share/distinfo11
-rw-r--r--graphics/mplayer-share/patches/patch-aa15
6 files changed, 229 insertions, 0 deletions
diff --git a/graphics/mplayer-share/DESCR b/graphics/mplayer-share/DESCR
new file mode 100644
index 00000000000..7775780b112
--- /dev/null
+++ b/graphics/mplayer-share/DESCR
@@ -0,0 +1,13 @@
+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 supports software or hardware scaling, so you can enjoy
+movies in fullscreen. And what about the nice big antialiased shaded
+subtitles (10 supported types!!!) with european/ISO 8859-1,2
+(hungarian, english, czech, etc), cyrillic, korean fonts, and OSD...
diff --git a/graphics/mplayer-share/Makefile b/graphics/mplayer-share/Makefile
new file mode 100644
index 00000000000..0d07515b916
--- /dev/null
+++ b/graphics/mplayer-share/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+
+.include "Makefile.common"
+
+PKGNAME= mplayer-share-${MPLAYER_PKG_VERSION}
+COMMENT= Documentation and fonts used by mplayer and gmplayer
+
+MASTER_SITES+= http://www2.mplayerhq.hu/MPlayer/contrib/fonts/ \
+ ftp://ftp2.mplayerhq.hu/MPlayer/contrib/fonts/
+
+NO_BUILD= YES
+NO_CONFIGURE= YES
+NO_PATCH= YES
+
+MP_FONTS= mp-arial-iso-8859-1.zip \
+ mp-arial-iso-8859-2.zip \
+ koi8r-font.tar.bz2
+
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= ${MP_FONTS}
+
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+.include "../../mk/bsd.prefs.mk"
+
+do-install:
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${INSTALL_MAN} ${WRKSRC}/DOCS/mplayer.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/font
+ ${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/mplayer
+ ${CP} -R ${WRKSRC}/DOCS ${PREFIX}/share/mplayer
+ @${ECHO_MSG} "Installing font ${MPLAYER_FONT}..."
+ (cd ${WRKDIR}/${MPLAYER_FONT}; ${PAX} -rwpp . ${PREFIX}/share/mplayer/font)
+ (cd ${PREFIX}; ${FIND} share/mplayer/font -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d share/mplayer -type d -print | \
+ ${SED} -e "s/^/@dirrm /" | ${SORT} -r >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
new file mode 100644
index 00000000000..f920a255436
--- /dev/null
+++ b/graphics/mplayer-share/Makefile.common
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+
+MPLAYER_DIST_VERSION= 0.90pre4
+MPLAYER_PKG_VERSION= ${MPLAYER_DIST_VERSION:S/pre/rc/}
+
+DISTNAME= MPlayer-${MPLAYER_DIST_VERSION}
+PKGREVISION=1
+CATEGORIES?= graphics
+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
+
+MAINTAINER?= svs@ropnet.ru,zuntum@netbsd.org
+HOMEPAGE?= http://www.mplayerhq.hu/
+
+PATCHDIR= ${.CURDIR}/../../graphics/mplayer-share/patches
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+RESTRICTED?= "unsure of the license"
+# see http://www.mplayerhq.hu/DOCS/users_against_developers.html#binary
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+# no source on the ftp server because of the css source code in it
+NO_SRC_ON_FTP= ${RESTRICTED}
+
+USE_X11= YES
+USE_GMAKE= YES
+HAS_CONFIGURE= YES
+
+USE_PTHREAD= native pth
+
+CONFIGURE_ARGS+= --prefix="${PREFIX}"
+CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
+CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+#CONFIGURE_ARGS+= --enable-dvdread
+CONFIGURE_ARGS+= --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 "../../devel/binutils/buildlink.mk"
+.include "../../lang/gcc/Makefile.gcc"
diff --git a/graphics/mplayer-share/PLIST b/graphics/mplayer-share/PLIST
new file mode 100644
index 00000000000..9eeef8efa43
--- /dev/null
+++ b/graphics/mplayer-share/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+man/man1/mplayer.1
+share/mplayer/DOCS/DVB
+share/mplayer/DOCS/DXR3
+share/mplayer/DOCS/French/bugreports.html
+share/mplayer/DOCS/French/cd-dvd.html
+share/mplayer/DOCS/French/codecs.html
+share/mplayer/DOCS/French/documentation.html
+share/mplayer/DOCS/French/exemple.conf
+share/mplayer/DOCS/French/faq.html
+share/mplayer/DOCS/French/skin-fr.html
+share/mplayer/DOCS/French/sound.html
+share/mplayer/DOCS/French/video.html
+share/mplayer/DOCS/German/bugreports.html
+share/mplayer/DOCS/German/cd-dvd.html
+share/mplayer/DOCS/German/codecs.html
+share/mplayer/DOCS/German/documentation.html
+share/mplayer/DOCS/German/encoding.html
+share/mplayer/DOCS/German/faq.html
+share/mplayer/DOCS/German/formats.html
+share/mplayer/DOCS/German/gcc-2.96-3.0.html
+share/mplayer/DOCS/German/mencoder.1
+share/mplayer/DOCS/German/mplayer.1
+share/mplayer/DOCS/German/sound.html
+share/mplayer/DOCS/German/video.html
+share/mplayer/DOCS/Hungarian/bugreports.html
+share/mplayer/DOCS/Hungarian/cd-dvd.html
+share/mplayer/DOCS/Hungarian/codecs.html
+share/mplayer/DOCS/Hungarian/documentation.html
+share/mplayer/DOCS/Hungarian/encoding.html
+share/mplayer/DOCS/Hungarian/example.conf
+share/mplayer/DOCS/Hungarian/faq.html
+share/mplayer/DOCS/Hungarian/formats.html
+share/mplayer/DOCS/Hungarian/mplayer.1
+share/mplayer/DOCS/Hungarian/skin-hu.html
+share/mplayer/DOCS/Hungarian/sound.html
+share/mplayer/DOCS/Hungarian/video.html
+share/mplayer/DOCS/Italian/bugreports.html
+share/mplayer/DOCS/Italian/cd-dvd.html
+share/mplayer/DOCS/Italian/codecs.html
+share/mplayer/DOCS/Italian/documentation.html
+share/mplayer/DOCS/Italian/encoding.html
+share/mplayer/DOCS/Italian/faq.html
+share/mplayer/DOCS/Italian/formats.html
+share/mplayer/DOCS/Italian/gcc-2.96-3.0.html
+share/mplayer/DOCS/Italian/skin-it.html
+share/mplayer/DOCS/Italian/sound.html
+share/mplayer/DOCS/Italian/users_against_developers.html
+share/mplayer/DOCS/Italian/video.html
+share/mplayer/DOCS/Polish/DVB
+share/mplayer/DOCS/Polish/DXR3
+share/mplayer/DOCS/Polish/bugreports.html
+share/mplayer/DOCS/Polish/cd-dvd.html
+share/mplayer/DOCS/Polish/codecs-in.html
+share/mplayer/DOCS/Polish/codecs.html
+share/mplayer/DOCS/Polish/documentation.html
+share/mplayer/DOCS/Polish/encoding.html
+share/mplayer/DOCS/Polish/faq.html
+share/mplayer/DOCS/Polish/formats.html
+share/mplayer/DOCS/Polish/gcc-2.96-3.0.html
+share/mplayer/DOCS/Polish/mplayer.1
+share/mplayer/DOCS/Polish/skin-pl.html
+share/mplayer/DOCS/Polish/sound.html
+share/mplayer/DOCS/Polish/users_against_developers.html
+share/mplayer/DOCS/Polish/video.html
+share/mplayer/DOCS/SGML/DO_NOT_USE
+share/mplayer/DOCS/SGML/c
+share/mplayer/DOCS/SGML/docs.sgml
+share/mplayer/DOCS/bugreports.html
+share/mplayer/DOCS/cd-dvd.html
+share/mplayer/DOCS/codecs-in.html
+share/mplayer/DOCS/codecs.html
+share/mplayer/DOCS/documentation.html
+share/mplayer/DOCS/encoding.html
+share/mplayer/DOCS/faq.html
+share/mplayer/DOCS/formats.html
+share/mplayer/DOCS/gcc-2.96-3.0.html
+share/mplayer/DOCS/mplayer.1
+share/mplayer/DOCS/skin-en.html
+share/mplayer/DOCS/sound.html
+share/mplayer/DOCS/tech/TODO
+share/mplayer/DOCS/tech/codec-devel.txt
+share/mplayer/DOCS/tech/codecs.conf.txt
+share/mplayer/DOCS/tech/colorspaces.txt
+share/mplayer/DOCS/tech/cvs-howto.txt
+share/mplayer/DOCS/tech/dr-methods.txt
+share/mplayer/DOCS/tech/formats-hun.txt
+share/mplayer/DOCS/tech/formats.txt
+share/mplayer/DOCS/tech/hwac3.txt
+share/mplayer/DOCS/tech/libvo.txt
+share/mplayer/DOCS/tech/libvo2.txt
+share/mplayer/DOCS/tech/mpsub.sub
+share/mplayer/DOCS/tech/osd.txt
+share/mplayer/DOCS/tech/patches.txt
+share/mplayer/DOCS/tech/playtree
+share/mplayer/DOCS/tech/playtree-hun
+share/mplayer/DOCS/tech/subcp.txt
+share/mplayer/DOCS/tech/tech-eng.txt
+share/mplayer/DOCS/tech/vidix.txt
+share/mplayer/DOCS/tech/vop.txt
+share/mplayer/DOCS/users_against_developers.html
+share/mplayer/DOCS/video.html
+share/mplayer/codecs.conf
diff --git a/graphics/mplayer-share/distinfo b/graphics/mplayer-share/distinfo
new file mode 100644
index 00000000000..9ec50013b2b
--- /dev/null
+++ b/graphics/mplayer-share/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+
+SHA1 (mplayer/MPlayer-0.90pre4.tar.bz2) = 54621d010d5fb28e1ad2f857135543c3bd466d50
+Size (mplayer/MPlayer-0.90pre4.tar.bz2) = 2424843 bytes
+SHA1 (mplayer/mp-arial-iso-8859-1.zip) = 535809c2745d5dfa79d1243cbe225ee030e626ac
+Size (mplayer/mp-arial-iso-8859-1.zip) = 272659 bytes
+SHA1 (mplayer/mp-arial-iso-8859-2.zip) = a1ef7ea4f4349cd4451052351f7c300597a1b5d3
+Size (mplayer/mp-arial-iso-8859-2.zip) = 255907 bytes
+SHA1 (mplayer/koi8r-font.tar.bz2) = d8f44c101aaae32b5674c16da3549f5e520c077e
+Size (mplayer/koi8r-font.tar.bz2) = 68817 bytes
+SHA1 (patch-aa) = 2c1c6f35caf047f188871ac223d672ce453c26ec
diff --git a/graphics/mplayer-share/patches/patch-aa b/graphics/mplayer-share/patches/patch-aa
new file mode 100644
index 00000000000..7cec60946e9
--- /dev/null
+++ b/graphics/mplayer-share/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/25 07:51:22 veego Exp $
+
+--- configure.orig Mon May 13 22:52:10 2002
++++ configure Tue May 14 18:57:42 2002
+@@ -269,8 +269,8 @@
+ _inc_extra=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
+ ;;
+ --with-extralibdir=*)
+- _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
+-# _ld_extra="${_ld_extra} -Wl,-R"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -Wl\,-R,g'`" -L"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
++# _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
++ _ld_extra="${_ld_extra} -Wl,-R"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -Wl\,-R,g'`" -L"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
+ ;;
+ --enable-runtime-cpudetection)
+ _runtime_cpudetection=yes