diff options
Diffstat (limited to 'media-gfx/truevision')
-rw-r--r-- | media-gfx/truevision/ChangeLog | 15 | ||||
-rw-r--r-- | media-gfx/truevision/Manifest | 7 | ||||
-rw-r--r-- | media-gfx/truevision/files/digest-truevision-0.5.5.2 | 2 | ||||
-rw-r--r-- | media-gfx/truevision/files/truevision-0.5.5.2-makefile-mime-magic.patch | 22 | ||||
-rw-r--r-- | media-gfx/truevision/metadata.xml | 2 | ||||
-rw-r--r-- | media-gfx/truevision/truevision-0.5.5.2.ebuild | 49 |
6 files changed, 92 insertions, 5 deletions
diff --git a/media-gfx/truevision/ChangeLog b/media-gfx/truevision/ChangeLog index 9c31ab9c1c3f..75e836072647 100644 --- a/media-gfx/truevision/ChangeLog +++ b/media-gfx/truevision/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for media-gfx/truevision -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/truevision/ChangeLog,v 1.6 2005/08/09 20:58:40 vanquirius Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/truevision/ChangeLog,v 1.7 2006/01/13 19:49:00 vanquirius Exp $ + +*truevision-0.5.5.2 (13 Jan 2006) + + 13 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> + +files/truevision-0.5.5.2-makefile-mime-magic.patch, metadata.xml, + +truevision-0.5.5.2.ebuild: + 0.5.5.2 version bump for bug 84530. Thanks to burnstone <chh123 at gmx dot + ch>, Thomas Dufaux <thomasdufaux at mac dot com>, Sven Winkelmann <pugnacity + at arcor dot de>, Mike Vanecek <mikevanecek at yahoo dot com>, Chris Mayo + <mayo at clara dot co dot uk>, Sudrien <sudrien at fusemail dot com> and + others. Add graphics as a herd. This is in package.mask for testing. 09 Aug 2005; Marcelo Goes <vanquirius@gentoo.org> -files/truevision-0.3.10-gentoo1.patch, diff --git a/media-gfx/truevision/Manifest b/media-gfx/truevision/Manifest index 8893282515b0..18cdef5d7221 100644 --- a/media-gfx/truevision/Manifest +++ b/media-gfx/truevision/Manifest @@ -1,4 +1,7 @@ -MD5 9da200cf0cba8f50e7871458a1ae51cb truevision-0.3.10.ebuild 1121 MD5 246cf789fef5822e50ae958af2bb42db ChangeLog 1171 -MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 MD5 fd3f729570328f8ed534b1490a977561 files/digest-truevision-0.3.10 226 +MD5 db96c3ee256871c2378ba6682336c31f files/digest-truevision-0.5.5.2 151 +MD5 af313393d2d89915d57517cba88c51ba files/truevision-0.5.5.2-makefile-mime-magic.patch 877 +MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 +MD5 9da200cf0cba8f50e7871458a1ae51cb truevision-0.3.10.ebuild 1121 +MD5 3990729452fbea18f2ee6e0d8e38b984 truevision-0.5.5.2.ebuild 1115 diff --git a/media-gfx/truevision/files/digest-truevision-0.5.5.2 b/media-gfx/truevision/files/digest-truevision-0.5.5.2 new file mode 100644 index 000000000000..81817cd9da8f --- /dev/null +++ b/media-gfx/truevision/files/digest-truevision-0.5.5.2 @@ -0,0 +1,2 @@ +MD5 f93b764d75383c4372cac73de55e79d9 truevision-0.5.5-2.tar.bz2 1799585 +MD5 a3f268ac988282ff9c5d8c059969fde3 truevision-extramat-0.5.4.tar.bz2 2495571 diff --git a/media-gfx/truevision/files/truevision-0.5.5.2-makefile-mime-magic.patch b/media-gfx/truevision/files/truevision-0.5.5.2-makefile-mime-magic.patch new file mode 100644 index 000000000000..cabad42958e8 --- /dev/null +++ b/media-gfx/truevision/files/truevision-0.5.5.2-makefile-mime-magic.patch @@ -0,0 +1,22 @@ +--- Makefile.in 2005-10-07 15:03:22.000000000 +0100 ++++ Makefile.in.new 2005-10-11 18:56:45.000000000 +0100 +@@ -835,7 +835,10 @@ + -export GNOME_MAGIC=/etc/gnome-vfs-mime-magic ; \ + if [ -f $$GNOME_MAGIC ]; then \ + if ! grep "TRUEVISION" $$GNOME_MAGIC; then \ +- echo -e "0\tstring\t\tTRUEVISION SCENE\t\t\tapplication/x-truevision" >> $$GNOME_MAGIC; \ ++ cp /etc/gnome-vfs-mime-magic .; \ ++ echo -e "0\tstring\t\tTRUEVISION SCENE\t\t\tapplication/x-truevision" >> gnome-vfs-mime-magic; \ ++ mkdir $(DESTDIR)/etc; \ ++ cp gnome-vfs-mime-magic $(DESTDIR)/etc/gnome-vfs-mime-magic; \ + fi \ + fi ; \ + export DEFAULTS=$(prefix)/share/applications/defaults.list ; \ +@@ -844,7 +847,6 @@ + echo -e "application/x-truevision=truevision.desktop" >> $$DEFAULTS; \ + fi \ + fi ; \ +- update-mime-database "$(prefix)/share/mime" + + # $(truevisionmaterials_DATA) + # $(truevisionpython_DATA) diff --git a/media-gfx/truevision/metadata.xml b/media-gfx/truevision/metadata.xml index 20ce219711a2..e770d1bc9a96 100644 --- a/media-gfx/truevision/metadata.xml +++ b/media-gfx/truevision/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> +<herd>graphics</herd> </pkgmetadata> diff --git a/media-gfx/truevision/truevision-0.5.5.2.ebuild b/media-gfx/truevision/truevision-0.5.5.2.ebuild new file mode 100644 index 000000000000..2a9b282d4edd --- /dev/null +++ b/media-gfx/truevision/truevision-0.5.5.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/truevision/truevision-0.5.5.2.ebuild,v 1.1 2006/01/13 19:49:00 vanquirius Exp $ + +inherit eutils gnome2 versionator + +MY_P="${PN}-$(replace_version_separator 3 '-')" +EM_V="0.5.4" +DESCRIPTION="Gnome frontend to Povray" +HOMEPAGE="http://truevision.sourceforge.net" +SRC_URI="mirror://sourceforge/truevision/${MY_P}.tar.bz2 + mirror://sourceforge/truevision/${PN}-extramat-${EM_V}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND=">=x11-libs/gtk+-2.8.8 + >=x11-libs/gtkglext-1.0.6-r2 + gnome-base/libgnome + >=media-gfx/povray-3.6.1 + sys-libs/zlib + virtual/opengl" + +DOCS="AUTHORS README ChangeLog TODO" +USE_DESTDIR="1" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +src_unpack() { + unpack ${A} + + # Patch for editing gnome-vfs-mime-magic and do update-mime below + # bug 84530 + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile-mime-magic.patch +} + +src_install() { + gnome2_src_install + # extra materials + cd "${WORKDIR}"/${PN}-extramat-${EM_V} + cp -R materials "${D}"/usr/share/truevision/materials/ +} + +pkg_postinst() { + update-mime-database /usr/share/mime +} |