Guest User

avxsynth PKGBUILD

a guest
Apr 14th, 2016
135
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
  2.  
  3. pkgbase=avxsynth-git
  4. pkgname=('avxsynth-git' 'avxedit-git')
  5. pkgver=20150407.80dcb7e
  6. pkgrel=1
  7. pkgdesc="Linux Port of AviSynth. (Git version)"
  8. arch=('i686' 'x86_64')
  9. url='http://www.avxsynth.org'
  10. license=('GPL2')
  11. makedepends=('git'
  12. 'yasm'
  13. 'subversion'
  14. 'python2'
  15. 'qt4'
  16. 'mplayer'
  17. 'log4cpp'
  18. 'pango'
  19. 'ffms2'
  20. )
  21. source=('git+https://github.com/avxsynth/avxsynth.git')
  22. sha1sums=('SKIP')
  23.  
  24. pkgver() {
  25. cd avxsynth
  26. echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
  27. }
  28.  
  29. prepare() {
  30. cd avxsynth
  31. autoreconf -if
  32. }
  33.  
  34. build() {
  35. cd avxsynth
  36. ./configure \
  37. --prefix=/usr \
  38. --enable-silent-rules \
  39. --disable-ffms2
  40. make
  41. }
  42.  
  43. package_avxsynth-git() {
  44. pkgdesc="Linux Port of AviSynth. (Git version)"
  45. depends=('ffms2'
  46. 'ffmpeg'
  47. 'log4cpp'
  48. 'pango'
  49. )
  50. provides=('avxsynth')
  51. conflicts=('avxsynth')
  52.  
  53. make -C avxsynth DESTDIR="${pkgdir}" install
  54. make -C avxsynth/apps/AVXEdit DESTDIR="${pkgdir}" uninstall
  55. }
  56.  
  57. package_avxedit-git() {
  58. pkgdesc="Simple Qt4 frontend for create/edit/test AvxSynth scripts. (Git version)"
  59. depends=('qt4'
  60. 'avxsynth-git'
  61. )
  62. provides=('avxedit')
  63. conflicts=('avxedit')
  64.  
  65. make -C avxsynth/apps/AVXEdit DESTDIR="${pkgdir}" install
  66. }
RAW Paste Data