mediainfo: add mediainfo-gui

This commit is contained in:
Georg Schabel 2015-05-06 19:26:18 +02:00
parent 1ff906ae01
commit 727b4517ae
2 changed files with 21 additions and 1 deletions

1
srcpkgs/mediainfo-gui Symbolic link
View file

@ -0,0 +1 @@
mediainfo

View file

@ -13,7 +13,8 @@ checksum=1fde5b2972d923f7f87c2b2e738e8a086603243770961b077cf558f9836e612e
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libmediainfo-devel libzen-devel zlib-devel"
makedepends="libmediainfo-devel zlib-devel
libmagick-devel wxGTK-devel wxWidgets-devel"
create_wrksrc=yes
build_wrksrc="MediaInfo/Project/GNU/CLI"
@ -24,3 +25,21 @@ pre_configure() {
post_install() {
vlicense ${wrksrc}/MediaInfo/License.html
}
mediainfo-gui_package() {
short_desc+=" - GUI version"
depends="mediainfo>=${version}_${revision} desktop-file-utils hicolor-icon-theme"
pkg_install(){
cd ${wrksrc}/MediaInfo/Project/GNU/GUI
autoreconf -fi
./configure --prefix=/usr
make DESTDIR="${DESTDIR}" install
vmkdir usr/share/icons/hicolor/scalable/apps
vinstall ${wrksrc}/MediaInfo/Source/Resource/Image/MediaInfo.svg 644 \
usr/share/icons/hicolor/scalable/apps mediainfo.svg
vinstall ${wrksrc}/MediaInfo/Source/Resource/Image/MediaInfo.png 644 \
usr/share/pixmaps mediainfo-gui.png
vinstall mediainfo-gui.desktop 644 usr/share/applications
}
}