--- /dev/null
+# ChangeLog for media-video/mmsv2
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/ChangeLog,v 1.1 2004/11/10 01:02:57 arj Exp $
+
+*mmsv2-0.9.3 (10 Nov 2004)
+
+ 10 Nov 2004; Anders Rune Jensen <arj@gentoo.org> mmsv2-0.9.3.ebuild:
+ Initial import.
--- /dev/null
+--- cfg/config 2004-08-10 11:08:00.000000000 +0200
++++ cfg/config-cleaned 2004-11-10 01:31:34.803591512 +0100
+@@ -64,7 +64,7 @@
+
+ # Output device
+ #
+-# choose between "dxr3", "fbdev" and "sdl"
++# choose between "dxr3", "fbdev", "vga" and "sdl"
+ outdev = dxr3
+
+ # If you selected sdl as output device this setting will determine if
+@@ -91,15 +91,6 @@
+ #
+ xine_mode = false
+
+-# Moviedb
+-#
+-# (not used yet)
+-#
+-# Enable movie database and draw movie graphical using information
+-# from the database
+-#
+-moviedb = no
+-
+ # tv mode
+ # tv output (-p for pal or -n for ntsc)
+ # followed by -o for 4:3 and -w for wide-screen (16:9)
--- /dev/null
+MD5 9fdce895bd75167de50a08cab2589fd7 mmsv2-0.93.tar.bz2 1400866
--- /dev/null
+--- cfg/input-keyboard 2004-08-10 11:07:59.000000000 +0200
++++ cfg/input-keyboard-cleaned 2004-11-10 01:32:52.165830664 +0100
+@@ -11,9 +11,6 @@
+ # all inherit from general
+ # all audio modes inherit from audio_general
+ # choose_playlist and playlist inherit from playlist_general
+-#
+-# // Don't work yet ...
+-# database and graphical_movie inherit from graphical
+
+ general,prev,UP
+ general,next,DOWN
+@@ -64,8 +61,3 @@
+ search,erase,BACKSPACE
+ search,exit,END
+ search,help,DEL
+-
+-# not used yet
+-
+-#database,char_up,VOL+
+-#database,char_down,VOL-
--- /dev/null
+--- cfg/input-lirc 2004-08-10 11:07:56.000000000 +0200
++++ cfg/input-lirc-cleaned 2004-11-10 01:33:03.349130544 +0100
+@@ -13,9 +13,6 @@
+ # all inherit from general
+ # all audio modes inherit from audio_general
+ # choose_playlist and playlist inherit from playlist_general
+-#
+-# // Don't work yet ...
+-# database and graphical_movie inherit from graphical
+
+ general,prev,UP,yes
+ general,next,DOWN,yes
+@@ -66,8 +63,3 @@
+ search,erase,VGA
+ search,exit,ENTER
+ search,help,MUTE
+-
+-# not used yet
+-
+-#database,char_up,VOL+
+-#database,char_down,VOL-
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+<email>arj@gentoo.org</email>
+<name>Anders Rune Jensen</name>
+</maintainer>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/mmsv2-0.93.ebuild,v 1.1 2004/11/10 01:02:57 arj Exp $
+
+inherit eutils
+
+DESCRIPTION="Menu system for easy movie and audio playback and image viewing."
+HOMEPAGE="http://mms.sunsite.dk/"
+
+SRC_URI="http://mms.sunsite.dk/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="debug lirc svga sdl xine"
+
+RDEPEND="media-libs/imlib2
+ media-libs/taglib
+ >=dev-libs/libpcre-4.3
+ >=dev-db/sqlite-2.8
+ media-tv/xmltv
+ lirc? ( app-misc/lirc )
+ svga? ( media-libs/svgalib )
+ sdl? ( media-libs/libsdl )
+ xine? ( media-libs/xine-lib
+ media-video/cxfe )
+ !xine? ( media-sound/alsaplayer
+ media-video/mplayer
+ media-video/dxr3player )"
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ sys-devel/automake"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+
+ cd ${S}
+
+ epatch ${FILESDIR}/config.diff
+ epatch ${FILESDIR}/input-keyboard.diff
+ epatch ${FILESDIR}/input-lirc.diff
+}
+
+src_compile() {
+
+ local myconf=
+
+ ( use debug ) \
+ && myconf="${myconf} --enable-debug"
+
+ ( use lirc ) \
+ || myconf="${myconf} --disable-lirc"
+
+ ( use svga ) \
+ && myconf="${myconf} --enable-vgagl"
+
+ ( use sdl ) \
+ && myconf="${myconf} --enable-sdl"
+
+ ( use xine ) \
+ && myconf="${myconf} --enable-xine-audio"
+
+ if ! [ -e /usr/include/linux/em8300.h ]
+ then
+ myconf="${myconf} --disable-dxr3"
+ fi
+
+ ./configure --prefix=/usr \
+ --enable-evdev \
+ --enable-fancy-audio \
+ --enable-epg \
+ ${myconf} || die
+
+ emake -j1 || die
+}
+
+src_install() {
+ make PREFIX=${D}/usr \
+ BINDIR=${D}/usr/bin \
+ CONFIGDIR=${D}/etc/mms \
+ DATADIR=${D}/usr/share/mms \
+ install || die "Failed to install MPlayer!"
+
+ dodoc doc/BUGS doc/Changelog doc/LICENSE doc/README doc/TODO
+}
+
+pkg_postinst() {
+ einfo "Be sure to change /etc/mms/config and /etc/mms/input* to your needs"
+ einfo "You also need to place a TV.xml file in /etc/mms for epg to work"
+ einfo ""
+ einfo "Documentation is available online: http://mms.sunsite.dk/doc/index.html"
+}