summaryrefslogtreecommitdiff
path: root/community/mediainfo-gui
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/mediainfo-gui
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/mediainfo-gui')
-rw-r--r--community/mediainfo-gui/PKGBUILD34
-rw-r--r--community/mediainfo-gui/mediainfo-gui.install11
2 files changed, 45 insertions, 0 deletions
diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD
new file mode 100644
index 000000000..cf721eebe
--- /dev/null
+++ b/community/mediainfo-gui/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 90926 2013-05-15 13:47:03Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: hydro <hydro@freenet.de>
+
+pkgname=mediainfo-gui
+pkgver=0.7.63
+pkgrel=1
+pkgdesc="GUI for mediainfo"
+arch=('i686' 'x86_64')
+url="http://mediainfo.sourceforge.net"
+license=('GPL')
+depends=('libmediainfo' 'wxgtk')
+makedepends=('libtool' 'automake' 'autoconf')
+install=mediainfo-gui.install
+source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2)
+md5sums=('bd794e4066b6bb197af23cb7b8ba832b')
+
+build() {
+ cd $srcdir/MediaInfo/Project/GNU/GUI
+ sh ./autogen
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/MediaInfo/Project/GNU/GUI
+ make DESTDIR=$pkgdir install
+ install -D -m 644 $srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png \
+ $pkgdir/usr/share/icons/hicolor/128x128/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 \
+ $pkgdir/usr/share/applications/mediainfo-gui.desktop
+}
diff --git a/community/mediainfo-gui/mediainfo-gui.install b/community/mediainfo-gui/mediainfo-gui.install
new file mode 100644
index 000000000..28d8f7815
--- /dev/null
+++ b/community/mediainfo-gui/mediainfo-gui.install
@@ -0,0 +1,11 @@
+post_install() {
+ which gtk-update-icon-cache >/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}