summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2008-12-07 06:56:51 +0000
committerAndrey Grozin <grozin@gentoo.org>2008-12-07 06:56:51 +0000
commit9c8e3146c2a9e99aebaa75b0118c7208b47ae9ea (patch)
treed2b06d1bc0073a82b763cdfab5711b5d68a88b30 /sci-visualization
parentRemove pointless USE=build support. (diff)
downloadhistorical-9c8e3146c2a9e99aebaa75b0118c7208b47ae9ea.tar.gz
historical-9c8e3146c2a9e99aebaa75b0118c7208b47ae9ea.tar.bz2
historical-9c8e3146c2a9e99aebaa75b0118c7208b47ae9ea.zip
Initial import, based on ebuild in the science overlay.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/udav/ChangeLog10
-rw-r--r--sci-visualization/udav/Manifest5
-rw-r--r--sci-visualization/udav/files/udav-0.5-pro.patch29
-rw-r--r--sci-visualization/udav/metadata.xml10
-rw-r--r--sci-visualization/udav/udav-0.5.ebuild39
5 files changed, 93 insertions, 0 deletions
diff --git a/sci-visualization/udav/ChangeLog b/sci-visualization/udav/ChangeLog
new file mode 100644
index 000000000000..bf9748ca735d
--- /dev/null
+++ b/sci-visualization/udav/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-visualization/udav
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/udav/ChangeLog,v 1.1 2008/12/07 06:56:51 grozin Exp $
+
+*udav-0.5 (07 Dec 2008)
+
+ 07 Dec 2008; Andrey Grozin <grozin@gentoo.org> +files/udav-0.5-pro.patch,
+ +metadata.xml, +udav-0.5.ebuild:
+ Initial import, based on ebuild in the science overlay.
+
diff --git a/sci-visualization/udav/Manifest b/sci-visualization/udav/Manifest
new file mode 100644
index 000000000000..329fd4abb8ce
--- /dev/null
+++ b/sci-visualization/udav/Manifest
@@ -0,0 +1,5 @@
+AUX udav-0.5-pro.patch 739 RMD160 8f93a85b18638daa99f5468e35a8a7c1cb77673b SHA1 7bbe0d06e72666d94e42d2ff643b600b60e606eb SHA256 de792bd1b3f6d20651fc5c7e1869f5a0c24033febe9ff8e720fe068e1bfb45f5
+DIST udav-0.5.tar.gz 125036 RMD160 e46d69e9fba3ae928760d4046ce9295e2f422a2c SHA1 fe1bc291a32aaf49a8705f7ddd6eee20f77a1430 SHA256 6b62e4c6e6ec54532e7251ab6766bd2523a58b035762601a36a72a42fa1a4894
+EBUILD udav-0.5.ebuild 955 RMD160 9328dcacbb808632aadd09bd62274218a72e4a8b SHA1 02f76986bd274f34b692a00e70970dcf16d77412 SHA256 7e87be05145b7de224fd08a5baa9362d5ca7ba83bd7f789cbf9285ae629e44bd
+MISC ChangeLog 412 RMD160 6025b66c9ffe7ca0f056705e1299d2e2dbc983e0 SHA1 3b243d656e7a4811844fe0dc1146c8ae1e6f6f13 SHA256 289501b47e5e17edd09c2c0dd2d094c23a04f580c615cc3fa6202fb369513f56
+MISC metadata.xml 325 RMD160 bdc5fff2ae251a58a757532b6b9f566332f0fe4b SHA1 7823da33669f6ee889973afc5c2207f86ecd5447 SHA256 c5b8349fb607df04ecafdb2c05d4941d8b47c2ab31892a9a0ccb54b79298f75f
diff --git a/sci-visualization/udav/files/udav-0.5-pro.patch b/sci-visualization/udav/files/udav-0.5-pro.patch
new file mode 100644
index 000000000000..5e2401afd4c7
--- /dev/null
+++ b/sci-visualization/udav/files/udav-0.5-pro.patch
@@ -0,0 +1,29 @@
+Index: udav-0.5/src/src.pro
+===================================================================
+--- udav-0.5.orig/src/src.pro
++++ udav-0.5/src/src.pro
+@@ -1,4 +1,4 @@
+-DEFINES += MGL_DOC_DIR=\\\"$(MGLDOCDIR)\\\"
++DEFINES += MGL_DOC_DIR=\\\"/usr/share/doc/$(PF)/\\\"
+
+ TEMPLATE = app
+ CONFIG += release \
+@@ -40,7 +40,7 @@ setupdialog.h \
+ DISTFILES += ../TODO \
+ ../ChangeLog.txt
+
+-target.path = /usr/local/bin/
++target.path = /usr/bin/
+ INSTALLS += target \
+ help \
+ pics
+@@ -54,7 +54,7 @@ LIBS += -lmgl
+ help.files += ../help/*.html
+ pics.files += ../help/pics/*.png
+
+-help.path = /usr/local/share/doc/udav/
++help.path = /usr/share/doc/${PF}/
+
+-pics.path = /usr/local/share/doc/udav/pics/
++pics.path = /usr/share/doc/${PF}/pics/
+
diff --git a/sci-visualization/udav/metadata.xml b/sci-visualization/udav/metadata.xml
new file mode 100644
index 000000000000..52b9b1bdfad3
--- /dev/null
+++ b/sci-visualization/udav/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>A.G.Grozin@inp.nsk.su</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <longdescription>Universal Data Array Visualization</longdescription>
+</pkgmetadata>
diff --git a/sci-visualization/udav/udav-0.5.ebuild b/sci-visualization/udav/udav-0.5.ebuild
new file mode 100644
index 000000000000..6588f377b219
--- /dev/null
+++ b/sci-visualization/udav/udav-0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/udav/udav-0.5.ebuild,v 1.1 2008/12/07 06:56:51 grozin Exp $
+EAPI=2
+inherit qt4 fdo-mime
+DESCRIPTION="Universal Data Array Visualization"
+HOMEPAGE="http://udav.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+DEPEND="sci-libs/mathgl[hdf5]
+ x11-libs/qt-gui:4"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pro.patch
+}
+
+src_compile() {
+ eqmake4
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+
+ make_desktop_entry ${PN}
+ insinto /usr/share/icons/hicolor/48x48/apps
+ doins src/${PN}.png
+ dosym /usr/share/icons/hicolor/48x48/apps/${PN}.png /usr/share/pixmaps/${PN}.png
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}