template 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Template file for 'avidemux'
  2. pkgname=avidemux
  3. version=2.7.6
  4. revision=1
  5. # Can't be compiled for aarch64, arm* or mips*
  6. archs="x86_64* i686*"
  7. wrksrc="${pkgname}_${version}"
  8. hostmakedepends="cmake pkg-config qt5-host-tools qt5-devel tar yasm"
  9. makedepends="alsa-lib-devel faad2-devel gettext-devel jack-devel glu-devel
  10. lame-devel libass-devel libdca-devel libvorbis-devel libXv-devel
  11. vapoursynth-devel libmp4v2-devel sqlite-devel libva-devel libvdpau-devel
  12. qt5-multimedia-devel qt5-script-devel qt5-tools-devel ffmpeg-devel
  13. liba52-devel libmad-devel x264-devel x265-devel xvidcore-devel"
  14. depends="python"
  15. short_desc="Video editing and processing application"
  16. maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
  17. license="GPL-2.0-or-later"
  18. homepage="http://avidemux.sourceforge.net/"
  19. changelog="http://avidemux.sourceforge.net/news.html"
  20. distfiles="${SOURCEFORGE_SITE}/avidemux/avidemux/${version}/${pkgname}_${version}.tar.gz"
  21. checksum=9a88741f3535443d4bde35d4207ca2ff96d3b136db2e7232cb50dd6b4eb293cf
  22. do_configure() {
  23. MAKEFLAGS=${makejobs} \
  24. bash bootStrap.bash \
  25. --with-system-libass \
  26. --with-system-liba52 \
  27. --with-system-libmad \
  28. --with-system-libmp4v2 \
  29. ${cross_compile}
  30. }
  31. do_install() {
  32. cp -aR install/usr ${DESTDIR}
  33. ln -s avidemux3_qt5 ${DESTDIR}/usr/bin/avidemux
  34. vman man/avidemux.1
  35. vinstall avidemux_icon.png 644 usr/share/pixmaps avidemux.png
  36. vinstall appImage/avidemux.desktop 644 usr/share/applications
  37. }