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 96850 2012-08-20 03:44:10Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | # https://bugzilla.gnome.org/show_bug.cgi?id=636134 |
---|
7 | PortGroup muniversal 1.0 |
---|
8 | |
---|
9 | name gst-plugins-ugly |
---|
10 | version 1.0.3 |
---|
11 | revision 1 |
---|
12 | description \ |
---|
13 | A set of good-quality plug-ins for GStreamer that might pose distribution \ |
---|
14 | problems. |
---|
15 | long_description \ |
---|
16 | GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and \ |
---|
17 | correct functionality, but distributing them might pose problems. The \ |
---|
18 | license on either the plug-ins or the supporting libraries might not be how \ |
---|
19 | we'd like. The code might be widely known to present patent problems. |
---|
20 | maintainers rmstonecipher openmaintainer |
---|
21 | categories gnome |
---|
22 | platforms darwin |
---|
23 | homepage http://gstreamer.freedesktop.org/modules/${name}.html |
---|
24 | master_sites http://gstreamer.freedesktop.org/src/${name}/ |
---|
25 | license GPL-2+ LGPL-2+ |
---|
26 | |
---|
27 | checksums rmd160 a550c1727d0c370546e96efd7ca7161eed7d9539 \ |
---|
28 | sha256 b8f4cfef12201f19c53a4cde7bc4fef995740c566ea45921d4473f3714e4d8c0 |
---|
29 | |
---|
30 | depends_build port:pkgconfig |
---|
31 | depends_lib port:gst-plugins-base \ |
---|
32 | port:a52dec \ |
---|
33 | port:lame \ |
---|
34 | port:libcdio \ |
---|
35 | port:libdvdread \ |
---|
36 | port:libid3tag \ |
---|
37 | port:libmad \ |
---|
38 | port:libmpeg2 \ |
---|
39 | port:twolame \ |
---|
40 | port:x264 |
---|
41 | |
---|
42 | use_xz yes |
---|
43 | |
---|
44 | configure.args mandir=${prefix}/share/man --enable-static |
---|
45 | configure.cppflags-append "-L${prefix}/lib" |
---|
46 | configure.cflags-append -funroll-loops -fstrict-aliasing |
---|
47 | |
---|
48 | post-extract { |
---|
49 | reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \ |
---|
50 | ${worksrcpath}/configure |
---|
51 | } |
---|
52 | |
---|
53 | if {[variant_isset universal]} { |
---|
54 | set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} |
---|
55 | set merger_host(i386) i686-apple-${os.platform}${os.major} |
---|
56 | set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} |
---|
57 | set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} |
---|
58 | } elseif {${build_arch} == "i386"} { |
---|
59 | configure.args-append \ |
---|
60 | --host=i686-apple-${os.platform}${os.major} \ |
---|
61 | --build=i686-apple-${os.platform}${os.major} |
---|
62 | } elseif {${build_arch} == "x86_64"} { |
---|
63 | configure.args-append \ |
---|
64 | --host=${build_arch}-apple-${os.platform}${os.major} \ |
---|
65 | --build=${build_arch}-apple-${os.platform}${os.major} |
---|
66 | } |
---|
67 | |
---|
68 | livecheck.type regex |
---|
69 | livecheck.url ${master_sites} |
---|
70 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|