summaryrefslogtreecommitdiff
path: root/pcr/libfilteraudio-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:40:00 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:40:00 -0500
commite439ff9d9454a1c2a992dd3d8c550a9a14c4cfa1 (patch)
tree78dfc4e2279ee301b72d051df88a70c96b432e54 /pcr/libfilteraudio-git
parentf9646a57ad356e5686452b8ae2aee00c2da4bd01 (diff)
downloadabslibre-e439ff9d9454a1c2a992dd3d8c550a9a14c4cfa1.tar.gz
abslibre-e439ff9d9454a1c2a992dd3d8c550a9a14c4cfa1.tar.bz2
abslibre-e439ff9d9454a1c2a992dd3d8c550a9a14c4cfa1.zip
libfilteraudio-git: add new package to [pcr]
Diffstat (limited to 'pcr/libfilteraudio-git')
-rw-r--r--pcr/libfilteraudio-git/LICENSE29
-rw-r--r--pcr/libfilteraudio-git/PKGBUILD38
2 files changed, 67 insertions, 0 deletions
diff --git a/pcr/libfilteraudio-git/LICENSE b/pcr/libfilteraudio-git/LICENSE
new file mode 100644
index 000000000..4c41b7b25
--- /dev/null
+++ b/pcr/libfilteraudio-git/LICENSE
@@ -0,0 +1,29 @@
+Copyright (c) 2011, The WebRTC project authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ * Neither the name of Google nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/pcr/libfilteraudio-git/PKGBUILD b/pcr/libfilteraudio-git/PKGBUILD
new file mode 100644
index 000000000..5e602d7ad
--- /dev/null
+++ b/pcr/libfilteraudio-git/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor (AUR): HÃ¥vard Pettersson <mail@haavard.me>
+# Contributor (AUR): Ivan Shapovalov <intelfx100 at gmail dot com>
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+
+_pkgname=libfilteraudio
+pkgname=libfilteraudio-git
+pkgver=r87.d64d957
+pkgrel=3
+pkgdesc="An easy to use audio filtering library made from webrtc code"
+arch=('i686' 'x86_64')
+url="https://github.com/irungentoo/filter_audio"
+license=('BSD3')
+makedepends=('git')
+depends=('glibc')
+provides=("${_pkgname}" 'filter_audio')
+conflicts=("${_pkgname}" 'filter_audio')
+source=(
+ "${_pkgname}::git://github.com/irungentoo/libfilteraudio.git"
+ 'LICENSE'
+)
+sha512sums=('SKIP'
+ 'ab7ea75c03fab3dfc5d452f04a38b42783f646c2e0acaf8494628bfdf6f83e4b04d470e019385de3e89dd57eb8ef6d02daa6256d4ff311cc66f3999b694ef143')
+
+pkgver() {
+ cd ${_pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${_pkgname}
+ make
+}
+
+package() {
+ cd ${_pkgname}
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}