From f41feb5de6afe14f8bfe815813182942dfaab415 Mon Sep 17 00:00:00 2001 From: Kai Zimmermann Date: Tue, 8 Feb 2005 15:19:31 +0000 Subject: Initial import into the tree. Closes bug #24403. Thanks to Federico Moro for the ebuild submission. (Portage version: 2.0.51-r15) --- media-video/mvideo/ChangeLog | 9 +++ media-video/mvideo/Manifest | 3 + media-video/mvideo/files/digest-mvideo-0.89.99 | 1 + media-video/mvideo/files/mvideo-0.89.99-menu.patch | 11 ++++ media-video/mvideo/metadata.xml | 8 +++ media-video/mvideo/mvideo-0.89.99.ebuild | 64 ++++++++++++++++++++++ 6 files changed, 96 insertions(+) create mode 100644 media-video/mvideo/ChangeLog create mode 100644 media-video/mvideo/Manifest create mode 100644 media-video/mvideo/files/digest-mvideo-0.89.99 create mode 100644 media-video/mvideo/files/mvideo-0.89.99-menu.patch create mode 100644 media-video/mvideo/metadata.xml create mode 100644 media-video/mvideo/mvideo-0.89.99.ebuild (limited to 'media-video/mvideo') diff --git a/media-video/mvideo/ChangeLog b/media-video/mvideo/ChangeLog new file mode 100644 index 000000000000..ff70042a8731 --- /dev/null +++ b/media-video/mvideo/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for media-video/mvideo +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mvideo/ChangeLog,v 1.1 2005/02/08 15:19:31 kzimmerm Exp $ + +*mvideo-0.89.99 (08 Feb 2005) + + 08 Feb 2005; Kai Zimmermann : + Initial import into the tree. Closes bug #24403. Thanks to + Federico Moro for the ebuild submission. diff --git a/media-video/mvideo/Manifest b/media-video/mvideo/Manifest new file mode 100644 index 000000000000..13683e2108de --- /dev/null +++ b/media-video/mvideo/Manifest @@ -0,0 +1,3 @@ +MD5 bacfba8219763be5ca99d99960cb93ba .mvideo-0.89.99.ebuild.swp 12288 +MD5 a4c46be3d5fda339d50c3ab360f636f8 mvideo-0.89.99.ebuild 521 +MD5 a6194ab44907d1486aab86b2e1a7a3f2 files/digest-mvideo-0.89.99 67 diff --git a/media-video/mvideo/files/digest-mvideo-0.89.99 b/media-video/mvideo/files/digest-mvideo-0.89.99 new file mode 100644 index 000000000000..35d6b4177530 --- /dev/null +++ b/media-video/mvideo/files/digest-mvideo-0.89.99 @@ -0,0 +1 @@ +MD5 8acc42d339ced86743d041a8c02e29eb mvideo-0.89.99.tar.gz 1360470 diff --git a/media-video/mvideo/files/mvideo-0.89.99-menu.patch b/media-video/mvideo/files/mvideo-0.89.99-menu.patch new file mode 100644 index 000000000000..6dddacc3d634 --- /dev/null +++ b/media-video/mvideo/files/mvideo-0.89.99-menu.patch @@ -0,0 +1,11 @@ +--- /var/tmp/portage/mvideo-0.89.99/work/mvideo-0.89.99/src/Gui/menu.cs.old 2004-11-22 14:10:58.616276880 +0100 ++++ /var/tmp/portage/mvideo-0.89.99/work/mvideo-0.89.99/src/Gui/menu.cs 2004-11-22 14:11:13.024086560 +0100 +@@ -350,7 +350,7 @@ + TextView license = new TextView(); + license.WrapMode = WrapMode.None; + try{ +- FileStream f = new FileStream(file, FileMode.Open); ++ FileStream f = new FileStream(file, FileMode.Open, FileAccess.Read); + StreamReader s = new StreamReader(f); + license.Buffer.SetText(s.ReadToEnd()); + } catch (Exception ex){ diff --git a/media-video/mvideo/metadata.xml b/media-video/mvideo/metadata.xml new file mode 100644 index 000000000000..7164bf883e16 --- /dev/null +++ b/media-video/mvideo/metadata.xml @@ -0,0 +1,8 @@ + + + +video + + kzimmerm@gentoo.org + + diff --git a/media-video/mvideo/mvideo-0.89.99.ebuild b/media-video/mvideo/mvideo-0.89.99.ebuild new file mode 100644 index 000000000000..c1b19c2a6b55 --- /dev/null +++ b/media-video/mvideo/mvideo-0.89.99.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mvideo/mvideo-0.89.99.ebuild,v 1.1 2005/02/08 15:19:31 kzimmerm Exp $ + +inherit eutils mono + +DESCRIPTION="MVideo is an advanced manager for your film collection." +HOMEPAGE="http://mvideo.sourceforge.net/" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/mvideo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.4.0 + >=dev-db/mysql-4 + >=sys-libs/glibc-2 + >=media-libs/gstreamer-0.8 + >=gnome-extra/libgtkhtml-3.0.10 + >=dev-dotnet/mono-0.96 + >=dev-dotnet/gtk-sharp-0.98 + >=dev-dotnet/gtkhtml-sharp-0.98 + >=dev-dotnet/gconf-sharp-0.98 + >=dev-dotnet/gnome-sharp-0.98 + >=dev-dotnet/art-sharp-0.98 + >=dev-dotnet/vte-sharp-0.98 + >=gnome-base/gconf-2 + >=gnome-base/gnome-vfs-2 + >=gnome-base/libgnomeui-2 + >=gnome-base/libgnomeprint-2" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd ${S} + # Fixes file reading to read-only access + epatch ${FILESDIR}/${P}-menu.patch +} + +src_compile() { + sed -i -e "s:mvideo/docs:doc/${PF}:" docs/html/img/Makefile.in || die "doc path patching failed!" + sed -i -e "s:mvideo/docs:doc/${PF}:" docs/html/Makefile.in || die "doc path patching failed!" + sed -i -e "s:mvideo/docs:doc/${PF}:" docs/Makefile.in || die "doc path patching failed!" + sed -i -e "s:mvideo/docs:doc/${PF}:" Makefile.in || die "doc path patching failed!" + sed -i -e "s:mvideo/docs:doc/${PF}:" src/arguments.cs.in || die "doc path patching failed!" + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + einstall || die + dodoc AUTHORS README + + # we need an unziped version of ChangeLog + insinto /usr/share/doc/${PF}/ + doins ChangeLog +} + +pkg_postinst() { + einfo "If you haven't yet configured MySQL to work with MVideo read \"FIRST-SETUP\"." +} -- cgit v1.2.3-65-gdbad