Date: Wednesday, February 17, 2016 @ 22:32:11
  Author: arojas
Revision: 162128

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libopenshot/repos/community-staging-i686/
  libopenshot/repos/community-staging-i686/PKGBUILD
    (from rev 162127, libopenshot/trunk/PKGBUILD)
  libopenshot/repos/community-staging-i686/libopenshot-ffmpeg3.patch
    (from rev 162127, libopenshot/trunk/libopenshot-ffmpeg3.patch)
  libopenshot/repos/community-staging-x86_64/
  libopenshot/repos/community-staging-x86_64/PKGBUILD
    (from rev 162127, libopenshot/trunk/PKGBUILD)
  libopenshot/repos/community-staging-x86_64/libopenshot-ffmpeg3.patch
    (from rev 162127, libopenshot/trunk/libopenshot-ffmpeg3.patch)

----------------------------------------------------+
 community-staging-i686/PKGBUILD                    |   37 +++++++
 community-staging-i686/libopenshot-ffmpeg3.patch   |   96 +++++++++++++++++++
 community-staging-x86_64/PKGBUILD                  |   37 +++++++
 community-staging-x86_64/libopenshot-ffmpeg3.patch |   96 +++++++++++++++++++
 4 files changed, 266 insertions(+)

Copied: libopenshot/repos/community-staging-i686/PKGBUILD (from rev 162127, 
libopenshot/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-02-17 21:32:11 UTC (rev 162128)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : Martin Wimpress <c...@flexion.org>
+# Contributor: Foster McLane <fkmcl...@gmail.com>
+# Contributor: Jonathan Thomas <jonat...@openshot.org>
+
+pkgname=libopenshot
+pkgver=0.0.6
+pkgrel=4
+pkgdesc="A high quality, open-source video editing, animation, and playback 
library for C++, Python, and Ruby."
+arch=('i686' 'x86_64')
+url="http://openshot.org/";
+license=('LGPL3')
+depends=('imagemagick' 'ffmpeg' 'libx264' 'libopenshot-audio' 'python' 
'qt5-base' 'qt5-multimedia' 'ruby')
+makedepends=('cmake' 'doxygen' 'swig' 'unittestpp')
+source=("https://launchpad.net/libopenshot/0.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz";
 libopenshot-ffmpeg3.patch)
+sha256sums=('8b1009b146ae5fab50a784534f32ef796cf5b4e59617dde7633fa5995e4ef0f9'
+            '2d9d6a881944b6a04da90e89561996eeb46fb62183d12f86e529d29f0cd8be65')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with ffmpeg 3.0
+  patch -p1 -i ../libopenshot-ffmpeg3.patch
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       mkdir build
+       cd build
+       cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMAGICKCORE_HDRI_ENABLE=1 
-DMAGICKCORE_QUANTUM_DEPTH=16 ../
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}/build"
+       make DESTDIR="${pkgdir}" install
+}
+

