[119872] trunk/dports/multimedia

devans at macports.org devans at macports.org
Thu May 8 13:45:34 PDT 2014


Revision: 119872
          https://trac.macports.org/changeset/119872
Author:   devans at macports.org
Date:     2014-05-08 13:45:34 -0700 (Thu, 08 May 2014)
Log Message:
-----------
ffmpeg, ffmpeg-devel: add +librtmp variant, allows use of librtmp instead of ffmpeg internal implementation as rtmp protocol handler, may address interoperability issues with some remote rtmp servers (#32219, comments).

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

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2014-05-08 20:29:26 UTC (rev 119871)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2014-05-08 20:45:34 UTC (rev 119872)
@@ -198,6 +198,18 @@
     configure.args-append --enable-libdc1394
 }
 
+# Allow use of librtmp instead of ffmpeg's internal rtmp implementation
+# May address interoperability issues with CRtmpServer and others
+# https://trac.macports.org/ticket/32219
+# https://groups.google.com/forum/#!topic/c-rtmp-server/ywQPjvciPgc
+# https://trac.ffmpeg.org/ticket/1700
+
+variant librtmp description {Use librtmp (from rtmpdump) as rtmp[t][es]:// protocol handler} {
+    configure.args-append     --enable-librtmp
+
+    depends_lib-append        port:rtmpdump
+}
+
 variant gpl2 description {Enable GPL code, license will be GPL-2+} {
     configure.args-append   --enable-gpl \
                             --enable-postproc \
@@ -220,7 +232,6 @@
     license-append          GPL-3+
 }
 
-
 # the build server uses the default variants, and we want distributable binaries
 # nonfree code is disabled by default but can be enabled using the +nonfree variant
 

Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile	2014-05-08 20:29:26 UTC (rev 119871)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile	2014-05-08 20:45:34 UTC (rev 119872)
@@ -204,6 +204,18 @@
     configure.args-append --enable-libdc1394
 }
 
+# Allow use of librtmp instead of ffmpeg's internal rtmp implementation
+# May address interoperability issues with CRtmpServer and others
+# https://trac.macports.org/ticket/32219
+# https://groups.google.com/forum/#!topic/c-rtmp-server/ywQPjvciPgc
+# https://trac.ffmpeg.org/ticket/1700
+
+variant librtmp description {Use librtmp (from rtmpdump) as rtmp[t][es]:// protocol handler} {
+    configure.args-append     --enable-librtmp
+
+    depends_lib-append        port:rtmpdump
+}
+
 variant gpl2 description {Enable GPL code, license will be GPL-2+} {
     configure.args-append   --enable-gpl \
                             --enable-postproc \
@@ -226,7 +238,6 @@
     license-append          GPL-3+
 }
 
-
 # the build server uses the default variants, and we want distributable binaries
 # nonfree code is disabled by default but can be enabled using the +nonfree variant
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140508/c6b83358/attachment.html>


More information about the macports-changes mailing list