summaryrefslogtreecommitdiff
path: root/community/mediainfo-gui
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-04 03:52:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-04 03:52:56 +0000
commita78b434ff9cfdfb3d175c900ff622a561b84123f (patch)
tree7fe0aa5526dbda20077464989bf0b2cffc05efd3 /community/mediainfo-gui
parentf0127fa225ad83116fabd5f7d9df4c92cd23f6f1 (diff)
Tue Mar 4 03:48:46 UTC 2014
Diffstat (limited to 'community/mediainfo-gui')
-rw-r--r--community/mediainfo-gui/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
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 <pupykin.s+arch@gmail.com>
# Maintainer: hydro <hydro@freenet.de>
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" \