From a78b434ff9cfdfb3d175c900ff622a561b84123f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 4 Mar 2014 03:52:56 +0000 Subject: Tue Mar 4 03:48:46 UTC 2014 --- community/mediainfo-gui/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'community/mediainfo-gui') diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 221b9be17..9e3280861 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 105973 2014-02-20 09:02:55Z spupykin $ +# $Id: PKGBUILD 106439 2014-03-03 06:36:23Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=mediainfo-gui pkgver=0.7.67 -pkgrel=1 +pkgrel=2 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64') url="http://mediainfo.sourceforge.net" license=('GPL') depends=('libmediainfo' 'wxgtk' 'libsm' 'desktop-file-utils') +makedepends=('imagemagick') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) md5sums=('480ac31a4080737f21937f9d260b96de') @@ -24,8 +25,9 @@ build() { package() { cd MediaInfo/Project/GNU/GUI make DESTDIR="$pkgdir" install + _iconsize=`identify $srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png | grep -oP ' \d+x\d+ ' | tr -d ' '` install -D -m 644 "$srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png" \ - "$pkgdir/usr/share/icons/hicolor/128x128/apps/mediainfo.png" + "$pkgdir/usr/share/icons/hicolor/${_iconsize}/apps/mediainfo.png" install -D -m 644 "$srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png" \ "$pkgdir/usr/share/pixmaps/mediainfo-gui.png" install -D -m 644 "$srcdir/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop" \ -- cgit v1.2.3-54-g00ecf