[arch-commits] Commit in audacity/repos (8 files)

Maxime Gauduin alucryd at archlinux.org
Sat Apr 16 17:04:53 UTC 2016


    Date: Saturday, April 16, 2016 @ 19:04:53
  Author: alucryd
Revision: 265054

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

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

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

Copied: audacity/repos/staging-i686/PKGBUILD (from rev 265053, audacity/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-04-16 17:04:53 UTC (rev 265054)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=audacity
+pkgver=2.1.2
+pkgrel=2
+pkgdesc="A program that lets you manipulate digital audio waveforms"
+arch=('i686' 'x86_64')
+url="http://audacityteam.org"
+license=('GPL')
+depends=('libmad' 'libid3tag' 'wxgtk' '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=('ced07f7401bef12d7ec0bc033409c9baa956c5c5'
+          '5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
+
+prepare() {
+  cd audacity-Audacity-${pkgver}
+  patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
+}
+
+build() {
+  cd audacity-Audacity-${pkgver}
+  ./configure --prefix=/usr --with-libsamplerate
+  make
+}
+
+package() {
+  cd audacity-Audacity-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: audacity/repos/staging-i686/audacity-ffmpeg.patch (from rev 265053, audacity/trunk/audacity-ffmpeg.patch)
===================================================================
--- staging-i686/audacity-ffmpeg.patch	                        (rev 0)
+++ staging-i686/audacity-ffmpeg.patch	2016-04-16 17:04:53 UTC (rev 265054)
@@ -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/staging-i686/audacity.install (from rev 265053, audacity/trunk/audacity.install)
===================================================================
--- staging-i686/audacity.install	                        (rev 0)
+++ staging-i686/audacity.install	2016-04-16 17:04:53 UTC (rev 265054)
@@ -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/staging-x86_64/PKGBUILD (from rev 265053, audacity/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-04-16 17:04:53 UTC (rev 265054)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=audacity
+pkgver=2.1.2
+pkgrel=2
+pkgdesc="A program that lets you manipulate digital audio waveforms"
+arch=('i686' 'x86_64')
+url="http://audacityteam.org"
+license=('GPL')
+depends=('libmad' 'libid3tag' 'wxgtk' '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=('ced07f7401bef12d7ec0bc033409c9baa956c5c5'
+          '5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
+
+prepare() {
+  cd audacity-Audacity-${pkgver}
+  patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
+}
+
+build() {
+  cd audacity-Audacity-${pkgver}
+  ./configure --prefix=/usr --with-libsamplerate
+  make
+}
+
+package() {
+  cd audacity-Audacity-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: audacity/repos/staging-x86_64/audacity-ffmpeg.patch (from rev 265053, audacity/trunk/audacity-ffmpeg.patch)
===================================================================
--- staging-x86_64/audacity-ffmpeg.patch	                        (rev 0)
+++ staging-x86_64/audacity-ffmpeg.patch	2016-04-16 17:04:53 UTC (rev 265054)
@@ -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/staging-x86_64/audacity.install (from rev 265053, audacity/trunk/audacity.install)
===================================================================
--- staging-x86_64/audacity.install	                        (rev 0)
+++ staging-x86_64/audacity.install	2016-04-16 17:04:53 UTC (rev 265054)
@@ -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
+}



More information about the arch-commits mailing list