/[gentoo-x86]/media-gfx/kst/kst-1.7.0-r1.ebuild
Gentoo

Contents of /media-gfx/kst/kst-1.7.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Feb 22 12:50:51 2009 UTC (11 years, 4 months ago) by carlo
Branch: MAIN
 Use system kjsembed (bug #253477) and make it an optional dependency.
(Portage version: 2.2_rc23/cvs/Linux i686)

1 carlo 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/kst-1.6.0.ebuild,v 1.1 2008/06/26 13:58:51 markusle Exp $
4    
5     EAPI="1"
6    
7     ARTS_REQUIRED="never"
8    
9     inherit kde flag-o-matic
10    
11     DESCRIPTION="A plotting and data viewing program for KDE."
12     HOMEPAGE="http://kst.kde.org/"
13     SRC_URI="mirror://kde/stable/apps/KDE3.x/scientific/${P}.tar.gz"
14     LICENSE="GPL-2"
15    
16     SLOT="0"
17     KEYWORDS="~amd64 ~ppc ~sparc ~x86"
18     IUSE="javascript"
19    
20     DEPEND="javascript? ( kde-base/kjsembed:3.5 )
21     sys-libs/readline
22     sci-libs/gsl
23     >=sci-libs/netcdf-3.6.1-r1"
24     RDEPEND="${DEPEND}"
25    
26     need-kde 3.5
27    
28     PATCHES=(
29     "${FILESDIR}/kst-1.7.0-desktop-file.diff"
30     "${FILESDIR}/kst-1.7.0-system-kjs.diff"
31     )
32    
33     src_unpack() {
34     kde_src_unpack
35     rm -f "${S}"/configure
36     use javascript || sed -e "s:KJSE_SUBDIR=js:KJSE_SUBDIR=:" -i kst/src/extensions/Makefile.am
37     # automagic dependency, ensure internel lib isn't used by mistake
38     echo "FAIL FOR GOOD" > "${S}"/kst/src/extensions/js/kjsembed/global.cpp
39     }

  ViewVC Help
Powered by ViewVC 1.1.20