mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Maintainer: abveritas@chakra-project.org
|
|
|
|
|
|
pkgname=sox
|
|
pkgver=14.4.1
|
|
pkgrel=1
|
|
pkgdesc="The Swiss Army knife of sound processing tools"
|
|
arch=('x86_64')
|
|
url="http://sox.sourceforge.net/"
|
|
license=('GPL' 'LGPL')
|
|
depends=('libltdl' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr' 'gsm' 'pulseaudio')
|
|
makedepends=('ffmpeg' 'libao' 'libmad' 'libid3tag' 'wavpack')
|
|
optdepends=('libao: for ao plugin'
|
|
'ffmpeg: for ffmpeg plugin'
|
|
'libmad: for mp3 plugin'
|
|
'libid3tag: for mp3 plugin'
|
|
'wavpack: for wavpack plugin')
|
|
options=('!libtool')
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('ff9ca6aca972549de0e80e8e30ed379c')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
sed -i 's|man1/sox.1 soxeffect.7|man1/sox.1.gz soxeffect.7.gz|' Makefile.am
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-dyn-default \
|
|
--with-distro="Chakra-Linux"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|