Advertisement
Guest User

Avidemux3 nightly build

a guest
Sep 19th, 2012
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.61 KB | None | 0 0
  1. #maintainer fulvio at pc_dot_jaring_dot_my
  2. # Setting to be edited according one's needs
  3. # Default is for Qt4 interface
  4. _buildCORE="--with-core"          # this defaults to non gui base installation
  5. _buildCLI="--with-cli"            # this defaults to minimal cli installation
  6. _buildQT="--with-qt4"             # QT4 is preferred
  7. _buildPLG="--with-plugins"        # additional plugins
  8. _buildGTK="--without-gtk"         # use this if GTK is preferred, GTK QT, both also possible
  9.  
  10. pkgname=avidemux-2.6-nightly
  11. pkgver=snapshot
  12. pkgrel=8194
  13. pkgdesc="A graphical tool to edit video(filter/re-encode/split) nightly built (unstable)"
  14. arch=('i686' 'x86_64')
  15. url="http://www.avidemux.org/"
  16. license=('GPL2')
  17. depends=('pkg-config' 'libpulse' 'libdca' 'faac' 'lame' 'xvidcore' 'opencore-amr' 'libvpx' 'faad2' 'jack' 'aften' 'x264' 'mesa' 'libva' 'dcaenc')
  18. makedepends=('cmake' 'yasm')
  19. [ $(echo $_buildGTK | grep -c "out") == '0' ] && depends+=( 'gtk2' )
  20. [ $(echo $_buildQT | grep -c "out") == '0' ] && depends+=( 'qt' )
  21. source=(http://avidemux.org/nightly/source/${pkgver}_${pkgrel}.tgz)
  22. md5sums=('0e21bcefb59d8a6bc20e887c2e6ccd5b')
  23. provides=('avidemux2.6')
  24. options=('!makeflags')
  25.  
  26.  
  27. build() {
  28.     cd "${srcdir}"
  29.     tar -xvf ${pkgver}_${pkgrel}.tgz
  30.     cd  ${pkgver}_${pkgrel}
  31.     msg "Starting make..."
  32.     bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}
  33. }
  34. package() {
  35.     mkdir -p "${srcdir}"/${pkgver}_${pkgrel}/install/usr/pixmaps
  36.     cp  ${pkgver}_${pkgrel}/avidemux_icon.png "${srcdir}"/${pkgver}_${pkgrel}/install/usr/pixmaps/avidemux3.png
  37.     cp -R "${srcdir}"/${pkgver}_${pkgrel}/install/* "${pkgdir}"/
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement