1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 133796 2015-03-11 17:49:50Z larryv@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup conflicts_build 1.0 |
---|
6 | |
---|
7 | # https://bugzilla.gnome.org/show_bug.cgi?id=636134 |
---|
8 | PortGroup muniversal 1.0 |
---|
9 | PortGroup gobject_introspection 1.0 |
---|
10 | |
---|
11 | name gstreamer010 |
---|
12 | set my_name gstreamer |
---|
13 | version 0.10.36 |
---|
14 | revision 1 |
---|
15 | description GStreamer is a library for constructing graphs of media-handling components. |
---|
16 | long_description The applications it supports range from simple Ogg/Vorbis playback, audio/video \ |
---|
17 | streaming to complex audio (mixing) and video (non-linear editing) processing. |
---|
18 | maintainers nomaintainer |
---|
19 | categories gnome |
---|
20 | platforms darwin |
---|
21 | license LGPL-2+ |
---|
22 | homepage http://${my_name}.freedesktop.org/ |
---|
23 | distname ${my_name}-${version} |
---|
24 | |
---|
25 | master_sites gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/ \ |
---|
26 | http://${my_name}.freedesktop.org/src/${my_name}/ |
---|
27 | |
---|
28 | use_bzip2 yes |
---|
29 | |
---|
30 | checksums rmd160 5dd01d8ea7afe98e96037bf73f995654f469096e \ |
---|
31 | sha256 e556a529e0a8cf1cd0afd0cab2af5488c9524e7c3f409de29b5d82bb41ae7a30 |
---|
32 | |
---|
33 | patchfiles patch-gst__gstdatetime.c \ |
---|
34 | bison3.patch |
---|
35 | |
---|
36 | depends_build port:gzip \ |
---|
37 | port:m4 \ |
---|
38 | path:bin/perl:perl5 \ |
---|
39 | port:pkgconfig |
---|
40 | |
---|
41 | depends_lib port:bison \ |
---|
42 | port:flex \ |
---|
43 | port:gettext \ |
---|
44 | path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
45 | port:libxml2 |
---|
46 | |
---|
47 | gobject_introspection yes |
---|
48 | |
---|
49 | conflicts_build check |
---|
50 | |
---|
51 | configure.env-append PERL_PATH=${prefix}/bin/perl |
---|
52 | configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common |
---|
53 | |
---|
54 | if {[variant_isset universal]} { |
---|
55 | set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} |
---|
56 | set merger_host(i386) i686-apple-${os.platform}${os.major} |
---|
57 | set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} |
---|
58 | set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} |
---|
59 | } else { |
---|
60 | if {${build_arch} eq "i386"} { |
---|
61 | configure.args-append \ |
---|
62 | --host=i686-apple-${os.platform}${os.major} \ |
---|
63 | --build=i686-apple-${os.platform}${os.major} |
---|
64 | } elseif {${build_arch} eq "x86_64"} { |
---|
65 | configure.args-append \ |
---|
66 | --host=${build_arch}-apple-${os.platform}${os.major} \ |
---|
67 | --build=${build_arch}-apple-${os.platform}${os.major} |
---|
68 | } |
---|
69 | } |
---|
70 | |
---|
71 | livecheck.type none |
---|