source: trunk/dports/ruby/rb-gstreamer/Portfile @ 89573

Last change on this file since 89573 was 89573, checked in by kimuraw@…, 8 years ago

ruby/rb-gnome: upgrade to 1.1.2.

ruby-gnome2 modules -

rb-glib2, rb-pango, rb-atk, rb-gtk2, rb-rsvg, rb-poppler,
rb-gtksourceview2, rb-gstreamer and rb-vte.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[54785]1# $Id: Portfile 89573 2012-02-03 14:47:01Z kimuraw@macports.org $
2
3PortSystem              1.0
[74726]4PortGroup               muniversal 1.0
[54785]5PortGroup               ruby 1.0
6
[89573]7ruby.setup              {gstreamer ruby-gnome2} 1.1.2 extconf.rb \
[54785]8                                { gstreamer/README gstreamer/sample } \
9                                sourceforge:ruby-gnome2
[80803]10revision                0
[54785]11maintainers             kimuraw
12platforms               darwin
13description             Ruby/GStreamer is a Ruby binding for GStreamer.
14long_description        Ruby/GStreamer is a Ruby binding for GStreamer.
15categories-append       gnome
[85650]16license                 LGPL-2
[89573]17checksums               md5 b9540a8bf90bd553a134dd6535455559 \
18                                rmd160 4b2b31b6f21b321382d3c49d73b1950597404689 \
19                                sha1 5d23d524e4c9ba82482b153b05cc61575662d90c
[54785]20# generate glib-enum-types.h at glib/src (for test)
21pre-configure   {
[71957]22        system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2"
[54785]23}
24configure.env   RUBYOPT=-rvendor-specific
25configure.args  --strict gstreamer
[74726]26depends_lib-append      port:gstreamer port:gst-plugins-base port:rb-pkg-config \
27                                        port:rb-glib2
[54785]28distname                ${ruby.project}-all-${version}
29
[74726]30# run extconf.rb with each arch `ruby'
31use_parallel_build      no
32post-configure {
33        if {[variant_isset universal]} {
34                foreach arch ${universal_archs} {
35                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/glib2/ext/glib2 extconf.rb --vendor"
36                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gstreamer extconf.rb --vendor"
37                }
38        }
39}
40
[54785]41#test.run               yes
42test.cmd                ${ruby.bin}
43test.target             -C gstreamer test/run-test.rb
44
Note: See TracBrowser for help on using the repository browser.