From 951b7728f1cba47042026992aef3bb609a7b9e02 Mon Sep 17 00:00:00 2001 From: "Marcus D. Hanwell" Date: Fri, 7 Jan 2005 03:52:57 +0000 Subject: [PATCH] Added sndfile USE flag, tidied up doc installation. --- media-gfx/quickplot/ChangeLog | 5 +++- media-gfx/quickplot/Manifest | 10 ++++---- media-gfx/quickplot/quickplot-0.8.5.ebuild | 29 +++++++++++++--------- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/media-gfx/quickplot/ChangeLog b/media-gfx/quickplot/ChangeLog index 270c8147e38d..a61ecb57aac4 100644 --- a/media-gfx/quickplot/ChangeLog +++ b/media-gfx/quickplot/ChangeLog @@ -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.2 2005/01/06 07:42:35 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/ChangeLog,v 1.3 2005/01/07 03:52:57 cryos Exp $ + + 07 Jan 2005; Marcus Hanwell quickplot-0.8.5.ebuild: + Added sndfile USE flag, and tidied up documentation files. *quickplot-0.8.5 (06 Jan 2005) diff --git a/media-gfx/quickplot/Manifest b/media-gfx/quickplot/Manifest index da44680dd0d6..7f95989c0f9c 100644 --- a/media-gfx/quickplot/Manifest +++ b/media-gfx/quickplot/Manifest @@ -2,13 +2,13 @@ Hash: SHA1 MD5 f7ccf447ef7110a72f7c987c517942bd metadata.xml 689 -MD5 4d6d3d2d3da3b29949b638b15a2729ab ChangeLog 836 -MD5 a87e8a8bf3c232d129f820b0ed92fb12 quickplot-0.8.5.ebuild 866 +MD5 edaab44c837941768a1144c993276047 ChangeLog 971 +MD5 df914cfa7c95511e362188dddb96306f quickplot-0.8.5.ebuild 1105 MD5 161b412e414642dbef003cb31c9584b0 files/digest-quickplot-0.8.5 68 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFB3O0hntT9W3vfTuoRAsV8AKCHgwZa1bpzUqWP4/19WScRGSGyKwCcDnqB -G/oVqo9mpEDeWeyBT2VDhHQ= -=DJv/ +iD8DBQFB3gepntT9W3vfTuoRAoa1AJ9qPXC9oUYjKsYxSPRT6QGNvTBTjQCgsXgH +v2Czbha29tPAzseCm9SNqUA= +=eBfp -----END PGP SIGNATURE----- diff --git a/media-gfx/quickplot/quickplot-0.8.5.ebuild b/media-gfx/quickplot/quickplot-0.8.5.ebuild index 02937506d22b..74d2f9bd83ee 100644 --- a/media-gfx/quickplot/quickplot-0.8.5.ebuild +++ b/media-gfx/quickplot/quickplot-0.8.5.ebuild @@ -1,29 +1,34 @@ # 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.1 2005/01/06 07:42:35 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/quickplot-0.8.5.ebuild,v 1.2 2005/01/07 03:52:57 cryos Exp $ DESCRIPTION="A fast interactive 2D plotter." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" HOMEPAGE="http://quickplot.sourceforge.net/" -IUSE="" +IUSE="sndfile" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" -DEPEND=">=dev-util/pkgconfig-0.15 - >=dev-cpp/gtkmm-2.4.5 - >=media-libs/libsndfile-1.0.5" +RDEPEND=">=dev-cpp/gtkmm-2.4.5 + sndfile? ( >=media-libs/libsndfile-1.0.5 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15" src_compile() { - econf || die "econf step failed." - emake || die "emake step failed." + econf `use_with sndfile libsndfile` || die "econf step failed." + emake htmldir=/usr/share/doc/${PF}/html || die "emake step failed." } src_install () { - make install DESTDIR=${D} || die "make install step failed." - # Remove the licence as it is specified in LICENCE - rm ${D}/usr/share/doc/${PN}/COPYING - # Move the docs to the correct location - mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${PF} + make install DESTDIR=${D} htmldir=/usr/share/doc/${PF}/html \ + || die "make install step failed." + dodoc AUTHORS ChangeLog README README.devel TODO + # Remove COPYING as it is specified in LICENCE. Move other stuff. + cd ${D}/usr/share/doc/${PF}/html + rm COPYING quickplot_icon.png ChangeLog + mv ${D}/usr/share/pixmaps/quickplot_icon.png \ + ${D}/usr/share/pixmaps/quickplot.png } -- 2.26.2