Browse Source
subrepo: subdir: "libsoxr" merged: "18e39b3" upstream: origin: "gitea@gitea.artixlinux.org:packagesL/libsoxr.git" branch: "master" commit: "18e39b3" git-subrepo: version: "0.4.0" origin: "???" commit: "???"master
7 changed files with 165 additions and 0 deletions
@ -0,0 +1,33 @@
|
||||
# ---> ArchLinuxPackages |
||||
*.tar |
||||
*.tar.* |
||||
*.jar |
||||
*.exe |
||||
*.msi |
||||
*.zip |
||||
*.tgz |
||||
*.log |
||||
*.log.* |
||||
*.sig |
||||
|
||||
pkg/ |
||||
src/ |
||||
|
||||
|
||||
# ---> Archives |
||||
*.7z |
||||
*.rar |
||||
*.gz |
||||
*.bzip |
||||
*.bz2 |
||||
*.xz |
||||
*.lzma |
||||
*.cab |
||||
|
||||
# ---> systemd |
||||
*.service |
||||
*.socket |
||||
*.timer |
||||
|
||||
# ---> snap |
||||
*.snap |
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing) |
||||
; |
||||
; This subdirectory is a git "subrepo", and this file is maintained by the |
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme |
||||
; |
||||
[subrepo] |
||||
remote = gitea@gitea.artixlinux.org:packagesL/libsoxr.git |
||||
branch = master |
||||
commit = 18e39b382f7fa91e4af01a17df32ecc000cbbe9d |
||||
parent = fb2a3021c495b115ab6fd0a0df3ae48d4aa9fe1f |
||||
method = merge |
||||
cmdver = 0.4.0 |
@ -0,0 +1,3 @@
|
||||
@Library('artix-ci') import org.artixlinux.RepoPackage |
||||
|
||||
PackagePipeline(new RepoPackage(this)) |
@ -0,0 +1,55 @@
|
||||
# $Id$ |
||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org> |
||||
# Contributor: Anatol Pomozov |
||||
# Contributor: JSpaces <jspace@unseen.is> |
||||
# Contributor: Triode <triode1@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: |
@ -0,0 +1,55 @@
|
||||
# $Id$ |
||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org> |
||||
# Contributor: Anatol Pomozov |
||||
# Contributor: JSpaces <jspace@unseen.is> |
||||
# Contributor: Triode <triode1@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: |
Loading…
Reference in new issue