/[gentoo-x86]/sci-visualization/kst/kst-2.0.6.ebuild
Gentoo

Contents of /sci-visualization/kst/kst-2.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Aug 2 23:48:42 2012 UTC (9 months, 3 weeks ago) by pesa
Branch: MAIN
Version bump, remove old.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 pesa 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/kst-2.0.5.ebuild,v 1.1 2012/07/02 14:21:53 pesa Exp $
4    
5     EAPI=4
6    
7     CMAKE_USE_DIR=${S}/cmake
8    
9     inherit cmake-utils multilib
10    
11     DESCRIPTION="Fast real-time large-dataset viewing and plotting tool for KDE4"
12     HOMEPAGE="http://kst.kde.org/"
13     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14    
15     LICENSE="GPL-2 LGPL-2 FDL-1.2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE="debug test"
19     RESTRICT="test"
20    
21     RDEPEND="
22     sci-libs/cfitsio
23     sci-libs/getdata
24     sci-libs/gsl
25     sci-libs/netcdf[cxx]
26     x11-libs/qt-core:4
27     x11-libs/qt-gui:4
28     x11-libs/qt-opengl:4
29     x11-libs/qt-svg:4
30     "
31     DEPEND="${RDEPEND}
32     test? ( x11-libs/qt-test:4 )
33     "
34    
35     DOCS=( AUTHORS ChangeLog )
36     PATCHES=( "${FILESDIR}/${PN}-2.0.4-cfitsio-includes.patch" )
37    
38     src_prepare() {
39     base_src_prepare
40    
41     # fix desktop file
42     sed -i -e 's/^Categories=/&Education;/' \
43     -e '/^Encoding=/d' \
44     src/kst/kst2.desktop || die
45     }
46    
47     src_configure() {
48     local mycmakeargs=(
49     -Dkst_install_libdir=$(get_libdir)
50     -Dkst_pch=OFF
51     -Dkst_release=$(use debug && echo OFF || echo ON)
52     -Dkst_rpath=OFF
53     -Dkst_svnversion=OFF
54     $(cmake-utils_use test kst_test)
55     )
56     cmake-utils_src_configure
57     }

  ViewVC Help
Powered by ViewVC 1.1.13