source: trunk/dports/gnome/gstreamer010-gst-plugins-ugly/Portfile

Last change on this file was 145589, checked in by devans@…, 18 months ago

dependents of x264: increment revision to rebuild with x264 build 148.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
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 145589 2016-02-10 16:36:25Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
7PortGroup   muniversal 1.0
8
9name                gstreamer010-gst-plugins-ugly
10set my_name         gst-plugins-ugly
11version             0.10.19
12revision            6
13description         \
14    A set of good-quality plug-ins for GStreamer that might pose distribution \
15    problems.
16long_description    \
17    GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and \
18    correct functionality, but distributing them might pose problems. The \
19    license on either the plug-ins or the supporting libraries might not be how \
20    we'd like. The code might be widely known to present patent problems.
21maintainers         nomaintainer
22categories          gnome
23platforms           darwin
24homepage            http://gstreamer.freedesktop.org/modules/${my_name}.html
25master_sites        http://gstreamer.freedesktop.org/src/${my_name}/
26distname            ${my_name}-${version}
27license             GPL-2+ LGPL-2+
28use_bzip2           yes
29checksums           rmd160  39fadcf4205bbe0fd2dc079296c816d8668cc59d \
30                    sha256  1ca90059275c0f5dca71d4d1601a8f429b7852baed0723e820703b977e2c8df0
31
32
33depends_build       port:pkgconfig
34depends_lib         port:gstreamer010-gst-plugins-base \
35                    port:a52dec \
36                    port:lame \
37                    port:libcdio \
38                    port:libdvdread \
39                    port:libid3tag \
40                    port:libmad \
41                    port:libmpeg2 \
42                    port:opencore-amr \
43                    port:twolame \
44                    port:x264
45
46patchfiles          libcdio.patch
47patch.pre_args      -p1
48
49configure.args              mandir=${prefix}/share/man --enable-static
50configure.cppflags-append   "-L${prefix}/lib"
51configure.cflags-append     -funroll-loops -fstrict-aliasing
52
53# I'm not sure if the pkg-config data is wrong or if gst-plugin is wrong, meh.
54configure.cppflags-append -I${prefix}/include/opencore-amrnb -I${prefix}/include/opencore-amrwb
55
56post-extract {
57    reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
58    ${worksrcpath}/configure
59}
60
61if {[variant_isset universal]} { 
62    set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
63    set merger_host(i386) i686-apple-${os.platform}${os.major}
64    set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
65    set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
66} elseif {${build_arch} eq "i386"} {
67    configure.args-append \
68        --host=i686-apple-${os.platform}${os.major} \
69        --build=i686-apple-${os.platform}${os.major}
70} elseif {${build_arch} eq "x86_64"} {
71    configure.args-append \
72        --host=${build_arch}-apple-${os.platform}${os.major} \
73        --build=${build_arch}-apple-${os.platform}${os.major}
74}
75
76livecheck.type      none
Note: See TracBrowser for help on using the repository browser.