Fixed some paths in the help files, added a .desktop entry.
authorMarcus D. Hanwell <cryos@gentoo.org>
Sun, 9 Jan 2005 06:32:57 +0000 (06:32 +0000)
committerMarcus D. Hanwell <cryos@gentoo.org>
Sun, 9 Jan 2005 06:32:57 +0000 (06:32 +0000)
media-gfx/quickplot/ChangeLog
media-gfx/quickplot/Manifest
media-gfx/quickplot/quickplot-0.8.5.ebuild

index a61ecb57aac44834234cb54329da7c778a2573e3..6ef547851252c9829f5ed0ded9d955f4b3e1b66e 100644 (file)
@@ -1,6 +1,9 @@
 # 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.
index 7f95989c0f9c58f14ad0a30e88d8f873a0491b06..f0d7a69ed14c9e301b116aa60afe57472062cae7 100644 (file)
@@ -2,13 +2,13 @@
 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-----
index 74d2f9bd83ee89d9b15b0082654b5ea6230f2693..98b24b79cabcdb6ee482a7162fbec9ce4963454e 100644 (file)
@@ -1,6 +1,8 @@
 # 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"
@@ -17,6 +19,17 @@ RDEPEND=">=dev-cpp/gtkmm-2.4.5
 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."
@@ -31,4 +44,7 @@ src_install () {
        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
 }