Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #maintainer fulvio at pc_dot_jaring_dot_my
- # Setting to be edited according one's needs
- # Default is for Qt4 interface
- _buildCORE="--with-core" # this defaults to non gui base installation
- _buildCLI="--with-cli" # this defaults to minimal cli installation
- _buildQT="--with-qt4" # QT4 is preferred
- _buildPLG="--with-plugins" # additional plugins
- _buildGTK="--without-gtk" # use this if GTK is preferred, GTK QT, both also possible
- pkgname=avidemux-2.6-nightly
- pkgver=snapshot
- pkgrel=8194
- pkgdesc="A graphical tool to edit video(filter/re-encode/split) nightly built (unstable)"
- arch=('i686' 'x86_64')
- url="http://www.avidemux.org/"
- license=('GPL2')
- depends=('pkg-config' 'libpulse' 'libdca' 'faac' 'lame' 'xvidcore' 'opencore-amr' 'libvpx' 'faad2' 'jack' 'aften' 'x264' 'mesa' 'libva' 'dcaenc')
- makedepends=('cmake' 'yasm')
- [ $(echo $_buildGTK | grep -c "out") == '0' ] && depends+=( 'gtk2' )
- [ $(echo $_buildQT | grep -c "out") == '0' ] && depends+=( 'qt' )
- source=(http://avidemux.org/nightly/source/${pkgver}_${pkgrel}.tgz)
- md5sums=('0e21bcefb59d8a6bc20e887c2e6ccd5b')
- provides=('avidemux2.6')
- options=('!makeflags')
- build() {
- cd "${srcdir}"
- tar -xvf ${pkgver}_${pkgrel}.tgz
- cd ${pkgver}_${pkgrel}
- msg "Starting make..."
- bash bootStrap.bash ${_buildCORE} ${_buildCLI} ${_buildGTK} ${_buildQT} ${_buildPLG}
- }
- package() {
- mkdir -p "${srcdir}"/${pkgver}_${pkgrel}/install/usr/pixmaps
- cp ${pkgver}_${pkgrel}/avidemux_icon.png "${srcdir}"/${pkgver}_${pkgrel}/install/usr/pixmaps/avidemux3.png
- cp -R "${srcdir}"/${pkgver}_${pkgrel}/install/* "${pkgdir}"/
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement