[145947] trunk/dports/multimedia/gpac
devans at macports.org
devans at macports.org
Mon Feb 22 02:12:24 PST 2016
Revision: 145947
https://trac.macports.org/changeset/145947
Author: devans at macports.org
Date: 2016-02-22 02:12:24 -0800 (Mon, 22 Feb 2016)
Log Message:
-----------
gpac: update to version 0.6.0 using github repo, dependencies, configuration, compatible with ffmpeg 3.0 (#50694).
Modified Paths:
--------------
trunk/dports/multimedia/gpac/Portfile
Removed Paths:
-------------
trunk/dports/multimedia/gpac/files/
Modified: trunk/dports/multimedia/gpac/Portfile
===================================================================
--- trunk/dports/multimedia/gpac/Portfile 2016-02-22 10:02:22 UTC (rev 145946)
+++ trunk/dports/multimedia/gpac/Portfile 2016-02-22 10:12:24 UTC (rev 145947)
@@ -2,10 +2,9 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name gpac
-version 0.5.0
-revision 5
+github.setup gpac gpac 0.6.0 v
categories multimedia
platforms darwin
maintainers nomaintainer
@@ -20,13 +19,10 @@
Osmo4.
homepage http://gpac.wp.mines-telecom.fr/
-master_sites sourceforge:project/gpac/GPAC/GPAC%20${version}
-use_zip yes
+checksums rmd160 b4ef2467f983dba561f7aa9d59ad59d50cd18208 \
+ sha256 cd9c83e347a3f1323121ea68a816a26c9c7709f41ebf09e31b118a55692cfced
-checksums rmd160 106f589a52f147bd8f00ffced2b252f81ed3f053 \
- sha256 5e067850618783d3ba4d9035bcea6727855f3a87a007960ab1f0f980a552f3cb
-
depends_build port:pkgconfig \
port:zlib
@@ -34,6 +30,7 @@
port:faad2 \
path:lib/libavcodec.dylib:ffmpeg \
port:jpeg \
+ port:openjpeg15 \
port:libmad \
port:libogg \
port:libpng \
@@ -48,16 +45,6 @@
port:mesa \
port:xorg-libXv
-worksrcdir ${name}
-
-post-extract {
- file attributes ${worksrcpath}/configure -permissions a+x
-}
-
-patchfiles patch-configure.diff \
- patch-ffmpeg-2.0.diff \
- patch-ffmpeg-2.4.diff
-
# This project's build system misuses the prefix "cpp" to refer to the C++ compiler instead of the C preprocessor.
# https://sourceforge.net/p/gpac/bugs/287/
# Unfortunately setting cc and cpp doesn't actually do anything.
@@ -65,10 +52,11 @@
# external spidermonkey (--use-js=no) is not recognized because it doesn't provide a pkg-config file and build fails with local copy
# pulseaudio is recognized if installed but build fails
+# builds with openjpeg15 if include path is added, build fails using openjpeg 2.1
configure.args --cc="${configure.cc}" \
--cpp="${configure.cxx}" \
- --extra-cflags="${configure.cc_archflags}" \
+ --extra-cflags="-I${prefix}/include/openjpeg-1.5 ${configure.cc_archflags}" \
--extra-ldflags="${configure.ld_archflags}" \
--mandir=${prefix}/share/man \
--X11-path=${prefix} \
@@ -82,7 +70,4 @@
# This project's build system detects CPU and endianness at configure time.
# muniversal is worth a try.
universal_variant no
-
use_parallel_build no
-
-livecheck.regex {/GPAC%20([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160222/75507118/attachment.html>
More information about the macports-changes
mailing list