diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-10-30 10:39:01 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-10-30 10:39:01 +0000 |
commit | 23c492ec8f0c2a8550606ae8f8d1b3cbf1449462 (patch) | |
tree | 993f554270747de03fc5e461bac0da2dec20a3a4 /dev-ruby | |
parent | [bump] dev-perl/DateTime-Format-Natural-0.980.0 (diff) | |
download | historical-23c492ec8f0c2a8550606ae8f8d1b3cbf1449462.tar.gz historical-23c492ec8f0c2a8550606ae8f8d1b3cbf1449462.tar.bz2 historical-23c492ec8f0c2a8550606ae8f8d1b3cbf1449462.zip |
Version bump with support for cairo 1.10.2.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rcairo/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.10.1.ebuild | 73 |
3 files changed, 85 insertions, 5 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index 8dc11794bbb9..5744bee9c55f 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,11 @@ # 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.65 2011/10/30 10:23:08 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.66 2011/10/30 10:39:00 graaff Exp $ + +*rcairo-1.10.1 (30 Oct 2011) + + 30 Oct 2011; Hans de Graaff <graaff@gentoo.org> +rcairo-1.10.1.ebuild: + Version bump with support for cairo 1.10.2. 30 Oct 2011; Hans de Graaff <graaff@gentoo.org> -rcairo-1.8.1.ebuild, -rcairo-1.10.0-r2.ebuild: diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest index 37ce3a12681e..4f17c6a9f815 100644 --- a/dev-ruby/rcairo/Manifest +++ b/dev-ruby/rcairo/Manifest @@ -2,14 +2,16 @@ 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 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 -MISC ChangeLog 9164 RMD160 f7cf1bc2298b0608a0e6a8daed2fa6529f8f0d0b SHA1 cdc5b5a01a03438bf3ada7822d81512e09a77896 SHA256 418862fa800efc48091c90dcb01c4dbca911af0ccb1ffad4d01596330baab9e5 +EBUILD rcairo-1.10.1.ebuild 1801 RMD160 b46de92d0360d0b2f4c1d4e88eb06113e9bfac28 SHA1 269678e2874a09d0269064b821c80d1847f42f9a SHA256 53ebb3e7cda971b9ecf4eef697364eb2d02920add02889f857e269bbba0c43dd +MISC ChangeLog 9314 RMD160 b089de92c5f336e23a5be187aa89b2434695e766 SHA1 80d542157508b2e69522727cec17f0acb1f53877 SHA256 525e4afda423c8593d5a998de87306c43390c940bed6593e8cc4a3b7c5033f70 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk6tJZsACgkQiIP6VqMIqNfnqAEAkubKB23/Oqhig/3GKjgXDmKQ -IKpIEh/1O0m2FClIWQEA/jIqVQLG8EdTLR776J/0ve6VVJivOWjnRnlAViPi89OA -=jTbS +iF4EAREIAAYFAk6tKUoACgkQiIP6VqMIqNfkTgD/ZyZoTVXKToxWNOBz0BjOVALd +b5xfVg5q0fYccK4NvAAA/jbbSpqoAjIji6kq5RIdacTxdKAiPEEGnsYN+XRYp3/Z +=JQl+ -----END PGP SIGNATURE----- diff --git a/dev-ruby/rcairo/rcairo-1.10.1.ebuild b/dev-ruby/rcairo/rcairo-1.10.1.ebuild new file mode 100644 index 000000000000..8464821304ad --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.10.1.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.1.ebuild,v 1.1 2011/10/30 10:39: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="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg] + dev-util/pkgconfig" + +ruby_add_bdepend " + 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." +} |