[arch-commits] Commit in mediainfo-gui/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Mar 3 06:36:12 UTC 2014


    Date: Monday, March 3, 2014 @ 07:36:12
  Author: spupykin
Revision: 106438

upgpkg: mediainfo-gui 0.7.67-2

upd

Modified:
  mediainfo-gui/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-03 06:36:07 UTC (rev 106437)
+++ PKGBUILD	2014-03-03 06:36:12 UTC (rev 106438)
@@ -4,12 +4,13 @@
 
 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 @@
 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" \




More information about the arch-commits mailing list