From 222d677d2815f6ead312b55090b5a33dc9da5536 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 11 Jul 2010 08:40:25 +0000 Subject: Version bump. Convert to ruby-ng. Package-Manager: portage-2.1.8.3/cvs/Linux x86_64 --- dev-ruby/ruby-sdl/ChangeLog | 7 +++- dev-ruby/ruby-sdl/Manifest | 10 +++-- dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild | 69 +++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 5 deletions(-) create mode 100644 dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild (limited to 'dev-ruby/ruby-sdl') diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog index 7ce0e71fec1b..554f4f3d60c7 100644 --- a/dev-ruby/ruby-sdl/ChangeLog +++ b/dev-ruby/ruby-sdl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ruby-sdl # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.28 2010/07/11 08:32:07 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.29 2010/07/11 08:40:25 graaff Exp $ + +*ruby-sdl-2.1.1.1 (11 Jul 2010) + + 11 Jul 2010; Hans de Graaff +ruby-sdl-2.1.1.1.ebuild: + Version bump. Convert to ruby-ng. 11 Jul 2010; Hans de Graaff -ruby-sdl-1.2.0.ebuild: Remove old version. diff --git a/dev-ruby/ruby-sdl/Manifest b/dev-ruby/ruby-sdl/Manifest index da12038da2f9..f26e2460515b 100644 --- a/dev-ruby/ruby-sdl/Manifest +++ b/dev-ruby/ruby-sdl/Manifest @@ -3,13 +3,15 @@ Hash: SHA256 AUX ruby-sdl-1.1.0-sdl-mixer.patch 284 RMD160 bc4422589a1ea672a6faa693b7388eb216dfb4ee SHA1 31cf65e2dec4f465d920dcc16c7074f8f827cd83 SHA256 d5e320617888e2fbdb8683be04631c8c3a1cddab79cc0991979c072ce811c04a DIST rubysdl-2.0.1b.tar.gz 420188 RMD160 dc03443782c90e78a063233a4cb4f174b189da66 SHA1 05eda50db56941f17a6714e969eaf82b95228a06 SHA256 8ee91675c8afb7270f6a268d9f4a4c445eedbcf84cbd3f3c7d2f02f56137c007 +DIST rubysdl-2.1.1.1.tar.gz 392850 RMD160 aa8ad842f5778a6674b09f046ab84ce89bbc6471 SHA1 50ac9eabaa3248461b8baf3894b911bd88c618d9 SHA256 93885c42bbbeb5e814f6fe0d18ca3471b3e654a65928c612f6abd6d164fccc00 EBUILD ruby-sdl-2.0.1b.ebuild 1890 RMD160 318c63032f7f69bf0f9215b78b7ab99cc7754055 SHA1 429d19028b228b0e7315963d8d47121c578d25fe SHA256 62a15cdee3e42937ad94064c909b9b2e2cca19afa5baf78ecf1d33945a133f75 -MISC ChangeLog 3581 RMD160 e4d867cc3ba3cc025fa17ba09000b6db8a261092 SHA1 08d5dea74b5f23e1cf04ed4e3f37422c04f13edd SHA256 b351d43810360c7c2c706baec35825e04fd862117590bfe642360edc2f512d3f +EBUILD ruby-sdl-2.1.1.1.ebuild 2010 RMD160 35a1c5f7355514c5d8cab731065df95190611d4c SHA1 3baf3a8502c71a0054aedb6e948922a2be90d976 SHA256 8358af08323c6cee87054765819e17b93e77f28ad0162b78b7cdbeb76d64a8a4 +MISC ChangeLog 3727 RMD160 4897867880562ef0b5b7361644075e43c84753e2 SHA1 3c9aa2f26161387b95dc98280c23d4aec31a71e2 SHA256 c0f6eabff9477ff63a74457a32c23465ecee3fc772e33d195666b69453b80739 MISC metadata.xml 381 RMD160 84121e456a7b20203d70979408e18c9fb6a7792e SHA1 8d4f02b2a7e01e2d419fa564678247936e768406 SHA256 0788b473577d08e11c117cc02290027628f93aee0c429b37c1f08ea02470f1ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iF4EAREIAAYFAkw5gY0ACgkQZihJkut28Stv+QD9GWqg8sC09/22poLGcV5rtC3s -8Dewvqo/T74SvEb0KKEA/RvABDfg3N2S8EUtNYC7/4ZfRPX/JMZazmgntq9GHTuk -=cdEr +iF4EAREIAAYFAkw5g38ACgkQZihJkut28Sux+AD/QGeJqRac0pecAWU+xr21EFTX +wQsekRxwUNTrCTtXbxMBAM3XTRI3N0B/Bbdwe7KA/TpVKEnGf5XRKoggl2xQcXJK +=Gj8o -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild new file mode 100644 index 000000000000..dbf783e40e64 --- /dev/null +++ b/dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-2.1.1.1.ebuild,v 1.1 2010/07/11 08:40:25 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +inherit eutils ruby-ng + +MY_P="${P/-/}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Ruby/SDL: Ruby bindings for SDL" +HOMEPAGE="http://www.kmc.gr.jp/~ohai/rubysdl.en.html" +SRC_URI="mirror://rubyforge/rubysdl/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" + +IUSE="image mixer truetype mpeg sge" + +CDEPEND=" + >=media-libs/libsdl-1.2.5 + truetype? ( >=media-libs/sdl-ttf-2.0.6 ) + image? ( >=media-libs/sdl-image-1.2.2 ) + mixer? ( >=media-libs/sdl-mixer-1.2.4 ) + mpeg? ( >=media-libs/smpeg-0.4.4-r1 ) + sge? ( media-libs/sge )" +DEPEND="${DEPEND} ${CDEPEND}" +RDEPEND="${RDEPEND} ${CDEPEND}" + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake || die "emake failed" +} + +each_ruby_install() { + emake DESTDIR="${D}" install || die "einstall failed" +} + +all_ruby_install() { + dodoc README.en README.ja NEWS.en NEWS.ja + insinto /usr/share/doc/${P}/doc + doins doc-en/* + insinto /usr/share/doc/${P}/sample + doins sample/* +} + +pkg_postinst () { + if ! use image || ! use mixer || ! use truetype || ! use mpeg || ! use sge; then + echo "" + ewarn "If any of the following packages are not installed, Ruby/SDL" + ewarn "will be missing some functionality. This is ok, but may" + ewarn "cause errors in Ruby/SDL programs that need these libraries:" + ewarn "" + ewarn "\tmedia-libs/sdl-image\tImage loading (PNG, JPEG, etc.)" + ewarn "\tmedia-libs/sdl-mixer\tSound mixing" + ewarn "\tmedia-libs/sdl-ttf\tTrueType Fonts" + ewarn "\tmedia-libs/sge\t\tVarious cool graphics extensions" + ewarn "\tmedia-libs/smpeg\tMPEG playback (including mp3)" + ewarn "" + ewarn "If you need the functionality offered by these libraries," + ewarn "emerge the desired libraries, then re-emerge dev-ruby/rubysdl" + echo "" + fi +} -- cgit v1.2.3-65-gdbad