[arch-commits] Commit in alsa-plugins/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Tue Feb 16 01:52:41 UTC 2016
Date: Tuesday, February 16, 2016 @ 02:52:41
Author: anatolik
Revision: 259368
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
alsa-plugins/repos/staging-i686/
alsa-plugins/repos/staging-i686/0001-Do-not-use-deprecated-FFmpeg-API.patch
(from rev 259367, alsa-plugins/trunk/0001-Do-not-use-deprecated-FFmpeg-API.patch)
alsa-plugins/repos/staging-i686/PKGBUILD
(from rev 259367, alsa-plugins/trunk/PKGBUILD)
alsa-plugins/repos/staging-x86_64/
alsa-plugins/repos/staging-x86_64/0001-Do-not-use-deprecated-FFmpeg-API.patch
(from rev 259367, alsa-plugins/trunk/0001-Do-not-use-deprecated-FFmpeg-API.patch)
alsa-plugins/repos/staging-x86_64/PKGBUILD
(from rev 259367, alsa-plugins/trunk/PKGBUILD)
------------------------------------------------------------+
staging-i686/0001-Do-not-use-deprecated-FFmpeg-API.patch | 26 ++++++
staging-i686/PKGBUILD | 43 +++++++++++
staging-x86_64/0001-Do-not-use-deprecated-FFmpeg-API.patch | 26 ++++++
staging-x86_64/PKGBUILD | 43 +++++++++++
4 files changed, 138 insertions(+)
Copied: alsa-plugins/repos/staging-i686/0001-Do-not-use-deprecated-FFmpeg-API.patch (from rev 259367, alsa-plugins/trunk/0001-Do-not-use-deprecated-FFmpeg-API.patch)
===================================================================
--- staging-i686/0001-Do-not-use-deprecated-FFmpeg-API.patch (rev 0)
+++ staging-i686/0001-Do-not-use-deprecated-FFmpeg-API.patch 2016-02-16 01:52:41 UTC (rev 259368)
@@ -0,0 +1,26 @@
+From a257818815ce00349a76aaf6c7826070a57c06f7 Mon Sep 17 00:00:00 2001
+From: Anatol Pomozov <anatol.pomozov at gmail.com>
+Date: Mon, 15 Feb 2016 17:40:41 -0800
+Subject: [PATCH] Do not use deprecated FFmpeg API
+
+This API as been removed in ffmpeg 3.0 (commit 2d40968dd3ff17b12f7)
+---
+ a52/pcm_a52.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c
+index 88529eb..6fad77d 100644
+--- a/a52/pcm_a52.c
++++ b/a52/pcm_a52.c
+@@ -39,7 +39,7 @@
+ #endif
+
+ #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 34, 0)
+-#include <libavutil/audioconvert.h>
++#include <libavutil/channel_layout.h>
+ #include <libavutil/mem.h>
+ #define USE_AVCODEC_FRAME
+ #endif
+--
+2.7.1
+
Copied: alsa-plugins/repos/staging-i686/PKGBUILD (from rev 259367, alsa-plugins/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-02-16 01:52:41 UTC (rev 259368)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=alsa-plugins
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Extra alsa plugins"
+arch=(i686 x86_64)
+url="http://www.alsa-project.org"
+license=(GPL)
+depends=(alsa-lib)
+makedepends=(libpulse jack ffmpeg)
+optdepends=('libpulse: PulseAudio plugin'
+ 'jack: Jack plugin'
+ 'ffmpeg: libavcodec resampling plugin, a52 plugin'
+ 'libsamplerate: libsamplerate resampling plugin'
+ 'speex: libspeexdsp resampling plugin')
+source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
+ 0001-Do-not-use-deprecated-FFmpeg-API.patch)
+sha1sums=('1436db17989468d082691b817b338e44ba932c4b'
+ '6b032eb20ea1222e78dc862e61e5dad70a8ef2bb')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 < ../0001-Do-not-use-deprecated-FFmpeg-API.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ CFLAGS+=' -DHAVE_STDINT_H' # We have issue similar to this one https://code.google.com/p/cantata/issues/detail?id=627
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
+}
Copied: alsa-plugins/repos/staging-x86_64/0001-Do-not-use-deprecated-FFmpeg-API.patch (from rev 259367, alsa-plugins/trunk/0001-Do-not-use-deprecated-FFmpeg-API.patch)
===================================================================
--- staging-x86_64/0001-Do-not-use-deprecated-FFmpeg-API.patch (rev 0)
+++ staging-x86_64/0001-Do-not-use-deprecated-FFmpeg-API.patch 2016-02-16 01:52:41 UTC (rev 259368)
@@ -0,0 +1,26 @@
+From a257818815ce00349a76aaf6c7826070a57c06f7 Mon Sep 17 00:00:00 2001
+From: Anatol Pomozov <anatol.pomozov at gmail.com>
+Date: Mon, 15 Feb 2016 17:40:41 -0800
+Subject: [PATCH] Do not use deprecated FFmpeg API
+
+This API as been removed in ffmpeg 3.0 (commit 2d40968dd3ff17b12f7)
+---
+ a52/pcm_a52.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c
+index 88529eb..6fad77d 100644
+--- a/a52/pcm_a52.c
++++ b/a52/pcm_a52.c
+@@ -39,7 +39,7 @@
+ #endif
+
+ #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 34, 0)
+-#include <libavutil/audioconvert.h>
++#include <libavutil/channel_layout.h>
+ #include <libavutil/mem.h>
+ #define USE_AVCODEC_FRAME
+ #endif
+--
+2.7.1
+
Copied: alsa-plugins/repos/staging-x86_64/PKGBUILD (from rev 259367, alsa-plugins/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-02-16 01:52:41 UTC (rev 259368)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=alsa-plugins
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Extra alsa plugins"
+arch=(i686 x86_64)
+url="http://www.alsa-project.org"
+license=(GPL)
+depends=(alsa-lib)
+makedepends=(libpulse jack ffmpeg)
+optdepends=('libpulse: PulseAudio plugin'
+ 'jack: Jack plugin'
+ 'ffmpeg: libavcodec resampling plugin, a52 plugin'
+ 'libsamplerate: libsamplerate resampling plugin'
+ 'speex: libspeexdsp resampling plugin')
+source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
+ 0001-Do-not-use-deprecated-FFmpeg-API.patch)
+sha1sums=('1436db17989468d082691b817b338e44ba932c4b'
+ '6b032eb20ea1222e78dc862e61e5dad70a8ef2bb')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 < ../0001-Do-not-use-deprecated-FFmpeg-API.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ CFLAGS+=' -DHAVE_STDINT_H' # We have issue similar to this one https://code.google.com/p/cantata/issues/detail?id=627
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
+}
More information about the arch-commits
mailing list