summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-09-15 09:08:13 +0000
committerHans de Graaff <graaff@gentoo.org>2012-09-15 09:08:13 +0000
commit2c11768ee30659e29c840fe790e17fc612678a7b (patch)
tree8c326aec14f1995ce9929ac1087807c1b0e91c24 /dev-ruby/rcairo
parentCleanup. (diff)
downloadhistorical-2c11768ee30659e29c840fe790e17fc612678a7b.tar.gz
historical-2c11768ee30659e29c840fe790e17fc612678a7b.tar.bz2
historical-2c11768ee30659e29c840fe790e17fc612678a7b.zip
Version bump.
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rcairo')
-rw-r--r--dev-ruby/rcairo/ChangeLog7
-rw-r--r--dev-ruby/rcairo/Manifest10
-rw-r--r--dev-ruby/rcairo/rcairo-1.12.2.ebuild73
3 files changed, 85 insertions, 5 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog
index 70c38d66c24e..2a87a4d9fd3c 100644
--- a/dev-ruby/rcairo/ChangeLog
+++ b/dev-ruby/rcairo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rcairo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.76 2012/09/15 09:04:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.77 2012/09/15 09:08:12 graaff Exp $
+
+*rcairo-1.12.2 (15 Sep 2012)
+
+ 15 Sep 2012; Hans de Graaff <graaff@gentoo.org> +rcairo-1.12.2.ebuild:
+ Version bump.
15 Sep 2012; Hans de Graaff <graaff@gentoo.org> -rcairo-1.10.2.ebuild:
Cleanup.
diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest
index 2e31507618a9..07d991487f8e 100644
--- a/dev-ruby/rcairo/Manifest
+++ b/dev-ruby/rcairo/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST cairo-1.10.0.gem 85504 SHA256 3a6e648b75f43aa1a0efb4f70c03e576c865c1257847ac509fca2aee8991a404 SHA512 212a7c5334ec553f43e4e9b4fdbe131e46494923e04afbae0cb1088c71f24403d9eb0a4ef97e6fd71255f3cbc4be320a3fc3fb9d898afc2f6f04cc3a6f6156c1 WHIRLPOOL 36dd3f731ccf6852d2ebe25cdeef4773acc13cbd558cb608be43ee08d92bd8357857cde5d6d3817cf5a5c546be73d1a707595e9152e4d796379b39c916aa1c9d
DIST cairo-1.10.2.gem 85504 SHA256 f5e4574155d29f2f31eec9adcc1ed39c70c82b55df4cc6596e7b6cc637f80af2 SHA512 0bcfefacc620f439570d0d88eaf8609109c280af4066f1a2bd2bdaba1dc55340747e23fdec3b58bcb7423229d034f3af95f3fcb3a5ed9be841fa6b3c60f14111 WHIRLPOOL 24397993793c6ea8cef2b6b2089619e63b50d25680bd338aa07032c504defa4f6e7c5250f40a38aae28c3e717344f733cd243c1776d634c0fdba9c4b1346d528
+DIST cairo-1.12.2.gem 92672 SHA256 3d120cd0ab22fa59f15e0b9e2d74654d3096fa21ccffe986d65496d7da744f98 SHA512 6c62b7e1cf3cfff9159fa6a8a93f096dc525b22bfe2e6d062deb637d8cdd7a7695d154be869600d239f088b6d2301b3b2675df560b576aef5807c786c47d33c2 WHIRLPOOL dddc13a4f49051a1aa10cdebc8358a1034fbf079c461de7e06447fda6c4561260d281f792300d94cbb6ab2942801c69e323997fb96e895fb49b427f945ca370b
EBUILD rcairo-1.10.0-r3.ebuild 2159 SHA256 89eca7f8c1c2c943c16deeaf648bb60cad4c85b2db566136b892abc67406b6cc SHA512 5ce092fdcc0d780a25fe02ec6b3b3d28aaf5c9334b7694616cc9ad02d85ab131781f335e857930ecb35690fa7d7d94f0b499ddd4af10787ec57b38acc412ded5 WHIRLPOOL 19ea2133fab812f7db7c0e0d57304e491e79a6ab78782b00690fffc025b91d03f792f0b1a98a605be44b4b8f86e26b1a27fb7c239e59ebec7a70f84594d33da4
EBUILD rcairo-1.10.2-r1.ebuild 1781 SHA256 4987c10ee775bd1839d69a74a4b88478871c553994fb74b95c8d168afa7cd5c4 SHA512 25326e416a2ea040d57c1a25aaeadc4f70981c3a955c28034e1fd5680b907e0b9ccd773f2844ff40f0ca2e9d787b111db6a0ef5c1966ac1aab44f28d656f3378 WHIRLPOOL f80ce3ad11dedb02b2d12e11998a847a9ef1bb264586a2c784d6f19fce1c79c5aa3922522063974ca678c690fa7a1e8a70ab606aa77abf9ba58c950c18010a3b
-MISC ChangeLog 10862 SHA256 3af8b081a360a619bcd1d772a075e9ef5537941505b68ab1482c31276511b834 SHA512 377bc4d51ebb39e2292231f6977e0ba874ad24146d7a6e134364415e7b1253b8186cfe59d5311b8a5ac22cf19a1ec98c8239ed1b42f1cd54587730a6ae9431ec WHIRLPOOL 7c160ff5f0c81a18f9a205124378e127b9350f8d1cd4cb1ef2a02b81925a0f1bde198191d1804d32e1bed060a3bd5c8a6278456f9f80be506c099734e7a2907a
+EBUILD rcairo-1.12.2.ebuild 1782 SHA256 1bc9ff2d9b3d56b24b4a55d39367b4dffbbeab2beb9568fd1d3e94e22e776cec SHA512 2302b11f585e4a0faa4064168a7dc46dc72b4d280549e00b3aa54efc990e5154f63dcef74ff2ac1b6d87348478eac31fa94368ce3a577d987db48186b97bd896 WHIRLPOOL 3d8d0d24e5b0a47c19403432d70e3db7b78d44772fe46b652c521d24b4763815a5e6b115b35e070b4eb52bbf4a573ae9fbf74d2862df29097224674f4460bd5e
+MISC ChangeLog 10982 SHA256 301810b74b7f847ae10ebe2749d0a709a424a0c34fe99df396676782c15a2298 SHA512 a88d00516974523fc75fdd6e9beed899762c33f44e14ae2238490b102c0bfebd2b4407929064bebc971184c01b7e0064c7d6e430e906abb5dcc82e39821d995d WHIRLPOOL aaf9fd57f4ba2d8698f58c5339a649247a996b182a675bf7f6d16bf84043c93ca7ff49e2b1fa86c89e9464f39443116eb9d1b790cc6cbaa8b8e1bcba35e4fd15
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlBURJ0ACgkQiIP6VqMIqNcpcQD8CK3X6+n2xTPpPKYjXwBBmGBS
-FfoGCFpV23MW2mSsfCQA/19PByw0kxoRUs08xwv4lYws8KaQki7iBjkqvbT1Kss3
-=Ge67
+iF0EAREIAAYFAlBURYIACgkQiIP6VqMIqNdnUwD41u6nAfI4RkVUwuLFT0Gaozam
+8KSMEcmxtYcDaa56HwD+IASIT3FjZluJjZjx/k+gNc3k8Cq7sygZ4s3v/qGOtQM=
+=2fhg
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcairo/rcairo-1.12.2.ebuild b/dev-ruby/rcairo/rcairo-1.12.2.ebuild
new file mode 100644
index 000000000000..d7b511bc76b7
--- /dev/null
+++ b/dev-ruby/rcairo/rcairo-1.12.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.12.2.ebuild,v 1.1 2012/09/15 09:08:13 graaff Exp $
+
+EAPI=4
+
+# 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."
+}