mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=normalize
|
|
pkgver=0.7.7
|
|
pkgrel=11
|
|
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
|
|
arch=('x86_64')
|
|
url="http://normalize.nongnu.org"
|
|
license=('GPL')
|
|
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
|
|
makedepends=('pkg-config' 'intltool')
|
|
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
|
'normalize-0.7.7-audiofile-pkgconfig.patch'
|
|
'normalize-0.7.7-m4.patch')
|
|
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436'
|
|
'77d565e29bef11837e80347adfd42b58'
|
|
'0b4bca7bf183275b9f939576ebad4233')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
patch -p1 -i "${srcdir}/normalize-0.7.7-audiofile-pkgconfig.patch"
|
|
patch -p0 -i "${srcdir}/normalize-0.7.7-m4.patch"
|
|
|
|
touch AUTHORS NEWS ChangeLog
|
|
libtoolize --force --copy
|
|
aclocal -I m4
|
|
autoreconf
|
|
automake --add-missing
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--with-audiofile \
|
|
--with-mad
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|