Date: Sunday, November 15, 2015 @ 06:03:38
  Author: anatolik
Revision: 251082

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  audacity/repos/testing-i686/
  audacity/repos/testing-i686/PKGBUILD
    (from rev 251081, audacity/trunk/PKGBUILD)
  audacity/repos/testing-i686/audacity-ffmpeg.patch
    (from rev 251081, audacity/trunk/audacity-ffmpeg.patch)
  audacity/repos/testing-i686/audacity.install
    (from rev 251081, audacity/trunk/audacity.install)
  audacity/repos/testing-x86_64/
  audacity/repos/testing-x86_64/PKGBUILD
    (from rev 251081, audacity/trunk/PKGBUILD)
  audacity/repos/testing-x86_64/audacity-ffmpeg.patch
    (from rev 251081, audacity/trunk/audacity-ffmpeg.patch)
  audacity/repos/testing-x86_64/audacity.install
    (from rev 251081, audacity/trunk/audacity.install)

--------------------------------------+
 testing-i686/PKGBUILD                |   35 +++++++++++++++++++++++++++++++++
 testing-i686/audacity-ffmpeg.patch   |   30 ++++++++++++++++++++++++++++
 testing-i686/audacity.install        |   13 ++++++++++++
 testing-x86_64/PKGBUILD              |   35 +++++++++++++++++++++++++++++++++
 testing-x86_64/audacity-ffmpeg.patch |   30 ++++++++++++++++++++++++++++
 testing-x86_64/audacity.install      |   13 ++++++++++++
 6 files changed, 156 insertions(+)

Copied: audacity/repos/testing-i686/PKGBUILD (from rev 251081, 
audacity/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2015-11-15 05:03:38 UTC (rev 251082)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <[email protected]>
+
+pkgname=audacity
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="A program that lets you manipulate digital audio waveforms"
+arch=('i686' 'x86_64')
+url="http://audacityteam.org";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'wxgtk2.8' 'lame' 'lilv' 'soundtouch'
+        'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils')
+makedepends=('cmake' 'python2')
+options=('!makeflags')
+install=audacity.install
+source=(https://github.com/audacity/audacity/archive/Audacity-${pkgver}.zip
+        audacity-ffmpeg.patch)
+sha1sums=('3ff019e02a8ef9d712166dd1b466c494102a859a'
+          '5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
+
+prepare() {
+  cd audacity-Audacity-${pkgver}
+  patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
+}
+
+build() {
+  cd audacity-Audacity-${pkgver}
+  WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr 
--with-libsamplerate
+  make
+}
+
+package() {
+  cd audacity-Audacity-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: audacity/repos/testing-i686/audacity-ffmpeg.patch (from rev 251081, 
audacity/trunk/audacity-ffmpeg.patch)
===================================================================
--- testing-i686/audacity-ffmpeg.patch                          (rev 0)
+++ testing-i686/audacity-ffmpeg.patch  2015-11-15 05:03:38 UTC (rev 251082)
@@ -0,0 +1,30 @@
+diff -Naur audacity-src-2.0.6-orig/src/FFmpeg.h audacity-src-2.0.6/src/FFmpeg.h
+--- audacity-src-2.0.6-orig/src/FFmpeg.h       2014-09-28 21:54:55.159636208 
-0400
++++ audacity-src-2.0.6/src/FFmpeg.h    2014-09-28 21:55:11.246276766 -0400
+@@ -688,7 +688,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       AVOutputFormat*,
+       av_oformat_next,
+-      (AVOutputFormat *f),
++      (const AVOutputFormat *f),
+       (f)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(
+@@ -755,7 +755,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       int,
+       av_fifo_size,
+-      (AVFifoBuffer *f),
++      (const AVFifoBuffer *f),
+       (f)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(
+@@ -801,7 +801,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       AVDictionaryEntry *,
+       av_dict_get,
+-      (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int 
flags),
++      (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, 
int flags),
+       (m, key, prev, flags)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(

Copied: audacity/repos/testing-i686/audacity.install (from rev 251081, 
audacity/trunk/audacity.install)
===================================================================
--- testing-i686/audacity.install                               (rev 0)
+++ testing-i686/audacity.install       2015-11-15 05:03:38 UTC (rev 251082)
@@ -0,0 +1,13 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: audacity/repos/testing-x86_64/PKGBUILD (from rev 251081, 
audacity/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2015-11-15 05:03:38 UTC (rev 251082)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <[email protected]>
+
+pkgname=audacity
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="A program that lets you manipulate digital audio waveforms"
+arch=('i686' 'x86_64')
+url="http://audacityteam.org";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'wxgtk2.8' 'lame' 'lilv' 'soundtouch'
+        'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils')
+makedepends=('cmake' 'python2')
+options=('!makeflags')
+install=audacity.install
+source=(https://github.com/audacity/audacity/archive/Audacity-${pkgver}.zip
+        audacity-ffmpeg.patch)
+sha1sums=('3ff019e02a8ef9d712166dd1b466c494102a859a'
+          '5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
+
+prepare() {
+  cd audacity-Audacity-${pkgver}
+  patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
+}
+
+build() {
+  cd audacity-Audacity-${pkgver}
+  WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr 
--with-libsamplerate
+  make
+}
+
+package() {
+  cd audacity-Audacity-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: audacity/repos/testing-x86_64/audacity-ffmpeg.patch (from rev 251081, 
audacity/trunk/audacity-ffmpeg.patch)
===================================================================
--- testing-x86_64/audacity-ffmpeg.patch                                (rev 0)
+++ testing-x86_64/audacity-ffmpeg.patch        2015-11-15 05:03:38 UTC (rev 
251082)
@@ -0,0 +1,30 @@
+diff -Naur audacity-src-2.0.6-orig/src/FFmpeg.h audacity-src-2.0.6/src/FFmpeg.h
+--- audacity-src-2.0.6-orig/src/FFmpeg.h       2014-09-28 21:54:55.159636208 
-0400
++++ audacity-src-2.0.6/src/FFmpeg.h    2014-09-28 21:55:11.246276766 -0400
+@@ -688,7 +688,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       AVOutputFormat*,
+       av_oformat_next,
+-      (AVOutputFormat *f),
++      (const AVOutputFormat *f),
+       (f)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(
+@@ -755,7 +755,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       int,
+       av_fifo_size,
+-      (AVFifoBuffer *f),
++      (const AVFifoBuffer *f),
+       (f)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(
+@@ -801,7 +801,7 @@
+    FFMPEG_FUNCTION_WITH_RETURN(
+       AVDictionaryEntry *,
+       av_dict_get,
+-      (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int 
flags),
++      (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, 
int flags),
+       (m, key, prev, flags)
+    );
+    FFMPEG_FUNCTION_WITH_RETURN(

Copied: audacity/repos/testing-x86_64/audacity.install (from rev 251081, 
audacity/trunk/audacity.install)
===================================================================
--- testing-x86_64/audacity.install                             (rev 0)
+++ testing-x86_64/audacity.install     2015-11-15 05:03:38 UTC (rev 251082)
@@ -0,0 +1,13 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Reply via email to