diff options
author | obache <obache@pkgsrc.org> | 2008-12-16 12:22:38 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-12-16 12:22:38 +0000 |
commit | 12ce300332ce880bc91f7df65b7795f6bc293cab (patch) | |
tree | 266fbec70d25c633156617bc45404a681963a4ed /graphics | |
parent | 7d20347cc0c408cb1c8ad58ad05282e3306559c9 (diff) | |
download | pkgsrc-12ce300332ce880bc91f7df65b7795f6bc293cab.tar.gz |
Import ruby-clutter-0.8.0 as graphics/ruby-clutter.
This is a set of bindings for the Clutter libraries for use from Ruby.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-clutter/DESCR | 1 | ||||
-rw-r--r-- | graphics/ruby-clutter/Makefile | 16 | ||||
-rw-r--r-- | graphics/ruby-clutter/Makefile.common | 28 | ||||
-rw-r--r-- | graphics/ruby-clutter/distinfo | 6 | ||||
-rw-r--r-- | graphics/ruby-clutter/patches/patch-aa | 18 |
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/ruby-clutter/DESCR b/graphics/ruby-clutter/DESCR new file mode 100644 index 00000000000..b463d8e4e95 --- /dev/null +++ b/graphics/ruby-clutter/DESCR @@ -0,0 +1 @@ +This is a set of bindings for the Clutter libraries for use from Ruby. diff --git a/graphics/ruby-clutter/Makefile b/graphics/ruby-clutter/Makefile new file mode 100644 index 00000000000..4d6bfdf67b5 --- /dev/null +++ b/graphics/ruby-clutter/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/16 12:22:38 obache Exp $ +# + +PKGNAME= ${RUBY_PKGPREFIX}-clutter-${VERSION} +COMMENT= Ruby binding for Clutter libraries +CATEGORIES= meta-pkgs + +META_PACKAGE= yes + +DEPENDS+= ${RUBY_PKGPREFIX}-clutter-core>=${VERSION}:../../graphics/ruby-clutter-core +DEPENDS+= ${RUBY_PKGPREFIX}-clutter-cairo>=${VERSION}:../../graphics/ruby-clutter-cairo +DEPENDS+= ${RUBY_PKGPREFIX}-clutter-gtk>=${VERSION}:../../graphics/ruby-clutter-gtk +DEPENDS+= ${RUBY_PKGPREFIX}-clutter-cairo>=${VERSION}:../../graphics/ruby-clutter-cairo +DEPENDS+= ${RUBY_PKGPREFIX}-clutter-gst>=${VERSION}:../../multimedia/ruby-clutter-gst + +.include "Makefile.common" diff --git a/graphics/ruby-clutter/Makefile.common b/graphics/ruby-clutter/Makefile.common new file mode 100644 index 00000000000..0296fe5130a --- /dev/null +++ b/graphics/ruby-clutter/Makefile.common @@ -0,0 +1,28 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2008/12/16 12:22:38 obache Exp $ +# +# used by graphics/ruby-clutter-cairo/Makefile +# used by graphics/ruby-clutter-core/Makefile +# used by graphics/ruby-clutter-gtk/Makefile +# used by multimedia/ruby-clutter-gst/Makefile + +DISTNAME= rbclutter-0.8.0 +CATEGORIES+= ruby +MASTER_SITES= http://rubyforge.org/frs/download.php/40834/ + +DISTINFO_FILE= ${.CURDIR}/../../graphics/ruby-clutter/distinfo +PATCHDIR= ${.CURDIR}/../../graphics/ruby-clutter/patches + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://rbclutter.rubyforge.org/ + +VERSION= 0.8.0 + +.if defined(NO_BUILD) && empty(NO_BUILD:M[Nn][Oo]) +.include "../../lang/ruby/rubyversion.mk" +.else +RUBY_HAS_ARCHLIB= yes +USE_RUBY_EXTCONF= yes +.include "../../lang/ruby/modules.mk" +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ruby-clutter/distinfo b/graphics/ruby-clutter/distinfo new file mode 100644 index 00000000000..73936aeaef6 --- /dev/null +++ b/graphics/ruby-clutter/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/12/16 12:22:38 obache Exp $ + +SHA1 (rbclutter-0.8.0.tar.gz) = 79de176bd8e58e2004a426701772fd7218c3a8ee +RMD160 (rbclutter-0.8.0.tar.gz) = 83e1d158e55d139c199f443a180df57c966510ab +Size (rbclutter-0.8.0.tar.gz) = 219540 bytes +SHA1 (patch-aa) = dca66284911305b023059308eb48c624dde73eab diff --git a/graphics/ruby-clutter/patches/patch-aa b/graphics/ruby-clutter/patches/patch-aa new file mode 100644 index 00000000000..4b847128312 --- /dev/null +++ b/graphics/ruby-clutter/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/12/16 12:22:38 obache Exp $ + +Fixes detection of gems rcairo. + +--- clutter-cairo/extconf.rb.orig 2008-08-05 14:32:00.000000000 +0000 ++++ clutter-cairo/extconf.rb +@@ -24,9 +24,9 @@ TOPDIR = File.expand_path(File.dirname(_ + PKGConfig.have_package('glib-2.0') or show_fail + PKGConfig.have_package('clutter-0.8') or show_fail + PKGConfig.have_package('clutter-cairo-0.8') or show_fail +-PKGConfig.have_package('cairo') or show_fail + +-find_header("rb_cairo.h", *$:) or show_fail ++check_cairo or show_fail ++ + find_header("rbgobject.h", *$:) or show_fail + + add_depend_package("clutter", "clutter", TOPDIR) |