You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKGBUILD 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Maintainer: John Jenkins <twodopeshaggy@gmail.com>
  2. # Contributor: ksj <podhorsky.ksj@gmail.com>
  3. # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
  4. _pkgname=avidemux
  5. pkgname=avidemux-2.6
  6. pkgver=2.6.9
  7. pkgrel=2
  8. pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
  9. arch=(i686 x86_64)
  10. url=http://fixounet.free.fr/avidemux/
  11. license=(GPL2)
  12. depends=(twolame qt5-tools opencore-amr jack flac x264 x265 xvidcore sqlite libpulse libva libvdpau faac faad2 lame libdca fribidi libvpx fontconfig glu qt5-base)
  13. makedepends=(cmake yasm sdl libxv jack libsamplerate freetype2 libxext libxml2 pkg-config)
  14. optdepends=(libvorbis sdl alsa-lib libxv)
  15. conflicts=('avidemux' 'avidemux-cli' 'avidemux-gtk' 'avidemux-qt' 'avidemux-git')
  16. provides=($pkgname=$pkgver)
  17. options=('!makeflags')
  18. source=(http://sourceforge.net/projects/avidemux/files/avidemux/"$pkgver"/"$_pkgname"_"$pkgver".tar.gz)
  19. sha256sums=('c073bdb966bc0ab0dc3bbc7b5119fb81509b9d6cd90b916183a99ec6627e5006')
  20. sha512sums=('5607eeb87e00d796fe333026f4cbd161b2be32271179c4e6fdee2a8c07a754f0fade6f0d696dac7844df774e984f0dd6083c4a694422f1ecf94711eb7b1f434c')
  21. build() {
  22. cd $srcdir/"$_pkgname"_"$pkgver"
  23. bash bootStrap.bash --enable-qt5
  24. sed -i -e 's/avidemux2_gtk/avidemux3_qt5/g' "$_pkgname"2.desktop
  25. sed -i -e 's/avidemux2/avidemux/g' "$_pkgname"2.desktop
  26. }
  27. package() {
  28. cd $srcdir/"$_pkgname"_"$pkgver"/install
  29. cp -R usr/ "$pkgdir"/
  30. cd $srcdir/"$_pkgname"_"$pkgver"
  31. install -Dm644 "$_pkgname"_icon.png "$pkgdir"/usr/share/pixmaps/avidemux.png
  32. install -Dm644 "$_pkgname"2.desktop "$pkgdir"/usr/share/applications/avidemux.desktop
  33. }