r15971 - gnucash/trunk/packaging - ebuild updates

Josh Sled jsled at cvs.gnucash.org
Sat Apr 21 17:49:11 EDT 2007


Author: jsled
Date: 2007-04-21 17:49:11 -0400 (Sat, 21 Apr 2007)
New Revision: 15971
Trac: http://svn.gnucash.org/trac/changeset/15971

Modified:
   gnucash/trunk/packaging/gnucash-2.1.x.ebuild
Log:
ebuild updates

Modified: gnucash/trunk/packaging/gnucash-2.1.x.ebuild
===================================================================
--- gnucash/trunk/packaging/gnucash-2.1.x.ebuild	2007-04-21 21:46:47 UTC (rev 15970)
+++ gnucash/trunk/packaging/gnucash-2.1.x.ebuild	2007-04-21 21:49:11 UTC (rev 15971)
@@ -1,14 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header$
 
 # This script should work fine for the whole 2.1.x (and hopefully 2.2.x)
-# releases with a simple rename. See
-# http://bugs.gentoo.org/show_bug.cgi?id=122337 for discussion and history
-# about this file.  
+# releases with a simple rename.
 
-# -- jsled-gentoo at asynchronous.org
-
 inherit eutils gnome2 
 
 DOC_VER="2.0.1"
@@ -21,7 +17,6 @@
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="ofx hbci chipcard doc debug quotes nls"
-# mt940
 
 RDEPEND=">=dev-libs/glib-2.6.3
 	>=dev-scheme/guile-1.8
@@ -43,7 +38,7 @@
 		chipcard? ( sys-libs/libchipcard )
 	)
 	quotes? ( dev-perl/DateManip
-		dev-perl/Finance-Quote-1.11
+		>=dev-perl/Finance-Quote-1.11
 		dev-perl/HTML-TableExtract )
 	app-text/docbook-xsl-stylesheets
 	=app-text/docbook-xml-dtd-4.1.2*
@@ -59,7 +54,9 @@
 	sys-devel/libtool
 	>=dev-lang/swig-1.3.28"
 
-S="${S}."
+if [[ "${PV}" == "2.1.0" ]]; then
+  S="${S}." # packaging bug. :/
+fi
 
 pkg_setup() {
 	built_with_use gnome-extra/libgsf gnome || die "gnome-extra/libgsf must be built with gnome"
@@ -76,6 +73,10 @@
 		myconf="${myconf} --enable-latex-docs"
 	fi
 
+    if [[ "${PV}" != "2.1.0" ]]; then
+        myconf="${myconf} --enable-tax-specific-locale"
+    fi
+
 	econf \
 		$(use_enable debug) \
 		$(use_enable ofx) \
@@ -97,8 +98,11 @@
 
 src_install() {
 	gnome2_src_install || die "gnome2_src_install failed"
-	dodoc AUTHORS ChangeLog* COPYING DOCUMENTERS HACKING INSTALL LICENSE NEWS TODO README* doc/README*
-	make_desktop_entry ${P} "GnuCash ${PV}" gnucash-icon.png "GNOME;Office;Finance"
+	dodoc AUTHORS ChangeLog* DOCUMENTERS HACKING INSTALL NEWS TODO README* doc/README*
+    # @fixme: this should use gnucash-icon-48x48.png and art/tango/scaleable/gnucash.svg
+    # http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html#key-icon
+    # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
+	make_desktop_entry ${P} "GnuCash ${PV}" gnucash-icon-48x48.png "GNOME;Office;Finance"
 
 	cd "${WORKDIR}/${PN}-docs-${DOC_VER}"
 	make DESTDIR="${D}" \



More information about the gnucash-changes mailing list