summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-08-27 05:51:18 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-08-27 05:51:18 +0000
commitad4a3baac08ad884a8f845753cc6a37b5e49d971 (patch)
treefb0b2234c5ac08ad100c56bb7b047a4dd1212061 /sci-chemistry/gchemutils
parentBeta nvidia-drivers-177.68 package, masking it and its corresponding nvidia-s... (diff)
downloadgentoo-2-ad4a3baac08ad884a8f845753cc6a37b5e49d971.tar.gz
gentoo-2-ad4a3baac08ad884a8f845753cc6a37b5e49d971.tar.bz2
gentoo-2-ad4a3baac08ad884a8f845753cc6a37b5e49d971.zip
goffice and libgsf need to be built with USE=gnome. check in pkg_setup and
die if this isn't the case Thanks to Robert Bridge in bug #224261. (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'sci-chemistry/gchemutils')
-rw-r--r--sci-chemistry/gchemutils/ChangeLog6
-rw-r--r--sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild16
2 files changed, 20 insertions, 2 deletions
diff --git a/sci-chemistry/gchemutils/ChangeLog b/sci-chemistry/gchemutils/ChangeLog
index 5842783d806e..d6747e24333b 100644
--- a/sci-chemistry/gchemutils/ChangeLog
+++ b/sci-chemistry/gchemutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/gchemutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gchemutils/ChangeLog,v 1.5 2008/04/21 01:51:55 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gchemutils/ChangeLog,v 1.6 2008/08/27 05:51:18 je_fro Exp $
+
+ 27 Aug 2008; Jeff Gardner <je_fro@gentoo.org> gchemutils-0.8.7.ebuild:
+ goffice and libgsf need to be built with USE=gnome. check in pkg_setup and
+ die if this isn't the case Thanks to Robert Bridge in bug #224261.
21 Apr 2008; Jeff Gardner <je_fro@gentoo.org> -gchemutils-0.8.4.ebuild,
gchemutils-0.8.7.ebuild:
diff --git a/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild b/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild
index aefff472f7e5..f6f940e5a9ed 100644
--- a/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild
+++ b/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild,v 1.2 2008/04/21 01:51:55 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gchemutils/gchemutils-0.8.7.ebuild,v 1.3 2008/08/27 05:51:18 je_fro Exp $
inherit gnome2 autotools
@@ -18,6 +18,7 @@ RDEPEND="=gnome-base/libglade-2*
>=gnome-base/libgnomeprintui-2.4.0
=x11-libs/goffice-0.4*
x11-libs/gtkglext
+ app-text/gnome-doc-utils
>=sci-chemistry/openbabel-2.1.1
sci-chemistry/bodr
sci-chemistry/chemical-mime-data"
@@ -27,6 +28,19 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ if ! built_with_use x11-libs/goffice:0.4 gnome ; then
+ eerror "Please rebuild x11-libs/goffice-0.4* with gnome support enabled."
+ eerror "This needs gnome-extra/libgsf to be built with gnome support."
+ eerror "echo \"=x11-libs/goffice-0.4* gnome\" >> /etc/portage/package.use"
+ eerror "and"
+ eerror "echo \"gnome-extra/libgsf gnome\" >> /etc/portage/package.use"
+ eerror "or add \"gnome\" to your USE string in /etc/make.conf"
+ die "No Gnome support found in goffice."
+
+ fi
+}
+
src_unpack() {
gnome2_src_unpack
eautoreconf