[154361] trunk/dports/multimedia/ffmpeg/Portfile

devans at macports.org devans at macports.org
Fri Oct 28 18:59:32 CEST 2016


Revision: 154361
          https://trac.macports.org/changeset/154361
Author:   devans at macports.org
Date:     2016-10-28 18:59:32 +0200 (Fri, 28 Oct 2016)
Log Message:
-----------
ffmpeg: update to version 3.2, ABI compatible with previous version
  * support for old libfaac removed, use libfdk-aac instead
  * sdl outdev removed, replaced by sdl2 outdev
  * +x11 is available but no longer a default variant for compatibility with libsdl2
  * tarball root directory permissions set to 755 rather than 700 as shipped, maintenance issue

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg/Portfile

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2016-10-28 15:37:58 UTC (rev 154360)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2016-10-28 16:59:32 UTC (rev 154361)
@@ -10,7 +10,7 @@
 name                ffmpeg
 conflicts           ffmpeg-devel
 epoch               1
-version             3.1.5
+version             3.2
 license             LGPL-2.1+
 categories          multimedia
 maintainers         devans jeremyhu openmaintainer
@@ -52,9 +52,16 @@
 
 use_xz              yes
 
-checksums           rmd160  1f532c75541e5c98cab3bdda503ae6c5688c876f \
-                    sha256  49cc3105f7891c5637f8fabb1b75ebb19c9b5123b311a3ccc6182aa35d58b89a
+checksums           rmd160  ed34d7d669f66f587efcbb7092781a48f629eef8 \
+                    sha256  88f70c1b8cab108f494ecbab5ba302cdb35d59a84cea88008b5fe49be068d5da
 
+# root directory of extracted tarball is owned by root and has permissions 700
+# set to 755 to facilitate maintenance
+
+post-extract {
+    file attributes ${worksrcpath} -permissions 0755
+}
+
 depends_build       port:pkgconfig \
                     port:gmake \
                     port:texinfo
@@ -80,7 +87,7 @@
                     port:freetype \
                     port:fribidi \
                     path:lib/libspeex.dylib:speex \
-                    port:libsdl \
+                    port:libsdl2 \
                     port:soxr \
                     port:bzip2 \
                     port:xz \
@@ -255,12 +262,10 @@
                             --disable-libxcb-xfixes \
 }
 
-default_variants +x11
-
 if {[variant_isset x11]} {
-    require_active_variants libsdl x11
+    require_active_variants libsdl2 x11
 } else {
-    require_active_variants libsdl "" x11
+    require_active_variants libsdl2 "" x11
 }
 
 variant libdc1394 description {Enable IIDC-1394 frame grabbing using libdc1394 (experimental)} {
@@ -330,10 +335,8 @@
 
 variant nonfree description {enable nonfree code, libraries and binaries will not be redistributable} {
     configure.args-append   --enable-nonfree \
-                            --enable-libfdk-aac \
-                            --enable-libfaac
-    depends_lib-append      port:libfdk-aac \
-                            port:faac
+                            --enable-libfdk-aac
+    depends_lib-append      port:libfdk-aac
     license                 Restrictive
 }
 
@@ -342,7 +345,6 @@
 *******
 ******* This build of ${name} includes nonfree code as follows:
 *******
-*******     libfaac
 *******     libfdk-aac
 *******
 ******* The following libraries and binaries may not be redistributed:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161028/8cfbe879/attachment-0002.html>


More information about the macports-changes mailing list