[proaudio] [1292] fixup none doc

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1292
Author:   evermind
Date:     2008-08-10 23:05:23 +0200 (Sun, 10 Aug 2008)

Log Message:
-----------
fixup none doc

Modified Paths:
--------------
    trunk/overlays/proaudio/media-libs/phat/ChangeLog
    trunk/overlays/proaudio/media-libs/phat/Manifest
    trunk/overlays/proaudio/media-libs/phat/phat-9999.ebuild


Modified: trunk/overlays/proaudio/media-libs/phat/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/phat/ChangeLog	2008-08-10 16:32:31 UTC (rev 1291)
+++ trunk/overlays/proaudio/media-libs/phat/ChangeLog	2008-08-10 21:05:23 UTC (rev 1292)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>; phat-9999.ebuild:
+  fixup if no docs are build
+
   06 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
   -phat-0.3.1.ebuild, -phat-0.4.0.ebuild, phat-0.4.1.ebuild:
   en/disable doc via useflag without rm -- remove old ebuild

Modified: trunk/overlays/proaudio/media-libs/phat/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/phat/Manifest	2008-08-10 16:32:31 UTC (rev 1291)
+++ trunk/overlays/proaudio/media-libs/phat/Manifest	2008-08-10 21:05:23 UTC (rev 1292)
@@ -1,5 +1,5 @@
 DIST phat-0.4.1.tar.gz 550910 RMD160 3f918dc61e7836efdfdb7099ad5fef284f17f621 SHA1 a958eb500a93ba6afcd9dd0731c61c70576ba2ce SHA256 5b891803b0461f4ab9c08845c71f5de7d135029fd4d58afecf6a41d4c46596c5
 EBUILD phat-0.4.1.ebuild 764 RMD160 b51bf1131d20ae5ab8779b9585f804efbd432a9f SHA1 3ac6e8bdcd0f0dd0888af13c20a4af8d1bd8a0f3 SHA256 4646200afab3143dcc94ed8c6403a7274b68589fb748d9428a51fe3e676b8631
-EBUILD phat-9999.ebuild 1111 RMD160 577235f82dba1047ad231e03e81b16a844a9533e SHA1 cffa0e26b8612dc6dc2452f3036c17feacc30f1c SHA256 d7ba71c7a19cddb7ddd3b89fa2bb2ed610b3fe411899ae18147133b11871160b
-MISC ChangeLog 810 RMD160 c26da5c7b1b03c9ea0d861393c9deaa055f0c302 SHA1 6d75b8c97dbf9016abdd79a0cc549e54da98eb14 SHA256 8e2dbc3de4ef5b410d6c679dca9ecec18bfff8eb401249f1fc9be4672564d9d9
+EBUILD phat-9999.ebuild 1370 RMD160 d4b4ad26454fe31ab557d9ba78ea0e5b47a828ab SHA1 401ab7c588d310301e3de870d7e108ef9b0fe147 SHA256 57acc40accfa954db6e08462ec793c463a1adf759d9abca9efa739ffc83c68da
+MISC ChangeLog 916 RMD160 f2a8d709484979f07da2302f2dae733a921723c6 SHA1 629183f98cfb21717913c28b2f942d9941ba34dd SHA256 e8df7fc5262d6cc959c376b0fcc4d060a23907aaacf55fed194b52b0c8545f2f
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-libs/phat/phat-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/phat/phat-9999.ebuild	2008-08-10 16:32:31 UTC (rev 1291)
+++ trunk/overlays/proaudio/media-libs/phat/phat-9999.ebuild	2008-08-10 21:05:23 UTC (rev 1292)
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit eutils subversion autotools flag-o-matic toolchain-funcs
+inherit exteutils subversion autotools flag-o-matic toolchain-funcs
 
 DESCRIPTION="Collection of GTK+ widgets geared toward pro-audio apps."
 HOMEPAGE="https://developper.berlios.de/projects/phat/";
@@ -15,7 +15,7 @@
 
 S="${WORKDIR}/${PN}"
 
-IUSE="debug doc glade"
+IUSE="debug -doc glade"
 DEPEND=">x11-libs/gtk+-2
 	doc? ( dev-util/gtk-doc )
 	glade? ( dev-util/glade )"
@@ -23,6 +23,15 @@
 src_unpack() {
 	subversion_src_unpack ${A}
 	cd "${S}"
+	# workaround: bootstrap should not need gtkdocize if no docs are build
+	if ! use doc ;then
+		esed_check -i -e "s@\(^gtkdocize.*\)@# \1@g" bootstrap
+		touch gtk-doc.make
+		cd docs
+			esed_check -i -e "s@\(^EXTRA_DIST\).*@\1 =@g" Makefile.am
+		cd ..
+	fi
+
 	./bootstrap
 	if [[ $(gcc-major-version)$(gcc-minor-version)$(gcc-micro-version) -ge 413 ]] ; then
 		ewarn "Appending -fgnu89-inline to CFLAGS/CXXFLAGS"
@@ -43,6 +52,6 @@
 }
 
 src_install() {
-	make DESTDIR="${D}" install || die "Install failed"
+	emake DESTDIR="${D}" install || die "Install failed"
 	dodoc README AUTHORS BUGS INSTALL NEWS TODO
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/