Ticket #37077: gstreamer.diff
File gstreamer.diff, 3.0 KB (added by thijsvermeir@…, 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 # https://bugzilla.gnome.org/show_bug.cgi?id=636134 7 PortGroup muniversal 1.07 PortGroup muniversal 1.0 8 8 9 9 name gstreamer 10 version 0.10.36 11 revision 2 12 description \ 10 version 1.0.5 11 description \ 13 12 GStreamer is a library for constructing graphs of media-handling components. 14 13 long_description \ 15 14 The applications it supports range from simple Ogg/Vorbis playback, audio/video \ 16 15 streaming to complex audio (mixing) and video (non-linear editing) processing. 17 maintainers 18 categories 19 platforms 20 license LGPL-2+21 homepage 16 maintainers rmstonecipher openmaintainer 17 categories gnome 18 platforms darwin 19 license LGPL-2+ 20 homepage http://gstreamer.freedesktop.org/ 22 21 23 22 master_sites \ 24 23 gnome:sources/gstreamer/[join [lrange [split ${version} .] 0 1] .]/ \ 25 24 http://gstreamer.freedesktop.org/src/${name}/ 26 25 27 checksums md5 a0cf7d6877f694a1a2ad2b4d1ecb890b \ 28 sha1 ff95b5316b920e7c2836588bba18fa61395fbd03 \ 29 rmd160 5dd01d8ea7afe98e96037bf73f995654f469096e 26 checksums md5 644d535708056b4e8632cbe599768ad7 \ 27 sha1 195fea857b103701495570a361128634ce6c02b4 \ 28 rmd160 0ce2ec009828cfd53be17bfa687f9751b6b25844 \ 29 sha256 26c2827567f09a46d0a3bc1e7f8696b2ae72b047306539178079abae487c5b77 30 30 31 31 depends_build \ 32 32 port:gzip \ 33 33 port:m4 \ 34 34 path:bin/perl:perl5 \ 35 port:pkgconfig 35 port:pkgconfig \ 36 port:gobject-introspection 36 37 depends_lib \ 37 38 port:bison \ 38 39 port:flex \ … … 40 41 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 41 42 port:libxml2 42 43 43 use_ bzip2yes44 use_xz yes 44 45 45 configure.env-append PERL_PATH=${prefix}/bin/perl46 configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common47 configure.args-append --disable-introspection 46 configure.env-append PERL_PATH=${prefix}/bin/perl 47 configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common 48 build.env-append CC=${configure.cc} 48 49 49 if {[variant_isset universal]} { 50 if {[variant_isset universal]} { 50 51 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 51 52 set merger_host(i386) i686-apple-${os.platform}${os.major} 52 53 set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} … … 61 62 --build=${build_arch}-apple-${os.platform}${os.major} 62 63 } 63 64 64 pre-build 65 pre-build { 65 66 if {[file exists ${prefix}/lib/libcheck.dylib]} { 66 67 ui_msg "Gstreamer will fail to build because the 'check' port is active. Deactivate" 67 68 ui_msg "'check' by running 'port deactivate check' and try again. You may reactivate"