# ChangeLog for media-gfx/quickplot
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/ChangeLog,v 1.3 2005/01/07 03:52:57 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/ChangeLog,v 1.4 2005/01/09 06:32:57 cryos Exp $
+
+ 09 Jan 2005; Marcus Hanwell <cryos@gentoo.org> quickplot-0.8.5.ebuild:
+ Corrected paths in the help files, added a .desktop entry.
07 Jan 2005; Marcus Hanwell <cryos@gentoo.org> quickplot-0.8.5.ebuild:
Added sndfile USE flag, and tidied up documentation files.
Hash: SHA1
MD5 f7ccf447ef7110a72f7c987c517942bd metadata.xml 689
-MD5 edaab44c837941768a1144c993276047 ChangeLog 971
-MD5 df914cfa7c95511e362188dddb96306f quickplot-0.8.5.ebuild 1105
+MD5 a425f122c573192958bf8e8b7dfbbba6 ChangeLog 1106
+MD5 10d67333be1b6c2f7d7e65cb3bd143b8 quickplot-0.8.5.ebuild 1654
MD5 161b412e414642dbef003cb31c9584b0 files/digest-quickplot-0.8.5 68
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFB3gepntT9W3vfTuoRAoa1AJ9qPXC9oUYjKsYxSPRT6QGNvTBTjQCgsXgH
-v2Czbha29tPAzseCm9SNqUA=
-=eBfp
+iD8DBQFB4NA6ntT9W3vfTuoRAnjFAJ9wOMzA0Gb1pOX7OqztaDEMZUMykACcCpsk
+oSHE1rJcezfIp9v+kGK7JL4=
+=hBCM
-----END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/quickplot-0.8.5.ebuild,v 1.2 2005/01/07 03:52:57 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/quickplot-0.8.5.ebuild,v 1.3 2005/01/09 06:32:57 cryos Exp $
+
+inherit eutils
DESCRIPTION="A fast interactive 2D plotter."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.15"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Some files have been moved around to more appropriate locations
+ sed -i -e 's|quickplot_icon.png|/usr/share/pixmaps/quickplot.png|' \
+ index.html.in
+ sed -i -e 's|href="ChangeLog"|href="../ChangeLog.gz"|' index.html.in
+ sed -i -e 's|href="COPYING"|href="/usr/portage/licenses/GPL-2"|' \
+ about.html.in
+}
+
src_compile() {
econf `use_with sndfile libsndfile` || die "econf step failed."
emake htmldir=/usr/share/doc/${PF}/html || die "emake step failed."
rm COPYING quickplot_icon.png ChangeLog
mv ${D}/usr/share/pixmaps/quickplot_icon.png \
${D}/usr/share/pixmaps/quickplot.png
+ make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot.png Graphics
+ mv ${D}/usr/share/applications/quickplot\ --no-pipe.desktop \
+ ${D}/usr/share/applications/quickplot.desktop
}