[arch-commits] Commit in libsoxr/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Mar 6 21:53:22 UTC 2018
Date: Tuesday, March 6, 2018 @ 21:53:21
Author: alucryd
Revision: 317956
archrelease: copy trunk to extra-x86_64
Added:
libsoxr/repos/extra-x86_64/PKGBUILD
(from rev 317955, libsoxr/trunk/PKGBUILD)
Deleted:
libsoxr/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 55 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-06 21:53:06 UTC (rev 317955)
+++ PKGBUILD 2018-03-06 21:53:21 UTC (rev 317956)
@@ -1,48 +0,0 @@
-# $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/extra-x86_64/PKGBUILD (from rev 317955, libsoxr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-06 21:53:21 UTC (rev 317956)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Anatol Pomozov
+# Contributor: JSpaces <jspace at unseen.is>
+# Contributor: Triode <triode1 at btinternet.com>
+
+pkgname=libsoxr
+pkgver=0.1.3
+pkgrel=1
+pkgdesc='The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio'
+arch=('x86_64')
+url='http://sourceforge.net/p/soxr/wiki/Home/'
+license=('GPL')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz")
+sha1sums=('32ea46b1a8c0c15f835422892d02fce8286aec3c')
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd build
+
+ cmake ../soxr-${pkgver}-Source \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DBUILD_EXAMPLES='OFF' \
+ -DBUILD_SHARED_LIBS='ON' \
+ -DWITH_AVFFT='ON' \
+ -DWITH_LSR_BINDINGS='ON' \
+ -DWITH_OPENMP='ON' \
+ -DWITH_PFFFT='ON'
+ make
+}
+
+check() {
+ cd build
+
+ make test
+}
+
+package() {
+ cd build
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/share/doc
+ install -Dm644 ../soxr-${pkgver}-Source/LICENCE -t "${pkgdir}"/usr/share/licenses/libsoxr/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list