Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-sdl/
Date: Fri, 16 Jul 2021 08:52:33
Message-Id: 1626425544.90e5b2b2347e7de8630787c36a6aa0cf172e57b5.graaff@gentoo
1 commit: 90e5b2b2347e7de8630787c36a6aa0cf172e57b5
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 08:04:30 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 08:52:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e5b2b2
7
8 dev-ruby/ruby-sdl: cleanup
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild | 68 ------------------------------
14 1 file changed, 68 deletions(-)
15
16 diff --git a/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild
17 deleted file mode 100644
18 index cb9e8e2db86..00000000000
19 --- a/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild
20 +++ /dev/null
21 @@ -1,68 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
27 -
28 -inherit ruby-ng
29 -
30 -RELEASE="rel-${PV//./-}"
31 -RUBY_S="rubysdl-${RELEASE}"
32 -
33 -DESCRIPTION="Ruby/SDL: Ruby bindings for SDL"
34 -HOMEPAGE="https://www.kmc.gr.jp/~ohai/rubysdl.en.html"
35 -SRC_URI="https://github.com/ohai/rubysdl/archive/${RELEASE}.tar.gz -> ${P}.tar.gz"
36 -LICENSE="LGPL-2.1"
37 -SLOT="0"
38 -KEYWORDS="amd64 ~ppc x86"
39 -
40 -IUSE="image mixer truetype mpeg sge"
41 -
42 -CDEPEND="
43 - >=media-libs/libsdl-1.2.5
44 - truetype? ( >=media-libs/sdl-ttf-2.0.6 )
45 - image? ( >=media-libs/sdl-image-1.2.2 )
46 - mixer? ( >=media-libs/sdl-mixer-1.2.4 )
47 - mpeg? ( >=media-libs/smpeg-0.4.4-r1 )
48 - sge? ( media-libs/sge )"
49 -DEPEND="${DEPEND} ${CDEPEND}"
50 -RDEPEND="${RDEPEND} ${CDEPEND}"
51 -
52 -each_ruby_configure() {
53 - ${RUBY} extconf.rb || die "extconf.rb failed"
54 -}
55 -
56 -each_ruby_compile() {
57 - emake V=1
58 -}
59 -
60 -each_ruby_install() {
61 - emake V=1 DESTDIR="${D}" install
62 -}
63 -
64 -all_ruby_install() {
65 - dodoc README.en README.ja NEWS.en NEWS.ja
66 - insinto /usr/share/doc/${P}/doc
67 - doins doc-en/*
68 - insinto /usr/share/doc/${P}/sample
69 - doins sample/*
70 -}
71 -
72 -pkg_postinst() {
73 - if ! use image || ! use mixer || ! use truetype || ! use mpeg || ! use sge; then
74 - echo ""
75 - ewarn "If any of the following packages are not installed, Ruby/SDL"
76 - ewarn "will be missing some functionality. This is ok, but may"
77 - ewarn "cause errors in Ruby/SDL programs that need these libraries:"
78 - ewarn ""
79 - ewarn "\tmedia-libs/sdl-image\tImage loading (PNG, JPEG, etc.)"
80 - ewarn "\tmedia-libs/sdl-mixer\tSound mixing"
81 - ewarn "\tmedia-libs/sdl-ttf\tTrueType Fonts"
82 - ewarn "\tmedia-libs/sge\t\tVarious cool graphics extensions"
83 - ewarn "\tmedia-libs/smpeg\tMPEG playback (including mp3)"
84 - ewarn ""
85 - ewarn "If you need the functionality offered by these libraries,"
86 - ewarn "emerge the desired libraries, then re-emerge dev-ruby/rubysdl"
87 - echo ""
88 - fi
89 -}