[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Thursday, May 10, 2018 @ 12:52:36 Author: arojas Revision: 323888 ffmpeg 4.0 rebuild Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-05-10 12:50:15 UTC (rev 323887) +++ PKGBUILD2018-05-10 12:52:36 UTC (rev 323888) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=18.04.1 -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://www.kde.org/applications/multimedia/' arch=(x86_64)
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Monday, April 23, 2018 @ 17:27:37 Author: arojas Revision: 322848 ffmpeg 4.0 rebuild Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-04-23 17:26:23 UTC (rev 322847) +++ PKGBUILD2018-04-23 17:27:37 UTC (rev 322848) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=18.04.0 -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://www.kde.org/applications/multimedia/' arch=(x86_64)
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Sunday, July 3, 2016 @ 19:37:47 Author: arojas Revision: 270910 ffmpeg 3.1 rebuild Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-07-03 19:31:43 UTC (rev 270909) +++ PKGBUILD2016-07-03 19:37:47 UTC (rev 270910) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=16.04.2 -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://www.kde.org/applications/multimedia/' arch=(i686 x86_64)
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD ffmpegthumbs-ffmpeg3.patch)
Date: Sunday, May 29, 2016 @ 10:25:59 Author: arojas Revision: 268725 Port to ffmpeg 3.0 Added: ffmpegthumbs/trunk/ffmpegthumbs-ffmpeg3.patch Modified: ffmpegthumbs/trunk/PKGBUILD + PKGBUILD | 12 + ffmpegthumbs-ffmpeg3.patch | 296 +++ 2 files changed, 303 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-05-28 22:37:38 UTC (rev 268724) +++ PKGBUILD2016-05-29 08:25:59 UTC (rev 268725) @@ -4,17 +4,19 @@ pkgname=ffmpegthumbs pkgver=16.04.1 -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://www.kde.org/applications/multimedia/' arch=(i686 x86_64) license=(GPL LGPL FDL) groups=(kde-applications kdemultimedia) -depends=(kio ffmpeg2.8) +depends=(kio ffmpeg) makedepends=(extra-cmake-modules git) replaces=(kdemultimedia-ffmpegthumbs) -source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz;) -md5sums=('245536522d4cf913621a2bb7ed1a27b2') +source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz; +ffmpegthumbs-ffmpeg3.patch) +md5sums=('245536522d4cf913621a2bb7ed1a27b2' + '663025192fe6ae929e4df1e7e7003239') prepare() { mkdir -p build @@ -21,7 +23,7 @@ cd $pkgname-$pkgver # Fix build against ffmpeg 3.0 -# patch -p1 -i ../ffmpegthumbs-ffmpeg3.patch + patch -p1 -i ../ffmpegthumbs-ffmpeg3.patch } build() { Added: ffmpegthumbs-ffmpeg3.patch === --- ffmpegthumbs-ffmpeg3.patch (rev 0) +++ ffmpegthumbs-ffmpeg3.patch 2016-05-29 08:25:59 UTC (rev 268725) @@ -0,0 +1,296 @@ +From: +Date: +Subject: +X-Git-Url: http://quickgit.kde.org/?p=ffmpegthumbs.git=commitdiff=3978c762072b7bc16b2096819b7cfa2052deaf5e +--- +--- + + +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -36,7 +36,7 @@ + + add_library(ffmpegthumbs MODULE ${ffmpegthumbs_PART_SRCS}) + +-target_link_libraries(ffmpegthumbs Qt5::Gui KF5::KIOWidgets ${AVUTIL_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES} ) ++target_link_libraries(ffmpegthumbs Qt5::Gui KF5::KIOWidgets ${AVUTIL_LIBRARIES} ${AVFILTER_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES} ) + + install(TARGETS ffmpegthumbs DESTINATION ${PLUGIN_INSTALL_DIR}) + +--- a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake +@@ -99,6 +99,7 @@ + + # Check for all possible component. + find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.h) ++ find_component(AVFILTER libavfilter avfilter libavfilter/avfilter.h) + find_component(AVFORMAT libavformat avformat libavformat/avformat.h) + find_component(AVDEVICE libavdevice avdevice libavdevice/avdevice.h) + find_component(AVUTIL libavutil avutil libavutil/avutil.h) +--- a/ffmpegthumbnailer/moviedecoder.cpp b/ffmpegthumbnailer/moviedecoder.cpp +@@ -40,6 +40,10 @@ + , m_FormatContextWasGiven(pavContext != NULL) + , m_AllowSeek(true) + , m_initialized(false) ++, m_bufferSinkContext(nullptr) ++, m_bufferSourceContext(nullptr) ++, m_filterGraph(nullptr) ++, m_filterFrame(nullptr) + { + initialize(filename); + } +@@ -51,6 +55,9 @@ + + void MovieDecoder::initialize(const QString& filename) + { ++m_lastWidth = -1; ++m_lastHeight = -1; ++m_lastPixfmt = AV_PIX_FMT_NONE; + av_register_all(); + avcodec_register_all(); + +@@ -67,7 +74,7 @@ + } + + initializeVideo(); +-m_pFrame = avcodec_alloc_frame(); ++m_pFrame = av_frame_alloc(); + + if (m_pFrame) { + m_initialized=true; +@@ -82,6 +89,7 @@ + + void MovieDecoder::destroy() + { ++deleteFilterGraph(); + if (m_pVideoCodecContext) { + avcodec_close(m_pVideoCodecContext); + m_pVideoCodecContext = NULL; +@@ -93,13 +101,13 @@ + } + + if (m_pPacket) { +-av_free_packet(m_pPacket); ++av_packet_unref(m_pPacket); + delete m_pPacket; + m_pPacket = NULL; + } + + if (m_pFrame) { +-av_free(m_pFrame); ++av_frame_free(_pFrame); + m_pFrame = NULL; + } + +@@ -239,7 +247,7 @@ + return false; + } + +-avcodec_get_frame_defaults(m_pFrame); ++av_frame_unref(m_pFrame); + + int frameFinished = 0; + +@@ -264,7 +272,7 @@ + int attempts = 0; + + if (m_pPacket) { +-av_free_packet(m_pPacket); ++av_packet_unref(m_pPacket); + delete m_pPacket; + } + +@@ -275,7 +283,7 @@ + if (framesAvailable) { + frameDecoded = m_pPacket->stream_index == m_VideoStream; + if (!frameDecoded) { +-av_free_packet(m_pPacket); ++av_packet_unref(m_pPacket); + } + } + } +@@ -283,15 +291,100 @@ + return
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Wednesday, February 24, 2016 @ 21:58:00 Author: arojas Revision: 260233 Build with ffmpeg 2.8, patch doesn't work Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-24 20:30:00 UTC (rev 260232) +++ PKGBUILD2016-02-24 20:58:00 UTC (rev 260233) @@ -4,19 +4,17 @@ pkgname=ffmpegthumbs pkgver=15.12.2 -pkgrel=2 +pkgrel=3 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs' arch=(i686 x86_64) license=(GPL LGPL FDL) groups=(kde-applications kdemultimedia) -depends=(kio ffmpeg) +depends=(kio ffmpeg2.8) makedepends=(extra-cmake-modules git) replaces=(kdemultimedia-ffmpegthumbs) -source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz; - ffmpegthumbs-ffmpeg3.patch::"https://git.reviewboard.kde.org/r/126992/diff/raw/;) -md5sums=('3e56e870a963fbc7e0c1b873628e56e7' - '0e3a9b044e2d94be9c608ad6369e9c7f') +source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz;) +md5sums=('3e56e870a963fbc7e0c1b873628e56e7') prepare() { mkdir -p build @@ -23,11 +21,12 @@ cd $pkgname-$pkgver # Fix build against ffmpeg 3.0 - patch -p1 -i ../ffmpegthumbs-ffmpeg3.patch +# patch -p1 -i ../ffmpegthumbs-ffmpeg3.patch } build() { cd build + export PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig" cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Tuesday, February 16, 2016 @ 21:09:16 Author: arojas Revision: 259852 ffmpeg 3.0 rebuild Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-16 20:09:04 UTC (rev 259851) +++ PKGBUILD2016-02-16 20:09:16 UTC (rev 259852) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=15.12.2 -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs' arch=(i686 x86_64) @@ -13,11 +13,17 @@ depends=(kio ffmpeg) makedepends=(extra-cmake-modules git) replaces=(kdemultimedia-ffmpegthumbs) -source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz;) -md5sums=('3e56e870a963fbc7e0c1b873628e56e7') +source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz; + ffmpegthumbs-ffmpeg3.patch::"https://git.reviewboard.kde.org/r/126992/diff/raw/;) +md5sums=('3e56e870a963fbc7e0c1b873628e56e7' + '0e3a9b044e2d94be9c608ad6369e9c7f') prepare() { mkdir -p build + + cd $pkgname-$pkgver +# Fix build against ffmpeg 3.0 + patch -p1 -i ../ffmpegthumbs-ffmpeg3.patch } build() {
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Wednesday, December 23, 2015 @ 08:23:02 Author: arojas Revision: 257207 Readd groups Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-23 06:03:53 UTC (rev 257206) +++ PKGBUILD2015-12-23 07:23:02 UTC (rev 257207) @@ -9,7 +9,7 @@ url='https://projects.kde.org/ffmpegthumbs' arch=(i686 x86_64) license=(GPL LGPL FDL) -#groups=(kde-applications kdemultimedia) +groups=(kde-applications kdemultimedia) depends=(kio ffmpeg) makedepends=(extra-cmake-modules git) replaces=(kdemultimedia-ffmpegthumbs)
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Tuesday, December 8, 2015 @ 12:38:30 Author: foutrelis Revision: 253683 C++11 ABI rebuild Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-08 11:38:27 UTC (rev 253682) +++ PKGBUILD2015-12-08 11:38:30 UTC (rev 253683) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=15.08_r91_c06602f -pkgrel=2 +pkgrel=3 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs' arch=(i686 x86_64)
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Monday, August 31, 2015 @ 00:24:01 Author: arojas Revision: 245106 Fix plugin install dir Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-08-30 22:20:24 UTC (rev 245105) +++ PKGBUILD2015-08-30 22:24:01 UTC (rev 245106) @@ -4,7 +4,7 @@ pkgname=ffmpegthumbs pkgver=15.08_r91_c06602f -pkgrel=1 +pkgrel=2 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs' arch=(i686 x86_64) @@ -30,7 +30,8 @@ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib +-DCMAKE_INSTALL_LIBDIR=lib \ +-DKDE_INSTALL_USE_QT_SYS_PATHS=ON make }
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Monday, August 31, 2015 @ 00:20:09 Author: arojas Revision: 245104 upgpkg: ffmpegthumbs 15.08_r91_c06602f-1 Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-08-30 22:18:19 UTC (rev 245103) +++ PKGBUILD2015-08-30 22:20:09 UTC (rev 245104) @@ -3,7 +3,7 @@ # Maintainer: Felix Yan felixonm...@archlinux.org pkgname=ffmpegthumbs -pkgver=15.08_r91.c06602f +pkgver=15.08_r91_c06602f pkgrel=1 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs'
[arch-commits] Commit in ffmpegthumbs/trunk (PKGBUILD)
Date: Monday, August 31, 2015 @ 00:18:07 Author: arojas Revision: 245102 upgpkg: ffmpegthumbs 15.08_r91.c06602f-1 Modified: ffmpegthumbs/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-08-30 22:16:18 UTC (rev 245101) +++ PKGBUILD2015-08-30 22:18:07 UTC (rev 245102) @@ -3,7 +3,7 @@ # Maintainer: Felix Yan felixonm...@archlinux.org pkgname=ffmpegthumbs -pkgver=15.08.0 +pkgver=15.08_r91.c06602f pkgrel=1 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/ffmpegthumbs'