mediainfo 0.7.93
[git/cygwin-packages/mediainfo.git] / mediainfo.cygport
1 WX_VERSION=3.0
2 WX_TOOLKIT=gtk2
3 inherit qt4-qmake wxwidgets
4
5 NAME="mediainfo"
6 VERSION=0.7.93
7 RELEASE=1
8 CATEGORY="Audio Video"
9 SUMMARY="Displays multimedia file information"
10 DESCRIPTION="MediaInfo is a convenient unified display of the most relevant
11 technical and tag data for video and audio files."
12 HOMEPAGE="http://mediaarea.net/"
13 SRC_URI="http://mediaarea.net/download/source/mediainfo/${VERSION}/mediainfo_${VERSION}.tar.xz"
14 SRC_DIR="MediaInfo"
15 PATCH_URI="http://pkgs.fedoraproject.org/cgit/rpms/mediainfo.git/plain/mediainfo-qt.patch"
16
17 PKG_NAMES="${NAME} ${NAME}-gui ${NAME}-qt"
18 mediainfo_DOCS="LICENSE README.md Release/ReadMe_CLI_Linux.txt"
19 mediainfo_CONTENTS="
20 usr/bin/mediainfo.exe
21 "
22 mediainfo_gui_DOCS="LICENSE README.md Release/ReadMe_GUI_Linux.txt"
23 mediainfo_gui_CONTENTS="
24 etc/postinstall/
25 usr/bin/mediainfo-gui.exe
26 usr/share/appdata/mediainfo-gui.appdata.xml
27 usr/share/applications/mediainfo-gui.desktop
28 usr/share/icons/hicolor/*/apps/mediainfo.*
29 "
30 mediainfo_qt_DOCS="LICENSE README.md Release/ReadMe_GUI_Linux.txt"
31 mediainfo_qt_CONTENTS="
32 usr/bin/mediainfo-qt.exe
33 usr/share/applications/mediainfo-qt.desktop
34 usr/share/pixmaps/mediainfo.*
35 "
36 # KDE 4 integration
37 PKG_IGNORE="
38 usr/share/apps/konqueror/servicemenus/mediainfo-gui.desktop
39 usr/share/kde4/services/ServiceMenus/mediainfo-gui.desktop
40 "
41
42 src_compile() {
43 lndirs
44
45 cd ${B}/Project/GNU/CLI
46 cygautoreconf
47 CYGCONF_SOURCE=. \
48 cygconf
49 cygmake
50
51 cd ${B}/Project/GNU/GUI
52 cygautoreconf
53 CYGCONF_SOURCE=. \
54 cygconf --with-wx-config=${WX_CONFIG}
55 cygmake
56
57 cd ${B}/Project/QMake/GUI
58 cygqmake4 .
59 cygmake
60 }
61
62 src_install() {
63 cd ${B}/Project/GNU/CLI
64 cyginstall
65 cd ${B}/Project/GNU/GUI
66 cyginstall
67 cd ${B}/Project/QMake/GUI
68 qt4_qmake_install
69 sed -e 's/gui/qt/;/^Name/s/$/ Qt/' \
70 ../../GNU/GUI/mediainfo-gui.desktop > mediainfo-qt.desktop
71 domenu mediainfo-qt.desktop
72
73 newicon ${S}/Source/Resource/Image/MediaInfo.png mediainfo.png
74 }
This page took 0.043458 seconds and 5 git commands to generate.