summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-01-16 18:06:21 +0000
committerHans de Graaff <graaff@gentoo.org>2010-01-16 18:06:21 +0000
commit41181f2a8dae37faf1207d3420d07504e12909df (patch)
tree7c263d6d13b6586d3c4ac4a32ce80b1e2bb88040 /dev-ruby
parentRemove bundled copy of coverage. Fixes bug #300757 (diff)
downloadhistorical-41181f2a8dae37faf1207d3420d07504e12909df.tar.gz
historical-41181f2a8dae37faf1207d3420d07504e12909df.tar.bz2
historical-41181f2a8dae37faf1207d3420d07504e12909df.zip
Overdue version bump, made possible since we can now easily patch gems. Converted to ruby-fakegem.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-gd/ChangeLog10
-rw-r--r--dev-ruby/ruby-gd/Manifest10
-rw-r--r--dev-ruby/ruby-gd/ruby-gd-0.8.0.ebuild58
3 files changed, 72 insertions, 6 deletions
diff --git a/dev-ruby/ruby-gd/ChangeLog b/dev-ruby/ruby-gd/ChangeLog
index f3e768acc011..bf2b907c2216 100644
--- a/dev-ruby/ruby-gd/ChangeLog
+++ b/dev-ruby/ruby-gd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-gd
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ChangeLog,v 1.21 2009/12/20 14:13:53 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ChangeLog,v 1.22 2010/01/16 18:06:21 graaff Exp $
+
+*ruby-gd-0.8.0 (16 Jan 2010)
+
+ 16 Jan 2010; Hans de Graaff <graaff@gentoo.org> +ruby-gd-0.8.0.ebuild:
+ Overdue version bump, made possible since we can now easily patch gems.
+ Converted to ruby-fakegem.
20 Dec 2009; Hans de Graaff <graaff@gentoo.org> ruby-gd-0.7.4-r1.ebuild:
Remove obsolete virtual/ruby dependency.
diff --git a/dev-ruby/ruby-gd/Manifest b/dev-ruby/ruby-gd/Manifest
index e83ee7c91173..af554fb2ddd2 100644
--- a/dev-ruby/ruby-gd/Manifest
+++ b/dev-ruby/ruby-gd/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX ruby-gd-0.7.4-fix-interlace.patch 203 RMD160 d6b2365ea6f435f566bfd35aa1e1fc4b32a680e0 SHA1 829fa85c38154566657abae9c86cbe4d123fd009 SHA256 4da7baca789f8a92ea55a1aafb067392070f8dbca6f601a64ce4f9814c453882
DIST ruby-GD-0.7.4-1.tar.gz 38725 RMD160 a1d941cc44c22f25cff0ee964c8dcb6eb00f9749 SHA1 87ad45f8b224ab2abb87d289112a245f58b16218 SHA256 df08e3d3b34d9cfc68b01f11bd6f685b121ed27f41c1ab5663713cb3e0cdb84a
+DIST ruby-gd-0.8.0.gem 41984 RMD160 73369970a3ae17feda1b428c19e0bc8bb52d05dc SHA1 a38a2eaa786afd1ad1fe56961ff7168e8fab7996 SHA256 c2a3a1d2d490cd65392fc36f553a6708196df09d118fa36bc12c723d256f7864
EBUILD ruby-gd-0.7.4-r1.ebuild 1328 RMD160 02e0fd7cd5a90af006997fb9a23e38b7ba6fdd6a SHA1 c20a9510393960c31c0dfb2061fae16d3cc74abc SHA256 2e0b995e3c7e675adc595f9a4064f4c22269a8270760faa84900b3c9db3e279b
-MISC ChangeLog 2867 RMD160 1656a423cf1acfcb2b8c597d2413efe60c799850 SHA1 92592789b277aeda70f36ea4b36a8d91f30b65f7 SHA256 ec70440681cc632361f58f46704e7f330804da68ca242b9595296f38b6195a03
+EBUILD ruby-gd-0.8.0.ebuild 1295 RMD160 537108508655ef6d4ec9ee4301c54fde0fd29558 SHA1 cd2dfae0478a5cfaf0a784fb792cc7470bbc72d0 SHA256 ab0e5cfc4984c0bf2da65fbd4293626fa118311558e9860e801ac45d00d96610
+MISC ChangeLog 3074 RMD160 67783dbf05bf0c44a2a8c0a99c2d3bb80d99fbdc SHA1 4d2e772859c880c080b13d65c8babb4b1f6f6d07 SHA256 de257b549375bc1deed1af2b672f78a7cc79b633d68e52b86fb2aaf7b2e831fe
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAksuMScACgkQeM7EJeUH71N6/gCfX7UQOVJpvfYXiX0u1lJWcpe/
-4rMAoIZYFl8xWOjT64WySbA51sqFmPiO
-=3Mbi
+iEYEARECAAYFAktSACgACgkQeM7EJeUH71M/YwCfRG3XV/KJm/c0npxozWv+Sx1C
+XFUAn3GMgaSYZWm7TGcq//+ZT9BvX+63
+=sSnS
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-gd/ruby-gd-0.8.0.ebuild b/dev-ruby/ruby-gd/ruby-gd-0.8.0.ebuild
new file mode 100644
index 000000000000..f3b9d4b26890
--- /dev/null
+++ b/dev-ruby/ruby-gd/ruby-gd-0.8.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ruby-gd-0.8.0.ebuild,v 1.1 2010/01/16 18:06:21 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="Changes readme.en readme.ja"
+
+inherit ruby-fakegem
+
+DESCRIPTION="ruby-gd: an interface to Boutell GD library"
+HOMEPAGE="http://rubyforge.org/projects/ruby-gd/"
+
+RUBY_PATCHES=( "${FILESDIR}/ruby-gd-0.7.4-fix-interlace.patch" )
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="jpeg truetype X"
+
+DEPEND="
+ >=media-libs/gd-2.0[png]
+ jpeg? ( media-libs/jpeg )
+ truetype? ( media-libs/freetype )
+ X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+each_ruby_configure() {
+ local myconf=""
+
+ if use truetype; then
+ myconf="${myconf} --with-ttf --with-freetype"
+ fi
+
+ ${RUBY} extconf.rb --enable-gd2_0 ${myconf} \
+ $(use_with jpeg) \
+ $(use_with X xpm) || die
+}
+
+each_ruby_compile() {
+ emake
+}
+
+each_ruby_install() {
+ ruby_fakegem_genspec
+ emake DESTDIR="${D}" install || die
+}
+
+all_ruby_install() {
+ dodoc Changes readme.* doc/manual.rd doc/INSTALL.* || die
+ dohtml doc/manual.html doc/manual_index.html
+ insinto /usr/share/doc/${PF}/sample
+ doins sample/*
+}