[arch-commits] Commit in avidemux/trunk (PKGBUILD.WIP)

Eric Bélanger eric at nymeria.archlinux.org
Thu May 9 21:59:43 EDT 2013


    Date: Friday, May 10, 2013 @ 03:59:43
  Author: eric
Revision: 185006

Update WIP PKGBUILD

Modified:
  avidemux/trunk/PKGBUILD.WIP

--------------+
 PKGBUILD.WIP |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD.WIP
===================================================================
--- PKGBUILD.WIP	2013-05-09 20:48:29 UTC (rev 185005)
+++ PKGBUILD.WIP	2013-05-10 01:59:43 UTC (rev 185006)
@@ -3,7 +3,7 @@
 
 pkgbase=avidemux
 pkgname=('avidemux-cli' 'avidemux-gtk' 'avidemux-qt')
-pkgver=2.6.3
+pkgver=2.6.4
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -14,15 +14,20 @@
              'libvdpau' 'libdca' 'fribidi' 'glu')
 options=('!makeflags' '!emptydirs')
 source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz)
-sha1sums=('7cab0dc35bc5827e1b5e86a14223ef6c7451cd58')
+sha1sums=('7ed55fd5cfb6cfa73ebb9058af72fa2e3c9717c3')
 #source=(http://www.avidemux.org/nightly/source/snapshot_8273.tgz)
 #sha1sums=('cf5256ce189a51898a2e1071ffd46cd993f453f2')
 
+prepare() {
+  cd ${pkgbase}_${pkgver}
+  sed -i 's|avidemux2|avidemux3|' avidemux2.desktop
+  sed -i 's|#include "ADM_files.h"|#include "ADM_files.h"\n#include "ADM_toolkitGtk.h"|' avidemux/gtk/ADM_userInterfaces/ui_support.cpp
+}
+
 build() {
 #mv snapshot_8273 ${pkgbase}_${pkgver}
 
-  cd "${srcdir}/${pkgbase}_${pkgver}"
-  sed -i 's|avidemux2|avidemux3|' avidemux2.desktop
+  cd ${pkgbase}_${pkgver}
   bash bootStrap.bash --with-core --with-cli --with-gtk --with-qt4 --with-plugins
 }
 
@@ -38,11 +43,11 @@
               'sdl: for the corresponding audio device plugin'
               'x264: for the corresponding video encoder plugin'
               'xvidcore: for the corresponding video encoder plugin'
-              'qt: for the QtScript scripting support'
+              'qt4: for the QtScript scripting support'
               'libdca: for the corresponding audio decoder plugin'
               'fribidi: for the corresponding video filter plugin')
 
-  cd "${srcdir}/${pkgbase}_${pkgver}"
+  cd ${pkgbase}_${pkgver}
   (cd buildCli; make DESTDIR="${pkgdir}" install)
   (cd buildCore; make DESTDIR="${pkgdir}" install)
   (cd buildPluginsCLI; make DESTDIR="${pkgdir}" install)
@@ -57,13 +62,11 @@
   depends=("avidemux-cli=${pkgver}" 'gtk3' 'libxv' 'desktop-file-utils')
   install=avidemux.install
 
-  cd "${srcdir}/${pkgbase}_${pkgver}"
+  cd ${pkgbase}_${pkgver}
   (cd buildGtk; make DESTDIR="${pkgdir}" install)
   (cd buildPluginsGtk; make DESTDIR="${pkgdir}" install)
-
   install -D -m644 avidemux2.desktop "${pkgdir}/usr/share/applications/avidemux-gtk.desktop"
 
-  rm "${pkgdir}"/usr/lib/ADM_plugins6/pluginSettings/x264/1/{PSP.json,iPhone.json}
   rm "${pkgdir}/usr/lib/ADM_plugins6/videoEncoders/libADM_ve_x264_other.so"
 }
 
@@ -72,12 +75,10 @@
   depends=("avidemux-cli=${pkgver}" 'qt4' 'x264' 'glu')
   install=avidemux.install
 
-  cd "${srcdir}/${pkgbase}_${pkgver}"
+  cd ${pkgbase}_${pkgver}
   (cd buildQt4; make DESTDIR="${pkgdir}" install)
   (cd buildPluginsQt4; make DESTDIR="${pkgdir}" install)
 
   install -D -m644 avidemux2.desktop "${pkgdir}/usr/share/applications/avidemux-qt.desktop"
   sed -i 's|gtk|qt4|' "${pkgdir}/usr/share/applications/avidemux-qt.desktop"
-
-  rm "${pkgdir}"/usr/lib/ADM_plugins6/pluginSettings/x264/1/{PSP.json,iPhone.json}
 }



More information about the arch-commits mailing list