diff options
author | Hans de Graaff <graaff@gentoo.org> | 2009-02-28 10:20:32 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2009-02-28 10:20:32 +0000 |
commit | 94143fa7e12cf93921bd613d93b48cd368700443 (patch) | |
tree | 1e2f5e2198c4baf8e49d5bab6f26372419c12f3e /dev-ruby | |
parent | custom-cflags is a global USE-flag (diff) | |
download | historical-94143fa7e12cf93921bd613d93b48cd368700443.tar.gz historical-94143fa7e12cf93921bd613d93b48cd368700443.tar.bz2 historical-94143fa7e12cf93921bd613d93b48cd368700443.zip |
Remove versions that we skip for the next stable.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rmagick/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rmagick/Manifest | 17 | ||||
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.7.0.ebuild | 68 | ||||
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.7.1.ebuild | 68 | ||||
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.7.2.ebuild | 68 | ||||
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.8.0.ebuild | 68 |
7 files changed, 10 insertions, 355 deletions
diff --git a/dev-ruby/rmagick/ChangeLog b/dev-ruby/rmagick/ChangeLog index 04d2cd09d809..2498bf2de513 100644 --- a/dev-ruby/rmagick/ChangeLog +++ b/dev-ruby/rmagick/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rmagick # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.132 2009/02/01 16:25:17 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.133 2009/02/28 10:20:32 graaff Exp $ + + 28 Feb 2009; Hans de Graaff <graaff@gentoo.org> -rmagick-2.7.0.ebuild, + -rmagick-2.7.1.ebuild, -rmagick-2.7.2.ebuild, -rmagick-2.8.0.ebuild, + -rmagick-2.8.0-r1.ebuild: + Remove versions that we'll skip for the next stable version. *rmagick-2.9.1 (01 Feb 2009) diff --git a/dev-ruby/rmagick/Manifest b/dev-ruby/rmagick/Manifest index f0a1a76cd40e..557ed6b0410f 100644 --- a/dev-ruby/rmagick/Manifest +++ b/dev-ruby/rmagick/Manifest @@ -4,28 +4,19 @@ Hash: SHA1 DIST RMagick-1.15.15.tar.bz2 975949 RMD160 f04ff767193c8be0f08171e39873af051a747246 SHA1 c9c61c7962620b24a524061637026904f240f382 SHA256 6d9b004139c01b61e42d40c3d99adb34a537e751fccd142da620601a7dbf7d24 DIST RMagick-1.15.17.tar.bz2 976470 RMD160 c5db9d94e733388fb16bfa20f0ee30c4f105821f SHA1 807e509688dd0bd0e94e89752c7959eafe548189 SHA256 27b352af4a67a526b6e0aadbd4f056979489c24871fd47b20702a2a4785ce92d DIST RMagick-2.6.0.tar.bz2 1136458 RMD160 3c46df11c05534a36a7e41340ba0774a39accae8 SHA1 c7e96540468bda24007bfb57358465f9efe3f892 SHA256 a4317e33d139a2c6a5b13ea9008e17149bfff44f71d846e9a0f1a44a6b820e2a -DIST RMagick-2.7.0.tar.bz2 1138709 RMD160 4ce4be762c10793786b1e07461fa1f3b2c64ac20 SHA1 737dbb552dc7d6a080216ac2f7252b28bea9daf6 SHA256 1c86726c9a72f4671b784d3321debfcd7a90178b6d15fed840cdd88630ef8f00 -DIST RMagick-2.7.1.tar.bz2 1141508 RMD160 3c34bdc9449e83ca79682dd290368be8b36145c8 SHA1 a6709b016dcec653e91541b91b4958bbed816c56 SHA256 0cd4ebd76685b846646dd00d2f3c68143f85db910dfd3b2d23bafe39d36f6a0b -DIST RMagick-2.7.2.tar.bz2 1143631 RMD160 32ce78d4da8f8c543b8e1d297e5a69afb793259d SHA1 9b35b9b49228a9439742f4580167bcb9ca78b1d2 SHA256 f0a5ddbdfa7621d2bb3174635e43accd669aa2bcf5a2968494ebc4e155612062 -DIST RMagick-2.8.0.tar.bz2 1147776 RMD160 78572325f0291536f686a6197ab9afab35cf8ff5 SHA1 93a855db18bb0161deb288f7ed49113c94b3b889 SHA256 876bca8bece1285235febc68b016dca48f1685f74705ccf1a4c497a4218c38b3 DIST RMagick-2.9.0.tar.bz2 1155817 RMD160 4a80a71fc64075945c4c106890faed304a4ab0a5 SHA1 1c5bb201ecc1e2ac769068c72666a0edca67c089 SHA256 07a794b45fc34ea6ad695a72c8287adf51407da77d51df9962af90df47f6df43 DIST RMagick-2.9.1.tar.bz2 1155875 RMD160 87cba2b9e9b7f22fc1a72af5a5aed786a2d05a64 SHA1 67f18b4a08cd962bfccd0f2b281f36e557c5a0c2 SHA256 18bc15817fa863f0a95ebff73486fb51abac8522e93b1f3fbb9f1be5cda0270d EBUILD rmagick-1.15.15.ebuild 2669 RMD160 092935863dbac6312a05096033a3072f3ed6a22b SHA1 75765863633a9c1c7c823fcf0db249d5b526d76a SHA256 7010660cd6487ca37da328e1af8c0e215bfbbf8c8d0697b16542a8e780981d8a EBUILD rmagick-1.15.17.ebuild 2676 RMD160 63996e9b8fb9f19f7d32093325a2ff081848dec6 SHA1 be95d2551c9f86a31fa8aa920a33556edad29f50 SHA256 a7909f6c8fca0697b6f1ac558fa4c88e07ad6649be05265d23f27cfdae284071 EBUILD rmagick-2.6.0.ebuild 2631 RMD160 8bea3f3e1007c045591a430039476ed4c7df06c0 SHA1 df314473037376c1bf62493c0dbf68a24f1c8716 SHA256 f1b090b53d3e7d954034596dc08f6f282fe4dabd30a19b599f1ec7034ccc171b -EBUILD rmagick-2.7.0.ebuild 2638 RMD160 f8ff6131b7d96f5c4ddc9f26ace5035e1262a760 SHA1 eb8d7af5c84761e8193dd6582e95791d0f94fb64 SHA256 bb952dc6e086f969e9caadb111e4f568a77322f770d07906bb8e3efb0ccdac01 -EBUILD rmagick-2.7.1.ebuild 2638 RMD160 90d01215c1372e7abf892ba4eef90d4846744ae3 SHA1 f12a2b8b84a444a6d36f430d23bbc09f2ce44271 SHA256 32d7fd05b9101ae09ccd9dd00eaa4400694afa868ca190055c642e7812b08377 -EBUILD rmagick-2.7.2.ebuild 2638 RMD160 74247dd268f50ac971c715961fce3345275725f5 SHA1 78ae278bfa2e7882c196c20b95c86711c2733367 SHA256 0cef164fdecbe882266a202258efc7372d1e017d15e6fa8039f8aa7fe13f2fec -EBUILD rmagick-2.8.0-r1.ebuild 2686 RMD160 2fd6ef0a0074355e3c850d43e509ca509f3e4b72 SHA1 a069d685adcff01c052eeb51a8e54ed6c36e8c17 SHA256 23e7c3c23d8fe0ffb69c944c58d9be5cc23b93a6ee88eb9758db0b190f64dc70 -EBUILD rmagick-2.8.0.ebuild 2638 RMD160 43c80bb7b4bd6796196dc6c16796d94474f25d2b SHA1 c1a971ba453bee755e63dd96d01bdd84f460a7f5 SHA256 3817d03d42976b5d6f12730111158e60ecef511cdb84faf17f3c56640d847e99 EBUILD rmagick-2.9.0.ebuild 2683 RMD160 5acdb7064800b317e9666128af46829622a2f85c SHA1 9509d08cd61c8795361d59bd8dff908fa47b3fe4 SHA256 d16362dc510f79ec3c73bdcbcda659298488e5df0563f76de5b7bf3015128d83 EBUILD rmagick-2.9.1.ebuild 2683 RMD160 72a49ce4091c99645f2d41b795e8bbeca40d622a SHA1 fabd2c290e89f34ebbaf2afde82fea462a6c1928 SHA256 b7435ba2087bbd64910cdbd0662926fcaf1236da550350f05e25ee3238d3bf36 -MISC ChangeLog 18654 RMD160 c4d94380bc43ec802c2f8fd4066d6d94ce2d1b64 SHA1 b11876072ea18c0fd7c20b666980bf164b5b3b78 SHA256 60508e445c0a875f2af1f29012344caff131726bf3684200b451ef83321cc5d6 +MISC ChangeLog 18890 RMD160 8d1e0a273353ebb185314f1cebcacab779c90a21 SHA1 ae874318f1ac42e58c947df1a3b177a86fbf5208 SHA256 46ebd76e44c4e3950798748876c794ff433ec454ae7a131077e3f4e91143fd8f MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkmFzS8ACgkQqj4ysMWt/vvUvQCfRWGNxaSgUpsnJuZBK3e6VEZG -E+QAoNoAmUxucL59lcm5JRmmsHN/qAQh -=Oz06 +iEYEARECAAYFAkmpD/YACgkQqj4ysMWt/vtOegCg8SooT4ixloNYTcDFSocZ80FT +uREAnjQ2oR8kGtwHzcixwRYAVLY6wFTU +=FIlu -----END PGP SIGNATURE----- diff --git a/dev-ruby/rmagick/rmagick-2.7.0.ebuild b/dev-ruby/rmagick/rmagick-2.7.0.ebuild deleted file mode 100644 index 80f82557e370..000000000000 --- a/dev-ruby/rmagick/rmagick-2.7.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.7.0.ebuild,v 1.1 2008/09/29 06:22:21 graaff Exp $ - -inherit ruby - -# The gem for this package doesn't seem to play well with portage. It -# runs a GNUish configure script, with argument passed directly from -# the gem install command, but gem install doesn't use the same style -# of arguments. Thus, unless you're smart enough to come up with a -# fix, please leave this as a source package install. - -MY_PV=${PV//_/-} -DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" -HOMEPAGE="http://rmagick.rubyforge.org/" -SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples doc" -DEPEND="virtual/ruby - >=media-gfx/imagemagick-6.3.5.6" - -S="${WORKDIR}/RMagick-${PV}" - -# hdri causes extensive changes in the imagemagick internals, and -# rmagick is not ready to deal with those, see bug 184356. -pkg_setup() { - if built_with_use --missing false media-gfx/imagemagick hdri ; then - eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - eerror "please rebuild imagemagick without hdri support if you want to use rmagick" - die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - fi -} - -# Use a custom src_compile because the setup.rb included with RMagick -# doesn't like extra parameters during the setup phase. -src_compile() { - # When documentation is built many examples are also run. Not all - # of them may work (e.g. due to missing additional dependencies) - # so we allow the examples to fail. - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix=/usr "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb setup || die "setup.rb setup failed" -} - -# Use a custom src_install instead of the default one in ruby.eclass -# because the one in ruby.eclass does not include setting the prefix -# for the installation step and assumes that arguments can be given -# also during the install phase. -src_install() { - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" - - cd "${S}" - dodoc ChangeLog README.html README-Mac-OSX.txt - - use examples && dodoc examples/* -} diff --git a/dev-ruby/rmagick/rmagick-2.7.1.ebuild b/dev-ruby/rmagick/rmagick-2.7.1.ebuild deleted file mode 100644 index 3c8398f902c9..000000000000 --- a/dev-ruby/rmagick/rmagick-2.7.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.7.1.ebuild,v 1.1 2008/11/02 16:23:23 graaff Exp $ - -inherit ruby - -# The gem for this package doesn't seem to play well with portage. It -# runs a GNUish configure script, with argument passed directly from -# the gem install command, but gem install doesn't use the same style -# of arguments. Thus, unless you're smart enough to come up with a -# fix, please leave this as a source package install. - -MY_PV=${PV//_/-} -DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" -HOMEPAGE="http://rmagick.rubyforge.org/" -SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples doc" -DEPEND="virtual/ruby - >=media-gfx/imagemagick-6.3.5.6" - -S="${WORKDIR}/RMagick-${PV}" - -# hdri causes extensive changes in the imagemagick internals, and -# rmagick is not ready to deal with those, see bug 184356. -pkg_setup() { - if built_with_use --missing false media-gfx/imagemagick hdri ; then - eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - eerror "please rebuild imagemagick without hdri support if you want to use rmagick" - die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - fi -} - -# Use a custom src_compile because the setup.rb included with RMagick -# doesn't like extra parameters during the setup phase. -src_compile() { - # When documentation is built many examples are also run. Not all - # of them may work (e.g. due to missing additional dependencies) - # so we allow the examples to fail. - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix=/usr "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb setup || die "setup.rb setup failed" -} - -# Use a custom src_install instead of the default one in ruby.eclass -# because the one in ruby.eclass does not include setting the prefix -# for the installation step and assumes that arguments can be given -# also during the install phase. -src_install() { - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" - - cd "${S}" - dodoc ChangeLog README.html README-Mac-OSX.txt - - use examples && dodoc examples/* -} diff --git a/dev-ruby/rmagick/rmagick-2.7.2.ebuild b/dev-ruby/rmagick/rmagick-2.7.2.ebuild deleted file mode 100644 index 1dc3c077efdb..000000000000 --- a/dev-ruby/rmagick/rmagick-2.7.2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.7.2.ebuild,v 1.1 2008/11/14 08:35:54 graaff Exp $ - -inherit ruby - -# The gem for this package doesn't seem to play well with portage. It -# runs a GNUish configure script, with argument passed directly from -# the gem install command, but gem install doesn't use the same style -# of arguments. Thus, unless you're smart enough to come up with a -# fix, please leave this as a source package install. - -MY_PV=${PV//_/-} -DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" -HOMEPAGE="http://rmagick.rubyforge.org/" -SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples doc" -DEPEND="virtual/ruby - >=media-gfx/imagemagick-6.3.5.6" - -S="${WORKDIR}/RMagick-${PV}" - -# hdri causes extensive changes in the imagemagick internals, and -# rmagick is not ready to deal with those, see bug 184356. -pkg_setup() { - if built_with_use --missing false media-gfx/imagemagick hdri ; then - eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - eerror "please rebuild imagemagick without hdri support if you want to use rmagick" - die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - fi -} - -# Use a custom src_compile because the setup.rb included with RMagick -# doesn't like extra parameters during the setup phase. -src_compile() { - # When documentation is built many examples are also run. Not all - # of them may work (e.g. due to missing additional dependencies) - # so we allow the examples to fail. - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix=/usr "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb setup || die "setup.rb setup failed" -} - -# Use a custom src_install instead of the default one in ruby.eclass -# because the one in ruby.eclass does not include setting the prefix -# for the installation step and assumes that arguments can be given -# also during the install phase. -src_install() { - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" - - cd "${S}" - dodoc ChangeLog README.html README-Mac-OSX.txt - - use examples && dodoc examples/* -} diff --git a/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild b/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild deleted file mode 100644 index 63bf47442ce5..000000000000 --- a/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild,v 1.1 2008/12/26 13:36:54 graaff Exp $ - -inherit ruby - -# The gem for this package doesn't seem to play well with portage. It -# runs a GNUish configure script, with argument passed directly from -# the gem install command, but gem install doesn't use the same style -# of arguments. Thus, unless you're smart enough to come up with a -# fix, please leave this as a source package install. - -MY_PV=${PV//_/-} -DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" -HOMEPAGE="http://rmagick.rubyforge.org/" -SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples doc" -DEPEND="virtual/ruby - >=media-gfx/imagemagick-6.3.5.6" - -S="${WORKDIR}/RMagick-${PV}" - -# hdri causes extensive changes in the imagemagick internals, and -# rmagick is not ready to deal with those, see bug 184356. -pkg_setup() { - if built_with_use --missing false media-gfx/imagemagick hdri ; then - eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - eerror "please rebuild imagemagick without hdri support if you want to use rmagick" - die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - fi -} - -# Use a custom src_compile because the setup.rb included with RMagick -# doesn't like extra parameters during the setup phase. -src_compile() { - # When documentation is built many examples are also run. Not all - # of them may work (e.g. due to missing additional dependencies) - # so we allow the examples to fail. - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix=/usr "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb setup || die "setup.rb setup failed" -} - -# Use a custom src_install instead of the default one in ruby.eclass -# because the one in ruby.eclass does not include setting the prefix -# for the installation step and assumes that arguments can be given -# also during the install phase. -src_install() { - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix="${D}/usr" \ - --doc-dir="${D}/usr/share/doc/${P}/html" "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" - - cd "${S}" - dodoc ChangeLog README.html README-Mac-OSX.txt - - use examples && dodoc examples/* -} diff --git a/dev-ruby/rmagick/rmagick-2.8.0.ebuild b/dev-ruby/rmagick/rmagick-2.8.0.ebuild deleted file mode 100644 index 805c2bc290db..000000000000 --- a/dev-ruby/rmagick/rmagick-2.8.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.8.0.ebuild,v 1.1 2008/12/06 10:09:11 graaff Exp $ - -inherit ruby - -# The gem for this package doesn't seem to play well with portage. It -# runs a GNUish configure script, with argument passed directly from -# the gem install command, but gem install doesn't use the same style -# of arguments. Thus, unless you're smart enough to come up with a -# fix, please leave this as a source package install. - -MY_PV=${PV//_/-} -DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" -HOMEPAGE="http://rmagick.rubyforge.org/" -SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples doc" -DEPEND="virtual/ruby - >=media-gfx/imagemagick-6.3.5.6" - -S="${WORKDIR}/RMagick-${PV}" - -# hdri causes extensive changes in the imagemagick internals, and -# rmagick is not ready to deal with those, see bug 184356. -pkg_setup() { - if built_with_use --missing false media-gfx/imagemagick hdri ; then - eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - eerror "please rebuild imagemagick without hdri support if you want to use rmagick" - die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" - fi -} - -# Use a custom src_compile because the setup.rb included with RMagick -# doesn't like extra parameters during the setup phase. -src_compile() { - # When documentation is built many examples are also run. Not all - # of them may work (e.g. due to missing additional dependencies) - # so we allow the examples to fail. - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix=/usr "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb setup || die "setup.rb setup failed" -} - -# Use a custom src_install instead of the default one in ruby.eclass -# because the one in ruby.eclass does not include setting the prefix -# for the installation step and assumes that arguments can be given -# also during the install phase. -src_install() { - if ! use doc ; then - RUBY_ECONF="--disable-htmldoc --allow-example-errors" - fi - - ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \ - ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" - ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" - - cd "${S}" - dodoc ChangeLog README.html README-Mac-OSX.txt - - use examples && dodoc examples/* -} |