Added libsamplerate-0.1.7 build template.
--HG-- extra : convert_revision : b8c1fc40e2f8f40f54786140b0c3081bbca3e3ff
This commit is contained in:
parent
d5cf470b59
commit
8f263f629a
4 changed files with 44 additions and 0 deletions
1
srcpkgs/libsamplerate-devel
Symbolic link
1
srcpkgs/libsamplerate-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libsamplerate
|
2
srcpkgs/libsamplerate/depends
Normal file
2
srcpkgs/libsamplerate/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.1.7"
|
||||
api_depends="${abi_depends}"
|
19
srcpkgs/libsamplerate/libsamplerate-devel.template
Normal file
19
srcpkgs/libsamplerate/libsamplerate-devel.template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'libsamplerate-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run libsoundfile-devel
|
||||
Add_dependency run libsamplerate
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
}
|
22
srcpkgs/libsamplerate/template
Normal file
22
srcpkgs/libsamplerate/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'libsamplerate'
|
||||
pkgname=libsamplerate
|
||||
version=0.1.7
|
||||
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="Sample Rate Converter for audio"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=e0a646224a0323ac63f56ef009b2d7fee11452a7b8af139b19ae71d2890dbc9c
|
||||
long_desc="
|
||||
One example of where such a thing would be useful is converting audio from
|
||||
the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players.
|
||||
|
||||
SRC is capable of arbitrary and time varying conversions; from downsampling
|
||||
by a factor of 256 to upsampling by the same factor. Arbitrary in this case
|
||||
means that the ratio of input and output sample rates can be an irrational
|
||||
number. The conversion ratio can also vary with time for speeding up and
|
||||
slowing down effects."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libsndfile
|
||||
Add_dependency build libsndfile-devel
|
Loading…
Reference in a new issue