aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2012-01-21 18:37:39 +0100
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2012-01-21 18:37:39 +0100
commitfb8e1cda7a8fb3b12c17b9cdfea5a0211c98f829 (patch)
treed22e24f98f150a488a097e4b637bb3a5421378dc
parentsci-physics/root: fix Manifest (diff)
downloadsci-fb8e1cda7a8fb3b12c17b9cdfea5a0211c98f829.tar.gz
sci-fb8e1cda7a8fb3b12c17b9cdfea5a0211c98f829.tar.bz2
sci-fb8e1cda7a8fb3b12c17b9cdfea5a0211c98f829.zip
[sci-visualization/labplot] Add live ebuild
-rw-r--r--sci-visualization/labplot/files/labplot-9999-liborigin2.patch12
-rw-r--r--sci-visualization/labplot/labplot-9999.ebuild36
-rw-r--r--sci-visualization/labplot/metadata.xml6
3 files changed, 54 insertions, 0 deletions
diff --git a/sci-visualization/labplot/files/labplot-9999-liborigin2.patch b/sci-visualization/labplot/files/labplot-9999-liborigin2.patch
new file mode 100644
index 000000000..1af610b65
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-9999-liborigin2.patch
@@ -0,0 +1,12 @@
+diff -ruN labplot.orig/CMakeLists.txt labplot/CMakeLists.txt
+--- labplot.orig/CMakeLists.txt 2012-01-21 15:09:43.792562578 +0100
++++ labplot/CMakeLists.txt 2012-01-21 15:13:07.421573963 +0100
+@@ -105,7 +105,7 @@
+
+ ### OPJ #####################################
+ FIND_LIBRARY(OPJ_LIBRARY
+- NAMES origin
++ NAMES origin origin2
+ )
+ IF(OPJ_LIBRARY)
+ MESSAGE ("-- Found liborigin library: ${OPJ_LIBRARY}")
diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
new file mode 100644
index 000000000..25c238566
--- /dev/null
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit subversion kde4-base
+
+MY_PN=LabPlot
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="KDE data analysis and visualisation program"
+HOMEPAGE="http://labplot.sourceforge.net/"
+
+# SRC_URI="http://prdownloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
+ESVN_REPO_URI="https://labplot.svn.sourceforge.net/svnroot/labplot/2.0/"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ sci-libs/cdf
+ sci-libs/gsl
+ sci-libs/hdf5
+ sci-libs/liborigin
+ sci-libs/netcdf
+"
+RDEPEND="$DEPEND"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=( "${FILESDIR}/${P}-liborigin2.patch" )
+
+# this is partly hardwired in the build system :(
+CMAKE_BUILD_DIR=${S}/build
diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
new file mode 100644
index 000000000..3cc4be490
--- /dev/null
+++ b/sci-visualization/labplot/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+<herd>sci</herd>
+</pkgmetadata>