[arch-commits] Commit in libsoxr/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Tue Sep 8 19:40:35 UTC 2015
Date: Tuesday, September 8, 2015 @ 21:40:35
Author: anatolik
Revision: 245610
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libsoxr/repos/testing-i686/
libsoxr/repos/testing-i686/PKGBUILD
(from rev 245609, libsoxr/trunk/PKGBUILD)
libsoxr/repos/testing-x86_64/
libsoxr/repos/testing-x86_64/PKGBUILD
(from rev 245609, libsoxr/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Copied: libsoxr/repos/testing-i686/PKGBUILD (from rev 245609, libsoxr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-08 19:40:35 UTC (rev 245610)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: JSpaces <jspace -aT- unseen -d0T- is>
+# Contributor: Triode <triode1 -aT- btinternet -d0t- com>
+
+pkgname=libsoxr
+pkgver=0.1.2
+pkgrel=1
+pkgdesc='The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio'
+arch=(i686 x86_64)
+url='http://sourceforge.net/p/soxr/wiki/Home/'
+license=(GPL)
+depends=(gcc-libs)
+makedepends=(cmake)
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz)
+sha1sums=('3b990f91dc8dc08e70626cd5fb90deda0239c211')
+
+build() {
+ cd soxr-$pkgver-Source
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DVISIBILITY_HIDDENL=ON \
+ -DWITH_AVFFT=ON \
+ -DWITH_DOUBLE_PRECISION=ON \
+ -DWITH_LSR_BINDINGS=ON \
+ -DWITH_OPENMP=ON \
+ -DWITH_PFFFT=ON \
+ -DWITH_SIMD=ON \
+ .
+ make
+}
+
+check() {
+ cd soxr-$pkgver-Source
+ make test
+}
+
+package() {
+ cd soxr-$pkgver-Source
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm -r "$pkgdir"/usr/share/doc/$pkgname/
+}
Copied: libsoxr/repos/testing-x86_64/PKGBUILD (from rev 245609, libsoxr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-08 19:40:35 UTC (rev 245610)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: JSpaces <jspace -aT- unseen -d0T- is>
+# Contributor: Triode <triode1 -aT- btinternet -d0t- com>
+
+pkgname=libsoxr
+pkgver=0.1.2
+pkgrel=1
+pkgdesc='The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio'
+arch=(i686 x86_64)
+url='http://sourceforge.net/p/soxr/wiki/Home/'
+license=(GPL)
+depends=(gcc-libs)
+makedepends=(cmake)
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz)
+sha1sums=('3b990f91dc8dc08e70626cd5fb90deda0239c211')
+
+build() {
+ cd soxr-$pkgver-Source
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DVISIBILITY_HIDDENL=ON \
+ -DWITH_AVFFT=ON \
+ -DWITH_DOUBLE_PRECISION=ON \
+ -DWITH_LSR_BINDINGS=ON \
+ -DWITH_OPENMP=ON \
+ -DWITH_PFFFT=ON \
+ -DWITH_SIMD=ON \
+ .
+ make
+}
+
+check() {
+ cd soxr-$pkgver-Source
+ make test
+}
+
+package() {
+ cd soxr-$pkgver-Source
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm -r "$pkgdir"/usr/share/doc/$pkgname/
+}
More information about the arch-commits
mailing list