summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-11-24 07:11:01 +0000
committerHans de Graaff <graaff@gentoo.org>2011-11-24 07:11:01 +0000
commit6dcfea459239ee4c6e6f9b18df3612094604267e (patch)
tree27bc9def261af867a3b973851c5250965f33ebf5 /dev-ruby/rcairo
parentFix for prefix and add ~x86-linux keyword. (diff)
downloadhistorical-6dcfea459239ee4c6e6f9b18df3612094604267e.tar.gz
historical-6dcfea459239ee4c6e6f9b18df3612094604267e.tar.bz2
historical-6dcfea459239ee4c6e6f9b18df3612094604267e.zip
Version bump for missing pkg-config dependency. Drop alpha,ia64,sparc keywords accordingly, bug 391759.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rcairo')
-rw-r--r--dev-ruby/rcairo/ChangeLog8
-rw-r--r--dev-ruby/rcairo/Manifest10
-rw-r--r--dev-ruby/rcairo/rcairo-1.10.2.ebuild73
3 files changed, 86 insertions, 5 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog
index 5744bee9c55f..f2d67620279e 100644
--- a/dev-ruby/rcairo/ChangeLog
+++ b/dev-ruby/rcairo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rcairo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.66 2011/10/30 10:39:00 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.67 2011/11/24 07:11:01 graaff Exp $
+
+*rcairo-1.10.2 (24 Nov 2011)
+
+ 24 Nov 2011; Hans de Graaff <graaff@gentoo.org> +rcairo-1.10.2.ebuild:
+ Version bump for missing pkg-config dependency. Drop alpha,ia64,sparc
+ keywords accordingly, bug 391759.
*rcairo-1.10.1 (30 Oct 2011)
diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest
index 4f17c6a9f815..0cd5e6a25da5 100644
--- a/dev-ruby/rcairo/Manifest
+++ b/dev-ruby/rcairo/Manifest
@@ -3,15 +3,17 @@ Hash: SHA256
DIST cairo-1.10.0.gem 85504 RMD160 7242a2e82402382e3d8334e9730e63ef4b73e6c5 SHA1 e682d188e6dcc2d2f68445156b8beb4b6b7dface SHA256 3a6e648b75f43aa1a0efb4f70c03e576c865c1257847ac509fca2aee8991a404
DIST cairo-1.10.1.gem 85504 RMD160 fe655b6b759fd1bccd9a3099831a3e48124e2533 SHA1 bd6836a2c62d6b07477bfcae54a9a7206253d0cc SHA256 aa0722f6e12e149494af03b2b5534eddc59fd67849d05fdc0c1724e1329bc02c
+DIST cairo-1.10.2.gem 85504 RMD160 4f04295e474df349752811f20b8caa4ebe92198c SHA1 3ddd9cb45e79c2ae32163f09983f3889d66c7ec5 SHA256 f5e4574155d29f2f31eec9adcc1ed39c70c82b55df4cc6596e7b6cc637f80af2
EBUILD rcairo-1.10.0-r3.ebuild 2176 RMD160 fe7960ba928373c9f875c514ef3188d1545b37ae SHA1 14acf05d0bb5978f20b871ead36828a7e3067446 SHA256 2db64534420802a635ffcc01014dbc48e41f9c956217d5f43922b5d8cbfaa14b
EBUILD rcairo-1.10.0-r4.ebuild 2156 RMD160 5b77e96690d3231dbe4254f1024ae56a2ef61bb3 SHA1 6024f9914c5d9ac5fb7a8545ae5abf2d05972496 SHA256 558cd26bbf5cbb625c45de656af7beacffa488a931758e0f047ff1e1211d3f33
EBUILD rcairo-1.10.1.ebuild 1801 RMD160 b46de92d0360d0b2f4c1d4e88eb06113e9bfac28 SHA1 269678e2874a09d0269064b821c80d1847f42f9a SHA256 53ebb3e7cda971b9ecf4eef697364eb2d02920add02889f857e269bbba0c43dd
-MISC ChangeLog 9314 RMD160 b089de92c5f336e23a5be187aa89b2434695e766 SHA1 80d542157508b2e69522727cec17f0acb1f53877 SHA256 525e4afda423c8593d5a998de87306c43390c940bed6593e8cc4a3b7c5033f70
+EBUILD rcairo-1.10.2.ebuild 1782 RMD160 0d317b9f5595376eda062c0e3cb88623e8d2401e SHA1 3cb953613fcd52586df9c6240bf81339c5992fde SHA256 ddb709c2d4fe194c392c9e4ec4271b32af9b313844ad481904bcc679b17c9021
+MISC ChangeLog 9526 RMD160 f0d4b42f4d8036fa54a8be303d0509054f4f05c9 SHA1 6e36389b1ddb314549dd66598de5608a8ba92391 SHA256 20d765c092e3b4b94bd169a3a6efa2df2944c220d998fdf473ae23d6089858bf
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6tKUoACgkQiIP6VqMIqNfkTgD/ZyZoTVXKToxWNOBz0BjOVALd
-b5xfVg5q0fYccK4NvAAA/jbbSpqoAjIji6kq5RIdacTxdKAiPEEGnsYN+XRYp3/Z
-=JQl+
+iF4EAREIAAYFAk7N7hEACgkQiIP6VqMIqNcPdwD/fIE4xBMBMLWuxoia8iafveCN
+2hxKckblU3GPZHY6XBkBAIhD5n1/O2WNC4D097r65o8uNUREj4AcuFq6rbY0xmrm
+=wxRi
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcairo/rcairo-1.10.2.ebuild b/dev-ruby/rcairo/rcairo-1.10.2.ebuild
new file mode 100644
index 000000000000..d8b2214149f1
--- /dev/null
+++ b/dev-ruby/rcairo/rcairo-1.10.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild,v 1.1 2011/11/24 07:11:01 graaff Exp $
+
+EAPI=2
+
+# jruby → cannot work, it's a compiled extension
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_NAME="cairo"
+
+# Documentation depends on files that are not distributed.
+RUBY_FAKEGEM_TASK_DOC=""
+
+# Depends on test-unit-2 which is currently masked.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby bindings for cairo"
+HOMEPAGE="http://cairographics.org/rcairo/"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="|| ( Ruby GPL-2 )"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="${RDEPEND}
+ >=x11-libs/cairo-1.2.0[svg]"
+DEPEND="${DEPEND}
+ >=x11-libs/cairo-1.2.0[svg]"
+
+ruby_add_bdepend "
+ dev-ruby/pkg-config
+ dev-ruby/ruby-glib2
+ test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/cairo extconf.rb || die "extconf failed"
+}
+
+each_ruby_compile() {
+ emake -Cext/cairo || die "make failed"
+
+ # again, try to make it more standard, to install it more easily.
+ cp ext/cairo/cairo$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ # don't rely on the Rakefile because it's a mess to load with
+ # their hierarchy, do it manually.
+ ${RUBY} -Ilib -r ./test/cairo-test-utils.rb \
+ -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed"
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ insinto $(ruby_get_hdrdir)
+ doins ext/cairo/rb_cairo.h || die "Cannot install header file."
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/samples
+ doins -r samples/* || die "Cannot install sample files."
+}