Commit cb8cf26a authored by gnastyle's avatar gnastyle

imported aften, dcaenc and twolame needed for avidemux

parent 25912ab9
# contribution from Arch https://aur.archlinux.org/packages/aften/
pkgname=aften
pkgver=0.0.8
pkgrel=1
arch=('x86_64')
pkgdesc="Audio encoder which generates compressed audio streams based on ATSC A/52 specification."
url="http://sourceforge.net/projects/aften/"
license=('GPL')
depends=('glibc')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/aften/${pkgname}-${pkgver}.tar.bz2")
sha512sums=('1261297eac5065c6f028618d3e15e9b152ac35440c74cfb09d98cd99a90fb1c6a49585f70928834c3f6ddbcdd1d8721f7329d24f57cd30901dff09bbc0d419e3')
prepare() {
mkdir -p build
}
build() {
cd build
cmake "../${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSHARED=ON
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
# contribution from Arch https://aur.archlinux.org/packages/dcaenc/
pkgname=dcaenc
pkgver=2
pkgrel=1
pkgdesc="A Free Software (LGPL-licensed) encoder for the DTS Coherent Acoustics audio format."
arch=('x86_64')
url="http://aepatrakov.narod.ru/dcaenc/"
license=('LGPL')
depends=('alsa-lib')
options=(!libtool)
source=("http://aepatrakov.narod.ru/olderfiles/1/dcaenc-${pkgver}.tar.gz")
sha512sums=('0029f7c3b06199fb8100ce933827013fdc58e5fddf984ddf1744849e5d6cc24ce76e09b868eef19a49e1036a142419c3304c1822492f64301ed4feaa6bea4910')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${pkgname}-${pkgver}"
make -k check
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
\ No newline at end of file
# contribution from Arch https://www.archlinux.org/packages/community/x86_64/twolame/
pkgname=twolame
pkgver=0.3.13
pkgrel=1
pkgdesc="An optimized MPEG Audio Layer 2 (MP2) encoder"
arch=('x86_64')
url="http://www.twolame.org/"
license=('LGPL')
depends=('libsndfile')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('241ae5faebf05cb919959bb0545cb89e9b71cfb07f92a7118d864499ea4f0065ddaa646ab1482ffbcbca427d52c2436764074bd67fd19a1eb9979987f23163f7')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment