diff options
author | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
commit | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch) | |
tree | 1f60e792a546a9484aec590ce687df8f0ec6c697 /extra/avidemux | |
parent | c81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff) |
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'extra/avidemux')
-rw-r--r-- | extra/avidemux/PKGBUILD | 28 | ||||
-rw-r--r-- | extra/avidemux/avidemux.install | 11 |
2 files changed, 23 insertions, 16 deletions
diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD index 3f34eaf4f..59dec52ad 100644 --- a/extra/avidemux/PKGBUILD +++ b/extra/avidemux/PKGBUILD @@ -1,29 +1,22 @@ -# $Id: PKGBUILD 117286 2011-03-30 16:57:22Z ibiru $ -# Maintainer: Eric Belanger <eric@archlinux.org> +# $Id: PKGBUILD 126410 2011-06-05 07:19:37Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgbase=avidemux pkgname=('avidemux-cli' 'avidemux-gtk' 'avidemux-qt') -pkgver=2.5.4 -pkgrel=4 +pkgver=2.5.5 +pkgrel=1 arch=('i686' 'x86_64') license=('GPL') url="http://fixounet.free.fr/avidemux/" makedepends=('cmake' 'libxslt' 'gtk2' 'qt' 'jack' 'esound' 'libvorbis' 'sdl' 'libxv' \ 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' \ - 'opencore-amr' 'yasm' 'mesa' 'libvpx') -source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz 2.5.4_audioDevice.patch - x264.patch) -md5sums=('b849460f6480df92bfd72d1a3dc288d4' - 'ef375051a12c911c6bd8a7bf85b76330' - '0d01294b8171a856f718ab8131bea074') + 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse') +source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz) +md5sums=('33bbe210c6826cea1987ed18a41d57a7') build() { cd "${srcdir}/${pkgbase}_${pkgver}" - #gcc 4.6 workaround - export CXXFLAGS="$CXXFLAGS -fpermissive" - patch -p0 < ../2.5.4_audioDevice.patch - patch -Np1 -i "${srcdir}/x264.patch" mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_SKIP_RPATH=ON -D GTK=1 -D QT4=1 .. @@ -53,6 +46,7 @@ package_avidemux-cli() { 'opencore-amr: for the corresponding audio decoder plugin' 'esound: for the corresponding audio device plugin' 'jack: for the corresponding audio device plugin' + 'libpulse: for the corresponding audio device plugin' 'sdl: for the corresponding audio device plugin' 'x264: for the corresponding video encoder plugin' 'xvidcore: for the corresponding video encoder plugin') @@ -81,7 +75,8 @@ package_avidemux-cli() { package_avidemux-gtk() { pkgdesc="A graphical tool to edit video (filter/re-encode/split) - GTK GUI" - depends=("avidemux-cli=${pkgver}" 'gtk2' 'libxv') + depends=("avidemux-cli=${pkgver}" 'gtk2' 'libxv' 'desktop-file-utils') + install=avidemux.install cd "${srcdir}/${pkgbase}_${pkgver}" install -D -m755 build/avidemux/avidemux2_gtk "${pkgdir}/usr/bin/avidemux2_gtk" @@ -100,7 +95,8 @@ package_avidemux-gtk() { package_avidemux-qt() { pkgdesc="A graphical tool to edit video (filter/re-encode/split) - QT GUI" - depends=("avidemux-cli=${pkgver}" 'qt') + depends=("avidemux-cli=${pkgver}" 'qt' 'desktop-file-utils') + install=avidemux.install cd "${srcdir}/${pkgbase}_${pkgver}" install -D -m755 build/avidemux/avidemux2_qt4 "${pkgdir}/usr/bin/avidemux2_qt4" diff --git a/extra/avidemux/avidemux.install b/extra/avidemux/avidemux.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/extra/avidemux/avidemux.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |