summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-10-26 20:24:11 +0000
committerSamuli Suominen <drac@gentoo.org>2007-10-26 20:24:11 +0000
commit40241fbf1e28e988c9eb9ae25ca5b6c4b0e33b63 (patch)
tree10ae1dd68c20a93cb238e6e45831cdac8f273d91 /media-video/mmsv2
parentInitial ebuild. Based on the one in Sunrise, modified by jmbsvicetto. Thanks ... (diff)
downloadgentoo-2-40241fbf1e28e988c9eb9ae25ca5b6c4b0e33b63.tar.gz
gentoo-2-40241fbf1e28e988c9eb9ae25ca5b6c4b0e33b63.tar.bz2
gentoo-2-40241fbf1e28e988c9eb9ae25ca5b6c4b0e33b63.zip
Version bump first to package.mask since it needs some testing, and work.
(Portage version: 2.1.3.16)
Diffstat (limited to 'media-video/mmsv2')
-rw-r--r--media-video/mmsv2/ChangeLog8
-rw-r--r--media-video/mmsv2/files/digest-mmsv2-1.0.8.53
-rw-r--r--media-video/mmsv2/files/mmsv2-1.0.8.5-cc.patch12
-rw-r--r--media-video/mmsv2/mmsv2-1.0.8.5.ebuild87
4 files changed, 109 insertions, 1 deletions
diff --git a/media-video/mmsv2/ChangeLog b/media-video/mmsv2/ChangeLog
index 174d992cc546..617f87a5f19e 100644
--- a/media-video/mmsv2/ChangeLog
+++ b/media-video/mmsv2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mmsv2
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/ChangeLog,v 1.25 2007/01/10 21:34:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/ChangeLog,v 1.26 2007/10/26 20:24:11 drac Exp $
+
+*mmsv2-1.0.8.5 (26 Oct 2007)
+
+ 26 Oct 2007; Samuli Suominen <drac@gentoo.org>
+ +files/mmsv2-1.0.8.5-cc.patch, +mmsv2-1.0.8.5.ebuild:
+ Version bump.
10 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Add missing email address for herd with name != alias.
diff --git a/media-video/mmsv2/files/digest-mmsv2-1.0.8.5 b/media-video/mmsv2/files/digest-mmsv2-1.0.8.5
new file mode 100644
index 000000000000..53125811293c
--- /dev/null
+++ b/media-video/mmsv2/files/digest-mmsv2-1.0.8.5
@@ -0,0 +1,3 @@
+MD5 bd8d9871fecf1196ec044a4c240fa66a mms-1.0.8.5.tar.bz2 5600869
+RMD160 fc254c92a316a8c1186b3b0f912d0d694c795bd5 mms-1.0.8.5.tar.bz2 5600869
+SHA256 2edbab2dae7dbe9a6b65c4be20ac0941f54da98ca4dd7b58c234e5580b9e9b3e mms-1.0.8.5.tar.bz2 5600869
diff --git a/media-video/mmsv2/files/mmsv2-1.0.8.5-cc.patch b/media-video/mmsv2/files/mmsv2-1.0.8.5-cc.patch
new file mode 100644
index 000000000000..07d550f71e49
--- /dev/null
+++ b/media-video/mmsv2/files/mmsv2-1.0.8.5-cc.patch
@@ -0,0 +1,12 @@
+diff -ur mms-1.0.8.5.orig/configure mms-1.0.8.5/configure
+--- mms-1.0.8.5.orig/configure 2007-08-20 23:42:39.000000000 +0300
++++ mms-1.0.8.5/configure 2007-10-26 22:03:43.000000000 +0300
+@@ -128,7 +128,7 @@
+ cc_version="v. ?.??, bad"
+ cc_verc_fail=yes
+ ;;
+- 2.95|2.95.[2-9]|2.95.[2-9][-.][0-9]|3.[0-9]|3.[0-9].[0-9]|4.[0-1])
++ 2.95|2.95.[2-9]|2.95.[2-9][-.][0-9]|3.[0-9]|3.[0-9].[0-9]|4.[0-9])
+ cc_version="$cc_version"
+ cc_verc_fail=no
+ ;;
diff --git a/media-video/mmsv2/mmsv2-1.0.8.5.ebuild b/media-video/mmsv2/mmsv2-1.0.8.5.ebuild
new file mode 100644
index 000000000000..b8575b4986c6
--- /dev/null
+++ b/media-video/mmsv2/mmsv2-1.0.8.5.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mmsv2/mmsv2-1.0.8.5.ebuild,v 1.1 2007/10/26 20:24:11 drac Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/v2}
+
+DESCRIPTION="Menu system for easy movie and audio playback and image viewing."
+HOMEPAGE="http://mymediasystem.org"
+SRC_URI="http://mms.sunsite.dk/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug dvb dxr3 fbcon gstreamer input_devices_evdev lirc minimal mpeg nls radio sdl svga xine"
+
+RDEPEND="media-libs/imlib2
+ dev-libs/libpcre
+ media-libs/taglib
+ =dev-db/sqlite-2.8*
+ dev-cpp/commoncpp2
+ x11-libs/libXScrnSaver
+ dvb? ( media-tv/xmltv )
+ svga? ( media-libs/svgalib )
+ !xine? ( !gstreamer? ( media-sound/alsaplayer ) )
+ !xine? ( gstreamer? ( >=media-libs/gstreamer-0.10 ) )
+ xine? ( media-libs/xine-lib media-video/cxfe )
+ lirc? ( app-misc/lirc )
+ sdl? ( media-libs/libsdl )
+ dxr3? ( media-video/em8300-libraries )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-cc.patch
+}
+
+src_compile() {
+ local myconf="--prefix=/usr --use-internal-ffmpeg --enable-eject-tray"
+
+ use minimal || myconf="${myconf} --enable-game"
+
+ if use xine; then
+ myconf="${myconf} --enable-xine-audio"
+ einfo "Selecting xine instead of gstreamer or alsaplayer."
+ elif use gstreamer; then
+ myconf="${myconf} --enable-gst-audio"
+ einfo "Selecting gstreamer instead of xine or alsaplayer."
+ else
+ einfo "Selecting alsaplayer instead of xine or gstreamer."
+ fi
+
+ if use fbcon; then
+ myconf="${myconf} --enable-fbdev"
+ ewarn "Enabling deprecated output fbdev, use sdl instead."
+ fi
+
+ if use radio; then
+ myconf="${myconf} --enable-bttv-radio"
+ else
+ myconf="${myconf} --disable-radio"
+ fi
+
+ use svga && myconf="${myconf} --enable-vgagl"
+ use lirc && myconf="${myconf} --enable-lirc"
+ use input_devices_evdev && myconf="${myconf} --enable-evdev"
+ use sdl || myconf="${myconf} --disable-sdl"
+ use dxr3 && myconf="${myconf} --enable-dxr3"
+ use dvb && myconf="${myconf} --enable-dvb --enable-tv"
+ use mpeg && myconf="${myconf} --enable-mpeg"
+ use nls || myconf="${myconf} --disable-nls"
+ use debug && myconf="${myconf} --enable-debug --enable-benchmark"
+
+ ./configure ${myconf} || die "configure failed."
+
+ emake CXX="$(tc-getCXX)" C="$(tc-getCC)" || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc doc/{CHANGELOG,README}
+}