summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-05-01 14:14:33 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-05-01 14:14:33 +0000
commit210515ac2682990b775c0e37061f5e6cfba24414 (patch)
tree36dad1f001e82b938f7099075d6db72c80a4aa65
parentRemove old. (diff)
downloadgentoo-2-210515ac2682990b775c0e37061f5e6cfba24414.tar.gz
gentoo-2-210515ac2682990b775c0e37061f5e6cfba24414.tar.bz2
gentoo-2-210515ac2682990b775c0e37061f5e6cfba24414.zip
Version bump: ebuild mostly rewritten, switched to cmake buildsystem and EAPI 4.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
-rw-r--r--sci-visualization/kst/ChangeLog11
-rw-r--r--sci-visualization/kst/files/kst-2.0.4-cfitsio-includes.patch39
-rw-r--r--sci-visualization/kst/kst-2.0.4.ebuild57
-rw-r--r--sci-visualization/kst/metadata.xml5
4 files changed, 106 insertions, 6 deletions
diff --git a/sci-visualization/kst/ChangeLog b/sci-visualization/kst/ChangeLog
index ff075cba0ffd..f0833612fd9d 100644
--- a/sci-visualization/kst/ChangeLog
+++ b/sci-visualization/kst/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-visualization/kst
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/ChangeLog,v 1.3 2011/09/13 19:17:42 pacho Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/ChangeLog,v 1.4 2012/05/01 14:14:33 pesa Exp $
+
+*kst-2.0.4 (01 May 2012)
+
+ 01 May 2012; Davide Pesavento <pesa@gentoo.org>
+ +files/kst-2.0.4-cfitsio-includes.patch, +kst-2.0.4.ebuild, metadata.xml:
+ Version bump: ebuild mostly rewritten, switched to cmake buildsystem and EAPI
+ 4.
13 Sep 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer due retirement, bug #278944
diff --git a/sci-visualization/kst/files/kst-2.0.4-cfitsio-includes.patch b/sci-visualization/kst/files/kst-2.0.4-cfitsio-includes.patch
new file mode 100644
index 000000000000..e9dfccf6683e
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.4-cfitsio-includes.patch
@@ -0,0 +1,39 @@
+diff --git a/src/datasources/healpix/healpix_tools.h b/src/datasources/healpix/healpix_tools.h
+index 28ad906..420fc7f 100644
+--- a/src/datasources/healpix/healpix_tools.h
++++ b/src/datasources/healpix/healpix_tools.h
+@@ -19,7 +19,7 @@
+ #define HEALPIX_TOOLS_H
+
+ #include <math.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+ #include <datasource.h>
+
+ # ifdef HEALPIX_PI
+diff --git a/src/datasources/lfiio/lfiio.h b/src/datasources/lfiio/lfiio.h
+index bb6493c..8ed748c 100644
+--- a/src/datasources/lfiio/lfiio.h
++++ b/src/datasources/lfiio/lfiio.h
+@@ -18,7 +18,7 @@
+
+ #include <datasource.h>
+ #include <dataplugin.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+
+ class LFIIOSource : public Kst::DataSource {
+ Q_OBJECT
+diff --git a/src/datasources/planckIDEF/planckIDEF.h b/src/datasources/planckIDEF/planckIDEF.h
+index 7fb226f..6e6d82f 100644
+--- a/src/datasources/planckIDEF/planckIDEF.h
++++ b/src/datasources/planckIDEF/planckIDEF.h
+@@ -16,7 +16,7 @@
+
+ #include <datasource.h>
+ #include <dataplugin.h>
+-#include <libcfitsio0/fitsio.h>
++#include <fitsio.h>
+
+ typedef struct {
+ QString file;
diff --git a/sci-visualization/kst/kst-2.0.4.ebuild b/sci-visualization/kst/kst-2.0.4.ebuild
new file mode 100644
index 000000000000..3d906ea8577c
--- /dev/null
+++ b/sci-visualization/kst/kst-2.0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/kst-2.0.4.ebuild,v 1.1 2012/05/01 14:14:33 pesa Exp $
+
+EAPI=4
+
+CMAKE_USE_DIR=${S}/cmake
+
+inherit cmake-utils multilib
+
+DESCRIPTION="Fast real-time large-dataset viewing and plotting tool for KDE4"
+HOMEPAGE="http://kst.kde.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+RESTRICT="test"
+
+RDEPEND="
+ sci-libs/cfitsio
+ sci-libs/getdata
+ sci-libs/gsl
+ sci-libs/netcdf[cxx]
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4
+ x11-libs/qt-svg:4
+"
+DEPEND="${RDEPEND}
+ test? ( x11-libs/qt-test:4 )
+"
+
+DOCS=( AUTHORS ChangeLog )
+PATCHES=( "${FILESDIR}/${P}-cfitsio-includes.patch" )
+
+src_prepare() {
+ base_src_prepare
+
+ # fix desktop file
+ sed -i -e 's/^Categories=/&Education;/' \
+ -e '/^Encoding=/d' \
+ src/kst/kst2.desktop || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -Dkst_install_libdir=$(get_libdir)
+ -Dkst_pch=OFF
+ -Dkst_release=$(use debug && echo OFF || echo ON)
+ -Dkst_rpath=OFF
+ -Dkst_svnversion=OFF
+ $(cmake-utils_use test kst_test)
+ )
+ cmake-utils_src_configure
+}
diff --git a/sci-visualization/kst/metadata.xml b/sci-visualization/kst/metadata.xml
index 37b9640e6ce9..dc439f7e84f5 100644
--- a/sci-visualization/kst/metadata.xml
+++ b/sci-visualization/kst/metadata.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>qt</herd>
- <longdescription lang="en">
- </longdescription>
+<herd>qt</herd>
</pkgmetadata>
-