source: trunk/dports/multimedia/gpac/Portfile

Last change on this file was 148825, checked in by devans@…, 14 months ago

dependents of ffmpeg: increment revision to rebuild with ffmpeg version 3.0.2. (#50694).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 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 148825 2016-05-19 16:38:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6PortGroup           github 1.0
7
8github.setup        gpac gpac 0.6.1 v
9revision            1
10categories          multimedia
11platforms           darwin
12maintainers         nomaintainer
13license             LGPL-2+
14
15description         multimedia framework for research and academic purposes
16long_description    GPAC is an Open Source multimedia framework for \
17                    research and academic purposes. The project \
18                    covers different aspects of multimedia, with a \
19                    focus on presentation technologies (graphics, \
20                    animation and interactivity). Includes MP4Box and \
21                    Osmo4.
22
23homepage            http://gpac.wp.mines-telecom.fr/
24
25checksums           rmd160  d0974957588167f2401fbe7e789fce1479558a4f \
26                    sha256  7e91530a925b7d2e1dbf02c767755b40669f6bdd413e6f60dbdcf0aaa76f6671
27
28depends_build       port:pkgconfig \
29                    port:zlib
30
31depends_lib         port:a52dec \
32                    port:faad2 \
33                    path:lib/libavcodec.dylib:ffmpeg \
34                    port:jpeg \
35                    port:openjpeg15 \
36                    port:libmad \
37                    port:libogg \
38                    port:libpng \
39                    port:libsdl \
40                    port:libtheora \
41                    port:libvorbis \
42                    port:openjpeg \
43                    path:lib/libssl.dylib:openssl \
44                    port:jack \
45                    port:xvid \
46                    port:libGLU \
47                    port:mesa \
48                    port:xorg-libXv
49
50patchfiles          patch-configure.diff
51
52post-patch {
53    reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/configure
54}
55
56# https://github.com/gpac/gpac/issues/432
57conflicts_build     ${name}
58
59# external spidermonkey (--use-js=no) is not recognized because it doesn't provide a pkg-config file and build fails with local copy
60# pulseaudio is recognized if installed but build fails
61# builds with openjpeg15 if include path is added, build fails using openjpeg 2.1
62
63configure.args      --cc="${configure.cc}" \
64                    --cxx="${configure.cxx}" \
65                    --extra-cflags="-I${prefix}/include/openjpeg-1.5 ${configure.cc_archflags}" \
66                    --extra-ldflags="${configure.ld_archflags}" \
67                    --mandir=${prefix}/share/man \
68                    --X11-path=${prefix} \
69                    --disable-pulseaudio \
70                    --use-js=no \
71                    --verbose
72
73# This project's build system detects CPU and endianness at configure time.
74# muniversal is worth a try.
75universal_variant   no
76use_parallel_build  no
Note: See TracBrowser for help on using the repository browser.