summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-01-03 15:29:48 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-01-03 15:29:48 +0000
commit3ac46fbf485462ad4541e85e58d8efbae4e6592d (patch)
treedee0c859e399bd639697d6d65e8293c655dc331c /sci-chemistry
parentAdd guidexml USE-Flag for xmlcopyeditor (diff)
downloadhistorical-3ac46fbf485462ad4541e85e58d8efbae4e6592d.tar.gz
historical-3ac46fbf485462ad4541e85e58d8efbae4e6592d.tar.bz2
historical-3ac46fbf485462ad4541e85e58d8efbae4e6592d.zip
Die if imagemagick isn't emerged with USE=xml. Thanks to My Th on bug #204091.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/chemical-mime-data/ChangeLog7
-rw-r--r--sci-chemistry/chemical-mime-data/Manifest16
-rw-r--r--sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild15
3 files changed, 25 insertions, 13 deletions
diff --git a/sci-chemistry/chemical-mime-data/ChangeLog b/sci-chemistry/chemical-mime-data/ChangeLog
index 4352d192b86b..42f07c75f303 100644
--- a/sci-chemistry/chemical-mime-data/ChangeLog
+++ b/sci-chemistry/chemical-mime-data/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/chemical-mime-data
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/ChangeLog,v 1.1 2007/12/11 04:36:01 je_fro Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/ChangeLog,v 1.2 2008/01/03 15:29:48 je_fro Exp $
+
+ 03 Jan 2008; <jeff@gentoo.org> chemical-mime-data-0.1.94.ebuild:
+ Die if imagemagick isn't emerged with USE=xml. Thanks to My Th on bug #204091.
*chemical-mime-data-0.1.94 (11 Dec 2007)
diff --git a/sci-chemistry/chemical-mime-data/Manifest b/sci-chemistry/chemical-mime-data/Manifest
index ae135c45f837..298f4b05ccba 100644
--- a/sci-chemistry/chemical-mime-data/Manifest
+++ b/sci-chemistry/chemical-mime-data/Manifest
@@ -1,12 +1,12 @@
DIST chemical-mime-data-0.1.94.tar.bz2 146077 RMD160 542274f991297e54f7ff881d0b49b8562fdb494c SHA1 57c090160fabcba3cce076ae0a3f2bf777db95fc SHA256 4907cdf60e9edca0a453f6f24e9179ae9da085b67168e932ba44a4280316bff1
-EBUILD chemical-mime-data-0.1.94.ebuild 1025 RMD160 52e92c028f804de9075eee8d46441eb25705bdd9 SHA1 6909934c6ea1158133af143171adac093b6f6458 SHA256 d71015db414d67517a266f5c4f8fd48f0acd44baa659a405f8526e5d39f6e5e3
-MD5 b04fb34144b5d1557c0142a9ef4badc8 chemical-mime-data-0.1.94.ebuild 1025
-RMD160 52e92c028f804de9075eee8d46441eb25705bdd9 chemical-mime-data-0.1.94.ebuild 1025
-SHA256 d71015db414d67517a266f5c4f8fd48f0acd44baa659a405f8526e5d39f6e5e3 chemical-mime-data-0.1.94.ebuild 1025
-MISC ChangeLog 397 RMD160 2c84e1408c978a0c909efa9a8c391e0781dc7e15 SHA1 ba67a3b8654a0cd0a544ad46c4f88237dcdae1a8 SHA256 bd5699e10a6fba8b20687018b67434cd7906f0140182aca7a83441cc6516e982
-MD5 7c5ba34f643ca3292dac8fd49b2380b4 ChangeLog 397
-RMD160 2c84e1408c978a0c909efa9a8c391e0781dc7e15 ChangeLog 397
-SHA256 bd5699e10a6fba8b20687018b67434cd7906f0140182aca7a83441cc6516e982 ChangeLog 397
+EBUILD chemical-mime-data-0.1.94.ebuild 1254 RMD160 d5a81e092e315c033df0c34636054d6c55ddce23 SHA1 076d84997105d28451a5615ed795417f24a00e48 SHA256 83e8c501ab8f97fd5a2cdd6ec124acdfbd66e616597bdb0c31ac4d5552b055bc
+MD5 0013583903c17b1316ba7c6981d10d77 chemical-mime-data-0.1.94.ebuild 1254
+RMD160 d5a81e092e315c033df0c34636054d6c55ddce23 chemical-mime-data-0.1.94.ebuild 1254
+SHA256 83e8c501ab8f97fd5a2cdd6ec124acdfbd66e616597bdb0c31ac4d5552b055bc chemical-mime-data-0.1.94.ebuild 1254
+MISC ChangeLog 546 RMD160 1702d99e6bfc53e1c973bd66ac3248e92816f68e SHA1 aa75779795526914680ada580d5afb5d4f7d2ce0 SHA256 41777e6bfcf6105a46017b4acc211a8031239ccc261fd9362c8b0d0301dd0716
+MD5 3cc34091a32698982302c0fe1f524887 ChangeLog 546
+RMD160 1702d99e6bfc53e1c973bd66ac3248e92816f68e ChangeLog 546
+SHA256 41777e6bfcf6105a46017b4acc211a8031239ccc261fd9362c8b0d0301dd0716 ChangeLog 546
MISC metadata.xml 357 RMD160 dde3adc5ef420a4a4feb114f60937ad5aa975694 SHA1 e4b62b3b5ee058cdacad4c386f6136def8057fae SHA256 65035f4026c2830a43bad9ea68ba1bcddb700c9f894593ac6d9ba0686a2bf398
MD5 dad18077c19af3d29d7bc0b3356b15e2 metadata.xml 357
RMD160 dde3adc5ef420a4a4feb114f60937ad5aa975694 metadata.xml 357
diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
index 7df1bbfbe458..722a60fc1188 100644
--- a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
+++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild,v 1.1 2007/12/11 04:36:01 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild,v 1.2 2008/01/03 15:29:48 je_fro Exp $
-inherit fdo-mime
+inherit eutils fdo-mime
DESCRIPTION="A collection of data files to add support for chemical MIME types."
HOMEPAGE="http://chemical-mime.sourceforge.net/"
@@ -23,6 +23,15 @@ DEPEND="dev-util/pkgconfig
RDEPEND=""
+pkg_setup() {
+
+ if ! built_with_use 'media-gfx/imagemagick' xml; then
+ eerror "media-gfx/imagemagick must be built with the xml USE-flag enabled"
+ die "emerge media-gfx/imagemagick with the xml USE-flag enabled"
+ fi
+
+}
+
src_compile() {
econf --disable-update-database --htmldir=/usr/share/doc/${PN}/html