Advertisement
Guest User

Untitled

a guest
Apr 19th, 2021
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # Maintainer: osch <oliver@luced.de>
  2.  
  3. pkgname=audacity-wxgtk2
  4. pkgver=3.0.2
  5. pkgrel=1
  6. pkgdesc="Record and edit audio files"
  7. arch=('x86_64')
  8. url="https://audacityteam.org"
  9. license=('GPL2' 'CCPL')
  10. groups=('pro-audio')
  11. depends=('libmad' 'libid3tag' 'gtk2' 'glib2' 'soundtouch' 'ffmpeg' 'vamp-plugin-sdk'
  12. 'portsmf' 'portmidi' 'twolame' 'suil' 'lilv' 'lv2' 'serd' 'sord' 'sratom' 'python'
  13. 'flac' 'libvorbis' 'libogg' 'vamp-plugin-sdk' 'portaudio' 'libsoxr' 'libsndfile' 'lame'
  14. 'expat')
  15. makedepends=('cmake' 'autoconf' 'automake' 'libtool')
  16. provides=("audacity")
  17. conflicts=("audacity")
  18. source=("https://github.com/audacity/audacity/archive/Audacity-${pkgver}.tar.gz")
  19. sha512sums=('1ea5b84b3938a448c4ab3b6a97432e4fb59f62d14f65f277047258c473501952ed53dea8860def875183ff09dd92e6e58949db876984c07a964373052bb5943e')
  20.  
  21. prepare() {
  22. mv -v "audacity-Audacity-${pkgver}" "${pkgname}-${pkgver}"
  23. cd "${pkgname}-${pkgver}"
  24. mkdir build
  25. cd build
  26. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -Daudacity_use_ffmpeg=loaded -Daudacity_use_wxwidgets=local ..
  27. }
  28.  
  29. build() {
  30. cd "${pkgname}-${pkgver}"/build
  31. make
  32. }
  33.  
  34. package() {
  35. cd "${pkgname}-${pkgver}"/build
  36. make DESTDIR="${pkgdir}" install
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement