summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-19 19:23:05 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-19 19:23:05 +0000
commit3ef59fad3e01562ae12988e3da099a88fc55d3cb (patch)
treee1441990b32b60eb39dadb8a35bf91763717d268 /dev-ruby
parentAdded 2.6.5-rc1 to unstable x86. (Manifest recommit) (diff)
downloadgentoo-2-3ef59fad3e01562ae12988e3da099a88fc55d3cb.tar.gz
gentoo-2-3ef59fad3e01562ae12988e3da099a88fc55d3cb.tar.bz2
gentoo-2-3ef59fad3e01562ae12988e3da099a88fc55d3cb.zip
Version bumped and added ruby.eclass support. Updated HOMEPAGE and SRC_URI. Fixed missing category in DEPEND list, see bug #45110
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rudl/ChangeLog12
-rw-r--r--dev-ruby/rudl/Manifest4
-rw-r--r--dev-ruby/rudl/files/digest-rudl-0.7.11
-rw-r--r--dev-ruby/rudl/files/rudl-0.7.1-gentoo.diff11
-rw-r--r--dev-ruby/rudl/files/rudl-extconf-gentoo.diff16
-rw-r--r--dev-ruby/rudl/rudl-0.7.1.ebuild39
-rw-r--r--dev-ruby/rudl/rudl-0.7.ebuild32
7 files changed, 100 insertions, 15 deletions
diff --git a/dev-ruby/rudl/ChangeLog b/dev-ruby/rudl/ChangeLog
index 02774e0e285c..5a14170f90e2 100644
--- a/dev-ruby/rudl/ChangeLog
+++ b/dev-ruby/rudl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/rudl
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/ChangeLog,v 1.3 2003/10/23 13:59:09 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/ChangeLog,v 1.4 2004/03/19 19:23:05 usata Exp $
+
+*rudl-0.7.1 (20 Mar 2004)
+
+ 20 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> rudl-0.7.1.ebuild,
+ rudl-0.7.ebuild, files/rudl-0.7.1-gentoo.diff,
+ files/rudl-extconf-gentoo.diff:
+ Version bumped and added ruby.eclass support. Updated HOMEPAGE and
+ SRC_URI. Fixed missing category in DEPEND list, see bug #45110.
*rudl-0.7 (11 Nov 2002)
diff --git a/dev-ruby/rudl/Manifest b/dev-ruby/rudl/Manifest
index ea3af161e5fd..f4985e6743b9 100644
--- a/dev-ruby/rudl/Manifest
+++ b/dev-ruby/rudl/Manifest
@@ -1,4 +1,6 @@
-MD5 3f23e4ca5dfdb9ffef9e56a766c66e2a ChangeLog 398
MD5 3e8877cb2a847fdb5803992efdcac8f9 rudl-0.7.ebuild 857
+MD5 3f23e4ca5dfdb9ffef9e56a766c66e2a ChangeLog 398
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
+MD5 052a551ff068d6be19acd46dbfa8943f rudl-0.7.1.ebuild 847
MD5 e9a1e3e69c63bf9520414776f1cec3bd files/digest-rudl-0.7 64
+MD5 d67336394d894678af74a5fbc6cc08da files/digest-rudl-0.7.1 69
diff --git a/dev-ruby/rudl/files/digest-rudl-0.7.1 b/dev-ruby/rudl/files/digest-rudl-0.7.1
new file mode 100644
index 000000000000..b935cebbab71
--- /dev/null
+++ b/dev-ruby/rudl/files/digest-rudl-0.7.1
@@ -0,0 +1 @@
+MD5 372c44f2e0ec42ee7ec3f717924b02a2 rudl-0.7.1-source.tar.gz 765882
diff --git a/dev-ruby/rudl/files/rudl-0.7.1-gentoo.diff b/dev-ruby/rudl/files/rudl-0.7.1-gentoo.diff
new file mode 100644
index 000000000000..7b4c6c175432
--- /dev/null
+++ b/dev-ruby/rudl/files/rudl-0.7.1-gentoo.diff
@@ -0,0 +1,11 @@
+--- rudl_video_surface.c.orig 2003-10-19 20:26:13.000000000 +0900
++++ rudl_video_surface.c 2004-03-20 04:14:43.786542232 +0900
+@@ -58,7 +58,7 @@
+ return surface;
+ }
+
+-__inline__ void setMasksFromBPP(Uint32 bpp, boolean alphaWanted, Uint32* Rmask, Uint32* Gmask, Uint32* Bmask, Uint32* Amask)
++__inline__ void setMasksFromBPP(Uint32 bpp, bool alphaWanted, Uint32* Rmask, Uint32* Gmask, Uint32* Bmask, Uint32* Amask)
+ {
+ *Amask = 0;
+ if(alphaWanted && (bpp==32||bpp==16)){
diff --git a/dev-ruby/rudl/files/rudl-extconf-gentoo.diff b/dev-ruby/rudl/files/rudl-extconf-gentoo.diff
new file mode 100644
index 000000000000..6abaef4bfbe2
--- /dev/null
+++ b/dev-ruby/rudl/files/rudl-extconf-gentoo.diff
@@ -0,0 +1,16 @@
+--- extconf.rb.orig 2003-09-27 07:59:45.000000000 +0900
++++ extconf.rb 2004-03-20 03:58:22.090782672 +0900
+@@ -52,10 +52,10 @@
+ windows=mswin32||cygwin
+ unix=!windows
+
+-$CFLAGS+="-funroll-loops " if !mswin32
++$CFLAGS+=" -funroll-loops " if !mswin32
+
+-$CFLAGS+="-Wall " if unix||cygwin
+-$CPPFLAGS+="-GX " if mswin32
++$CFLAGS+=" -Wall " if unix||cygwin
++$CPPFLAGS+=" -GX " if mswin32
+
+ if unix
+ $CFLAGS += `#{sdl_config} --cflags`.chomp
diff --git a/dev-ruby/rudl/rudl-0.7.1.ebuild b/dev-ruby/rudl/rudl-0.7.1.ebuild
new file mode 100644
index 000000000000..4e8d6e813f8f
--- /dev/null
+++ b/dev-ruby/rudl/rudl-0.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/rudl-0.7.1.ebuild,v 1.1 2004/03/19 19:23:05 usata Exp $
+
+inherit ruby
+
+DESCRIPTION="Rubyesque Directmedia Layer - Ruby/SDL bindings"
+HOMEPAGE="http://rudl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rudl/${P}-source.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+USE_RUBY="ruby16 ruby18 ruby19"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=media-libs/libsdl-1.2.4.20020601
+ >=media-libs/sdl-gfx-2.0.3
+ >=media-libs/sdl-image-1.2.2
+ >=media-libs/sdl-mixer-1.2.4
+ >=media-libs/sdl-ttf-2.0.5
+ >=dev-lang/ruby-1.6.7"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PN}-extconf-gentoo.diff
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+ ruby extconf.rb
+ emake || die
+}
+
+#src_install() {
+# # AFAIK this package's makefile does not make use of DESTDIR
+# # and it contains neither man nor info pages.
+# # make DESTDIR=${D} install || die
+# make prefix=${D}/usr install || die
+#}
diff --git a/dev-ruby/rudl/rudl-0.7.ebuild b/dev-ruby/rudl/rudl-0.7.ebuild
index 93cee7045b09..1bd690263d49 100644
--- a/dev-ruby/rudl/rudl-0.7.ebuild
+++ b/dev-ruby/rudl/rudl-0.7.ebuild
@@ -1,24 +1,32 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/rudl-0.7.ebuild,v 1.3 2003/07/12 13:03:10 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/rudl-0.7.ebuild,v 1.4 2004/03/19 19:23:05 usata Exp $
+
+inherit ruby
DESCRIPTION="Rubyesque Directmedia Layer - Ruby/SDL bindings"
-HOMEPAGE="http://froukepc.dhs.org/rudl/"
-SRC_URI="http://froukepc.dhs.org/rudl/download/source/${P}-source.tgz"
+HOMEPAGE="http://rudl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rudl/${P}-source.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
+USE_RUBY="ruby16 ruby18 ruby19"
IUSE=""
-DEPEND=">=libsdl-1.2.4.20020601
- >=sdl-gfx-2.0.3
- >=sdl-image-1.2.2
- >=sdl-mixer-1.2.4
- >=sdl-ttf-2.0.5
- >=ruby-1.6.7"
-S="${WORKDIR}/rudl"
+DEPEND=">=media-libs/libsdl-1.2.4.20020601
+ >=media-libs/sdl-gfx-2.0.3
+ >=media-libs/sdl-image-1.2.2
+ >=media-libs/sdl-mixer-1.2.4
+ >=media-libs/sdl-ttf-2.0.5
+ >=dev-lang/ruby-1.6.7"
+S="${WORKDIR}/${PN}"
-src_compile() {
+src_unpack() {
+ unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/${PN}-extconf-gentoo.diff
+}
+
+src_compile() {
ruby extconf.rb
emake || die
#make || die