mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
imported aften, dcaenc and twolame needed for avidemux
This commit is contained in:
parent
25912ab943
commit
cb8cf26a37
30
aften/PKGBUILD
Normal file
30
aften/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# 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
|
||||
}
|
29
dcaenc/PKGBUILD
Normal file
29
dcaenc/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# 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
|
||||
}
|
26
twolame/PKGBUILD
Normal file
26
twolame/PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user