Copied: libopenshot/repos/community-staging-i686/libopenshot-ffmpeg3.patch 
(from rev 162127, libopenshot/trunk/libopenshot-ffmpeg3.patch)
===================================================================
--- community-staging-i686/libopenshot-ffmpeg3.patch                            
(rev 0)
+++ community-staging-i686/libopenshot-ffmpeg3.patch    2016-02-17 21:32:11 UTC 
(rev 162128)
@@ -0,0 +1,96 @@
+From bb6102f46f80030c7149107d147f00dfc5ea563e Mon Sep 17 00:00:00 2001
+From: Jonathan Thomas <jonat...@openshot.org>
+Date: Thu, 7 Jan 2016 23:50:48 -0600
+Subject: [PATCH] Added support for newer versions of libav media library.
+
+---
+ cmake/Modules/FindFFmpeg.cmake | 12 ++++++------
+ include/FFmpegUtilities.h      | 17 +++++++++++++++++
+ 2 files changed, 23 insertions(+), 6 deletions(-)
+
+diff --git a/cmake/Modules/FindFFmpeg.cmake b/cmake/Modules/FindFFmpeg.cmake
+index 36ad9e0..4af6cc9 100644
+--- a/cmake/Modules/FindFFmpeg.cmake
++++ b/cmake/Modules/FindFFmpeg.cmake
+@@ -14,7 +14,7 @@ FIND_PATH( AVFORMAT_INCLUDE_DIR libavformat/avformat.h
+                       $ENV{FFMPEGDIR}/include/
+                       $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVFORMAT_LIBRARY avformat avformat-55
++FIND_LIBRARY( AVFORMAT_LIBRARY avformat avformat-55 avformat-57
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -28,7 +28,7 @@ FIND_PATH( AVCODEC_INCLUDE_DIR libavcodec/avcodec.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVCODEC_LIBRARY avcodec avcodec-55
++FIND_LIBRARY( AVCODEC_LIBRARY avcodec avcodec-55 avcodec-57
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -42,7 +42,7 @@ FIND_PATH( AVUTIL_INCLUDE_DIR libavutil/avutil.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVUTIL_LIBRARY avutil avutil-52
++FIND_LIBRARY( AVUTIL_LIBRARY avutil avutil-52 avutil-55
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -56,7 +56,7 @@ FIND_PATH( AVDEVICE_INCLUDE_DIR libavdevice/avdevice.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVDEVICE_LIBRARY avdevice avdevice-55
++FIND_LIBRARY( AVDEVICE_LIBRARY avdevice avdevice-55 avdevice-56
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -70,7 +70,7 @@ FIND_PATH( SWSCALE_INCLUDE_DIR libswscale/swscale.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( SWSCALE_LIBRARY swscale swscale-2
++FIND_LIBRARY( SWSCALE_LIBRARY swscale swscale-2 swscale-4
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -84,7 +84,7 @@ FIND_PATH( AVRESAMPLE_INCLUDE_DIR libavresample/avresample.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVRESAMPLE_LIBRARY avresample avresample-2
++FIND_LIBRARY( AVRESAMPLE_LIBRARY avresample avresample-2 avresample-3
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+diff --git a/include/FFmpegUtilities.h b/include/FFmpegUtilities.h
+index d90c37c..40000b7 100644
+--- a/include/FFmpegUtilities.h
++++ b/include/FFmpegUtilities.h
+@@ -81,6 +81,23 @@
+       #undef av_err2str
+       #define av_err2str(errnum) av_make_error_string(errnum).c_str()
+ 
++      // Define this for compatibility
++      #ifndef PixelFormat
++              #define PixelFormat AVPixelFormat
++    #endif
++      #ifndef PIX_FMT_RGBA
++              #define PIX_FMT_RGBA AV_PIX_FMT_RGBA
++    #endif
++      #ifndef PIX_FMT_NONE
++              #define PIX_FMT_NONE AV_PIX_FMT_NONE
++    #endif
++      #ifndef PIX_FMT_RGB24
++              #define PIX_FMT_RGB24 AV_PIX_FMT_RGB24
++      #endif
++      #ifndef PIX_FMT_YUV420P
++              #define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
++      #endif
++
+       #if LIBAVFORMAT_VERSION_MAJOR >= 55
+               #define AV_ALLOCATE_FRAME() av_frame_alloc()
+               #define AV_RESET_FRAME(av_frame) av_frame_unref(av_frame)

Copied: libopenshot/repos/community-staging-x86_64/PKGBUILD (from rev 162127, 
libopenshot/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-17 21:32:11 UTC (rev 162128)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : Martin Wimpress <c...@flexion.org>
+# Contributor: Foster McLane <fkmcl...@gmail.com>
+# Contributor: Jonathan Thomas <jonat...@openshot.org>
+
+pkgname=libopenshot
+pkgver=0.0.6
+pkgrel=4
+pkgdesc="A high quality, open-source video editing, animation, and playback 
library for C++, Python, and Ruby."
+arch=('i686' 'x86_64')
+url="http://openshot.org/";
+license=('LGPL3')
+depends=('imagemagick' 'ffmpeg' 'libx264' 'libopenshot-audio' 'python' 
'qt5-base' 'qt5-multimedia' 'ruby')
+makedepends=('cmake' 'doxygen' 'swig' 'unittestpp')
+source=("https://launchpad.net/libopenshot/0.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz";
 libopenshot-ffmpeg3.patch)
+sha256sums=('8b1009b146ae5fab50a784534f32ef796cf5b4e59617dde7633fa5995e4ef0f9'
+            '2d9d6a881944b6a04da90e89561996eeb46fb62183d12f86e529d29f0cd8be65')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with ffmpeg 3.0
+  patch -p1 -i ../libopenshot-ffmpeg3.patch
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       mkdir build
+       cd build
+       cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMAGICKCORE_HDRI_ENABLE=1 
-DMAGICKCORE_QUANTUM_DEPTH=16 ../
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}/build"
+       make DESTDIR="${pkgdir}" install
+}
+

Copied: libopenshot/repos/community-staging-x86_64/libopenshot-ffmpeg3.patch 
(from rev 162127, libopenshot/trunk/libopenshot-ffmpeg3.patch)
===================================================================
--- community-staging-x86_64/libopenshot-ffmpeg3.patch                          
(rev 0)
+++ community-staging-x86_64/libopenshot-ffmpeg3.patch  2016-02-17 21:32:11 UTC 
(rev 162128)
@@ -0,0 +1,96 @@
+From bb6102f46f80030c7149107d147f00dfc5ea563e Mon Sep 17 00:00:00 2001
+From: Jonathan Thomas <jonat...@openshot.org>
+Date: Thu, 7 Jan 2016 23:50:48 -0600
+Subject: [PATCH] Added support for newer versions of libav media library.
+
+---
+ cmake/Modules/FindFFmpeg.cmake | 12 ++++++------
+ include/FFmpegUtilities.h      | 17 +++++++++++++++++
+ 2 files changed, 23 insertions(+), 6 deletions(-)
+
+diff --git a/cmake/Modules/FindFFmpeg.cmake b/cmake/Modules/FindFFmpeg.cmake
+index 36ad9e0..4af6cc9 100644
+--- a/cmake/Modules/FindFFmpeg.cmake
++++ b/cmake/Modules/FindFFmpeg.cmake
+@@ -14,7 +14,7 @@ FIND_PATH( AVFORMAT_INCLUDE_DIR libavformat/avformat.h
+                       $ENV{FFMPEGDIR}/include/
+                       $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVFORMAT_LIBRARY avformat avformat-55
++FIND_LIBRARY( AVFORMAT_LIBRARY avformat avformat-55 avformat-57
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -28,7 +28,7 @@ FIND_PATH( AVCODEC_INCLUDE_DIR libavcodec/avcodec.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVCODEC_LIBRARY avcodec avcodec-55
++FIND_LIBRARY( AVCODEC_LIBRARY avcodec avcodec-55 avcodec-57
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -42,7 +42,7 @@ FIND_PATH( AVUTIL_INCLUDE_DIR libavutil/avutil.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVUTIL_LIBRARY avutil avutil-52
++FIND_LIBRARY( AVUTIL_LIBRARY avutil avutil-52 avutil-55
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -56,7 +56,7 @@ FIND_PATH( AVDEVICE_INCLUDE_DIR libavdevice/avdevice.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVDEVICE_LIBRARY avdevice avdevice-55
++FIND_LIBRARY( AVDEVICE_LIBRARY avdevice avdevice-55 avdevice-56
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -70,7 +70,7 @@ FIND_PATH( SWSCALE_INCLUDE_DIR libswscale/swscale.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( SWSCALE_LIBRARY swscale swscale-2
++FIND_LIBRARY( SWSCALE_LIBRARY swscale swscale-2 swscale-4
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+@@ -84,7 +84,7 @@ FIND_PATH( AVRESAMPLE_INCLUDE_DIR libavresample/avresample.h
+                        $ENV{FFMPEGDIR}/include/
+                        $ENV{FFMPEGDIR}/include/ffmpeg/ )
+ 
+-FIND_LIBRARY( AVRESAMPLE_LIBRARY avresample avresample-2
++FIND_LIBRARY( AVRESAMPLE_LIBRARY avresample avresample-2 avresample-3
+                  PATHS /usr/lib/
+                        /usr/lib/ffmpeg/
+                        $ENV{FFMPEGDIR}/lib/
+diff --git a/include/FFmpegUtilities.h b/include/FFmpegUtilities.h
+index d90c37c..40000b7 100644
+--- a/include/FFmpegUtilities.h
++++ b/include/FFmpegUtilities.h
+@@ -81,6 +81,23 @@
+       #undef av_err2str
+       #define av_err2str(errnum) av_make_error_string(errnum).c_str()
+ 
++      // Define this for compatibility
++      #ifndef PixelFormat
++              #define PixelFormat AVPixelFormat
++    #endif
++      #ifndef PIX_FMT_RGBA
++              #define PIX_FMT_RGBA AV_PIX_FMT_RGBA
++    #endif
++      #ifndef PIX_FMT_NONE
++              #define PIX_FMT_NONE AV_PIX_FMT_NONE
++    #endif
++      #ifndef PIX_FMT_RGB24
++              #define PIX_FMT_RGB24 AV_PIX_FMT_RGB24
++      #endif
++      #ifndef PIX_FMT_YUV420P
++              #define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
++      #endif
++
+       #if LIBAVFORMAT_VERSION_MAJOR >= 55
+               #define AV_ALLOCATE_FRAME() av_frame_alloc()
+               #define AV_RESET_FRAME(av_frame) av_frame_unref(av_frame)

Reply via email to