Date: Saturday, October 22, 2011 @ 12:29:23 Author: giovanni Revision: 141052
upgpkg: mkvtoolnix 5.0.1-2 Added wxgtk GUI - Fixed FS26513 Added: mkvtoolnix/trunk/mkvtoolnix.install Modified: mkvtoolnix/trunk/PKGBUILD --------------------+ PKGBUILD | 10 +++++----- mkvtoolnix.install | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-10-22 15:12:07 UTC (rev 141051) +++ PKGBUILD 2011-10-22 16:29:23 UTC (rev 141052) @@ -3,13 +3,14 @@ pkgname=mkvtoolnix pkgver=5.0.1 -pkgrel=1 -pkgdesc="Set of tools to create, edit and inspect Matroska files - CLI version" +pkgrel=2 +pkgdesc="Set of tools to create, edit and inspect Matroska files" arch=('i686' 'x86_64') license=('GPL') url="http://www.bunkus.org/videotools/mkvtoolnix/index.html" -depends=('file' 'boost-libs' 'libmatroska' 'lzo2' 'expat' 'flac' 'libvorbis') +depends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk' 'boost-libs' 'lzo2' 'xdg-utils') makedepends=('boost' 'ruby') +install=mkvtoolnix.install source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2") md5sums=('93fbbe946de6013eca699c0c2a93a4e9') @@ -26,8 +27,7 @@ autoreconf ./configure --prefix=/usr \ - --with-boost-libdir=/usr/lib \ - --disable-gui + --with-boost-libdir=/usr/lib rake } Added: mkvtoolnix.install =================================================================== --- mkvtoolnix.install (rev 0) +++ mkvtoolnix.install 2011-10-22 16:29:23 UTC (rev 141052) @@ -0,0 +1,14 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + if [ -f usr/bin/update-mime-database ]; then + update-mime-database usr/share/mime &> /dev/null + fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + post_install $1 +}