PKGBUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Maintainer (Arch): David Runge <dave@archlinux.org>
  2. # Contributor (Arch): Ray Rashif <schiv@archlinux.org>
  3. # Contributor (Arch): Eric Belanger <eric@archlinux.org>
  4. # Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
  5. # Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
  6. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  7. pkgname=ecasound
  8. pkgver=2.9.3
  9. pkgrel=1
  10. pkgrel+=.parabola1
  11. pkgdesc="Command-line multitrack audio processor"
  12. pkgdesc+=", without nonfree faac recommendation"
  13. arch=('x86_64')
  14. arch+=('i686' 'armv7h')
  15. url="https://ecasound.seul.org/ecasound/"
  16. license=('GPL2' 'LGPL2.1')
  17. groups=('pro-audio')
  18. depends=('alsa-lib' 'gcc-libs' 'glibc' 'libjack.so' 'libaudiofile.so'
  19. 'liblo.so' 'liblilv-0.so' 'libreadline.so' 'libsndfile.so' 'libncursesw.so')
  20. makedepends=('lv2' 'ruby' 'python' 'libmikmod.so')
  21. optdepends=('bash: for libecasoundc-config and libecasound-config'
  22. 'lame: MP3 encoding'
  23. 'libfaad2: for .aac/.m4a/.mp4 file support'
  24. 'libmikmod.so: for tracker module'
  25. 'mpg123: MP3 decoding'
  26. 'python: for ecamonitor'
  27. 'ruby: ECI API'
  28. 'timidity++: for .mid file support'
  29. 'vorbis-tools: for .ogg file support')
  30. replaces=("${pkgname}-libre" "${pkgname}-parabola")
  31. conflicts=("${pkgname}-libre" "${pkgname}-parabola")
  32. source=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz")
  33. sha512sums=('4f70e6f54cd05194a4ffe80905e7488d16d32d684c87736dfdac7b3aebf3d20cbf417964d75e00e781f6f0614b8b699061c69fcbf7e1761d66ce1abfcd5f1140')
  34. prepare() {
  35. cd "$pkgname-$pkgver"
  36. # lv2core is deprecated in favor of lv2:
  37. # https://sourceforge.net/p/ecasound/bugs/52/
  38. sed -e 's/lv2core/lv2/g' -i configure.ac
  39. # install ruby integration to vendor_ruby
  40. sed -e 's/sitedir/vendordir/' -i configure.ac
  41. autoreconf -vfi
  42. }
  43. build() {
  44. cd "$pkgname-$pkgver"
  45. ./configure --prefix=/usr
  46. make
  47. }
  48. package() {
  49. cd "$pkgname-$pkgver"
  50. make DESTDIR="$pkgdir/" install
  51. # docs
  52. install -vDm 644 {AUTHORS,BUGS,NEWS,README,RELNOTES,TODO} \
  53. -t "${pkgdir}/usr/share/doc/${pkgname}/"
  54. }
  55. # vim:set ts=2 sw=2 et: