[141372] trunk/dports/devel/strigi
michaelld at macports.org
michaelld at macports.org
Sat Dec 12 01:15:12 PST 2015
Revision: 141372
https://trac.macports.org/changeset/141372
Author: michaelld at macports.org
Date: 2015-10-16 07:48:08 -0700 (Fri, 16 Oct 2015)
Log Message:
-----------
strigi:
+ append dependencies, not overwrite;
+ fix ffmpegendanalyzer patch for compatibility with ffmpeg-devel, while still working with ffmpeg;
+ rev-bump for changes.
Modified Paths:
--------------
trunk/dports/devel/strigi/Portfile
trunk/dports/devel/strigi/files/patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff
Modified: trunk/dports/devel/strigi/Portfile
===================================================================
--- trunk/dports/devel/strigi/Portfile 2015-10-16 14:46:09 UTC (rev 141371)
+++ trunk/dports/devel/strigi/Portfile 2015-10-16 14:48:08 UTC (rev 141372)
@@ -6,7 +6,7 @@
name strigi
version 0.7.8
-revision 3
+revision 4
categories devel
maintainers nomaintainer
license LGPL-2+
@@ -25,7 +25,8 @@
master_sites ${homepage}
use_bzip2 yes
-depends_lib port:bzip2 \
+depends_lib-append \
+ port:bzip2 \
port:clucene \
path:bin/dbus-daemon:dbus \
port:exiv2 \
Modified: trunk/dports/devel/strigi/files/patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff
===================================================================
--- trunk/dports/devel/strigi/files/patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff 2015-10-16 14:46:09 UTC (rev 141371)
+++ trunk/dports/devel/strigi/files/patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff 2015-10-16 14:48:08 UTC (rev 141372)
@@ -1,5 +1,5 @@
---- libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp.orig 2013-11-05 18:43:27.000000000 +0100
-+++ libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2013-11-05 18:45:02.000000000 +0100
+--- libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp.orig
++++ libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
@@ -56,22 +56,22 @@
signed char analyze(AnalysisResult& idx, ::InputStream* in);
};
@@ -30,3 +30,21 @@
return 0;
}
return 1;
+@@ -355,7 +355,7 @@
+ #endif
+
+ if(fc->bit_rate)
+- ar.addValue(factory->bitrateProperty, fc->bit_rate);
++ ar.addValue(factory->bitrateProperty, (int32_t)fc->bit_rate);
+ else if (fc->duration!= no_bitrate && fc->duration > 0) {
+ cout<<"Trying to estimate bitrate\n";
+ int64_t size;
+@@ -486,7 +486,7 @@
+ outs << stream.r_frame_rate.num / stream.r_frame_rate.den;
+ ar.addTriplet(streamuri, frameRatePropertyName, outs.str());
+ }
+- if (codec.pix_fmt != PIX_FMT_NONE) {}//FIXME pixel format
++ if (codec.pix_fmt != AV_PIX_FMT_NONE) {}//FIXME pixel format
+ }
+
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/496daf40/attachment-0001.html>
More information about the macports-changes
mailing list