diff options
author | Dominik Kapusta <ayoy@gentoo.org> | 2010-06-05 20:49:24 +0000 |
---|---|---|
committer | Dominik Kapusta <ayoy@gentoo.org> | 2010-06-05 20:49:24 +0000 |
commit | 949c1ac091ff96f4bf87d5bec84f2afa57001faf (patch) | |
tree | ab9a8d064fdeaa5f85d67b397da3a47dfca130e3 /media-gfx/kst | |
parent | Fix building on uClibc systems w/out nls support. (diff) | |
download | gentoo-2-949c1ac091ff96f4bf87d5bec84f2afa57001faf.tar.gz gentoo-2-949c1ac091ff96f4bf87d5bec84f2afa57001faf.tar.bz2 gentoo-2-949c1ac091ff96f4bf87d5bec84f2afa57001faf.zip |
Version bump, thanks to Samuli for reporting (bug #321835).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/kst')
-rw-r--r-- | media-gfx/kst/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/kst/kst-2.0.0_beta5.ebuild | 70 |
2 files changed, 76 insertions, 1 deletions
diff --git a/media-gfx/kst/ChangeLog b/media-gfx/kst/ChangeLog index 51e1b0e6bc2f..4be9aab2e19c 100644 --- a/media-gfx/kst/ChangeLog +++ b/media-gfx/kst/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/kst # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/ChangeLog,v 1.29 2010/02/10 08:19:42 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/ChangeLog,v 1.30 2010/06/05 20:49:24 ayoy Exp $ + +*kst-2.0.0_beta5 (05 Jun 2010) + + 05 Jun 2010; Dominik Kapusta <ayoy@gentoo.org> +kst-2.0.0_beta5.ebuild: + Version bump, thanks to Samuli for reporting (bug #321835). 10 Feb 2010; Torsten Veller <tove@gentoo.org> kst-2.0.0_beta2-r1.ebuild: Add missing die: || "..." -> || die "..." diff --git a/media-gfx/kst/kst-2.0.0_beta5.ebuild b/media-gfx/kst/kst-2.0.0_beta5.ebuild new file mode 100644 index 000000000000..aa15dbc2170b --- /dev/null +++ b/media-gfx/kst/kst-2.0.0_beta5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kst/kst-2.0.0_beta5.ebuild,v 1.1 2010/06/05 20:49:24 ayoy Exp $ + +EAPI=2 + +inherit qt4-r2 multilib + +MY_PV="${PV/_/-}" +MY_PN="${PN/k/K}" +MY_P="${MY_PN}-${MY_PV}-sources" + +DESCRIPTION="Fast real-time large-dataset viewing and plotting tool for KDE4" +HOMEPAGE="http://kst.kde.org/" +SRC_URI="mirror://sourceforge/project/${PN}/Kst%202.0.0%20Beta%205/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="x11-libs/qt-gui:4[debug?] + x11-libs/qt-opengl:4[debug?] + x11-libs/qt-qt3support:4[debug?] + x11-libs/qt-svg:4[debug?] + x11-libs/qt-xmlpatterns:4[debug?] + sci-libs/gsl + sci-libs/cfitsio" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-cfitsio-includes.patch" ) + +RESTRICT="mirror" + +S="${WORKDIR}/${MY_PN}-2.0-beta5" + +src_prepare() { + qt4-r2_src_prepare + sed -e "s:\(INSTALL_DIR/\)lib:\1$(get_libdir):" \ + -i src/libkst/libkst.pro src/libkstapp/libkstapp.pro \ + src/libkstmath/libkstmath.pro || die "sed libdir failed" + + sed -e "s:\(INSTALL_DIR/\)plugin:\1$(get_libdir)/kst/plugins:" \ + -i dataobjectplugin.pri datasourceplugin.pri src/widgets/widgets.pro \ + || die "sed plugins install path failed" + + sed -e "s!QLibraryInfo::location(QLibraryInfo::PluginsPath)!\"/usr/$(get_libdir)/kst/plugins\"!" \ + -i src/libkst/datasource.cpp src/libkstmath/dataobject.cpp \ + || die "sed plugins search path failed" + + # libkstwidgets is a Qt Designer plugin but they link against it (!!!) + # so either we keep it in plugins dir and set the rpath, or move to + # lib dir and add a SONAME. Currently the first solution is in use. + sed -e "s!\(QMAKE_RPATHDIR += \).*!\1/usr/$(get_libdir)/kst/plugins!" \ + -i kst.pri src/d2asc/d2asc.pro src/d2d/d2d.pro \ + || die "sed rpath failed" +} + +src_configure() { + export INSTALL_LIBDIR="$(get_libdir)" + eqmake4 +} + +src_install() { + qt4-r2_src_install + doicon src/images/${PN}.png + make_desktop_entry ${PN} ${PN} ${PN} \ + "Qt;Graphics;DataVisualization" || die "make_desktop_entry failed" + dodoc AUTHORS ChangeLog NEWS README RELEASE.NOTES || die "dodoc failed" +} |