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.5KB

123456789101112131415161718192021222324252627282930313233343536
  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=1
  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. provides=($pkgname=$pkgver)
  16. options=('!makeflags')
  17. source=(http://sourceforge.net/projects/avidemux/files/avidemux/"$pkgver"/"$_pkgname"_"$pkgver".tar.gz)
  18. sha256sums=('c073bdb966bc0ab0dc3bbc7b5119fb81509b9d6cd90b916183a99ec6627e5006')
  19. sha512sums=('5607eeb87e00d796fe333026f4cbd161b2be32271179c4e6fdee2a8c07a754f0fade6f0d696dac7844df774e984f0dd6083c4a694422f1ecf94711eb7b1f434c')
  20. build() {
  21. cd $srcdir/"$_pkgname"_"$pkgver"
  22. bash bootStrap.bash --without-qt4 --enable-qt5
  23. sed -i -e 's/avidemux2_gtk/avidemux3_qt5/g' "$_pkgname"2.desktop
  24. sed -i -e 's/avidemux2/avidemux/g' "$_pkgname"2.desktop
  25. }
  26. package() {
  27. cd $srcdir/"$_pkgname"_"$pkgver"
  28. cp -r install/usr/ "$pkgdir"/
  29. install -Dm644 "$_pkgname"_icon.png "$pkgdir"/usr/share/pixmaps/$_pkgname2.png
  30. desktop-file-install "$_pkgname"2.desktop --dir "$pkgdir"/usr/share/applications/$_pkgname.desktop
  31. }