dev-ruby/rcairo: drop 1.17.14

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-08-10 12:38:39 +02:00
parent c6fcc6943f
commit 1d87ec2b44
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 0 additions and 75 deletions

View File

@ -1,2 +1 @@
DIST cairo-1.17.14.gem 199680 BLAKE2B 87659c65512875c232b6a28570853fc7388dbfc86929cc41dee1aa11357cc47244d2b63851fdff59ae3200514cc76bd2d9816d1b8f2ab1ec4ced148063313c7e SHA512 66a41f108af4d1ea7189bbdcb8e60c3029f042e1be6db7e40739e0f320b1a3cee19e5e76c5bcf4336c24464d9ef54d8c95c7149f923737824d88b320163746a7
DIST cairo-1.18.4.gem 199680 BLAKE2B 4f20a22a4b41fad0e5bf7611d590d8a8b68172b494dc8d0ad355b494d713474258a2712aab0c972e0add973303e15fb66819fbb02c5dae890a4f650140afd1e6 SHA512 665a791f54567bb81e8533e56964640c14dce195da8b5cca968930dcaef9a28b705c5a04901a796f0cc645e1168fd127da95f0d1f6dbe5a71ef27d8f4624adb7

View File

@ -1,74 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_NAME="cairo"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
RUBY_FAKEGEM_EXTENSIONS=(ext/cairo/extconf.rb)
inherit ruby-fakegem
DESCRIPTION="Ruby bindings for cairo"
HOMEPAGE="https://cairographics.org/rcairo/"
LICENSE="|| ( Ruby-BSD GPL-2 )"
SLOT="0"
KEYWORDS="amd64 ~ppc ~riscv ~x86"
IUSE="test"
RDEPEND=">=x11-libs/cairo-1.2.0[svg(+)]"
DEPEND=">=x11-libs/cairo-1.2.0[svg(+)]"
ruby_add_rdepend "dev-ruby/red-colors"
ruby_add_bdepend "
>=dev-ruby/pkg-config-1.2.2
dev-ruby/ruby-glib2
test? ( >=dev-ruby/test-unit-2.1.0-r1:2 dev-ruby/ruby-poppler )"
all_ruby_prepare() {
# Avoid unneeded dependency
sed -e '/native-package-installer/ s:^:#:' \
-e '/def required_pkg_config_package/areturn true' \
-e '/checking_for/,/^end/ s:^:#:' \
-i ext/cairo/extconf.rb || die
sed -i -e '/native-package-installer/,/Gem::Dependency/ d' ../metadata || die
# Avoid test that requires unpackaged fixture
sed -i -e '/sub_test_case..FreeTypeFontFace/,/^ end/ s:^:#:' test/test_font_face.rb || die
# Bug 790131
sed -i -e '/^install-headers:/s!$! $(TIMESTAMP_DIR)/.sitearchdir.time!' \
ext/cairo/depend || 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/helper \
-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
}
all_ruby_install() {
all_fakegem_install
dodoc -r samples
}