mediainfo 0.7.85
[git/cygwin-packages/mediainfo.git] / mediainfo.cygport
1 WX_VERSION=2.8
2 inherit qt4-qmake wxwidgets
3
4 NAME="mediainfo"
5 VERSION=0.7.85
6 RELEASE=1
7 CATEGORY="Audio Video"
8 SUMMARY="Displays multimedia file information"
9 DESCRIPTION="MediaInfo is a convenient unified display of the most relevant
10 technical and tag data for video and audio files."
11 HOMEPAGE="http://mediaarea.net/"
12 SRC_URI="
13 http://mediaarea.net/download/source/mediainfo/${VERSION}/mediainfo_${VERSION}.tar.xz
14 http://mediaarea.net/download/source/libmediainfo/${VERSION}/libmediainfo_${VERSION}.tar.xz
15 http://mediaarea.net/download/source/libzen/0.4.33/libzen_0.4.33.tar.bz2
16 "
17 SRC_DIR=.
18
19 PKG_NAMES="${NAME} ${NAME}-gui"
20 mediainfo_CONTENTS="
21 usr/bin/mediainfo.exe
22 usr/share/doc/${NAME}/*CLI*
23 "
24 mediainfo_gui_CONTENTS="
25 usr/bin/mediainfo-gui.exe
26 usr/share/appdata/mediainfo-gui.appdata.xml
27 usr/share/applications/mediainfo-gui.desktop
28 usr/share/doc/${NAME}/*GUI*
29 usr/share/pixmaps/mediainfo.png
30 "
31
32 src_compile() {
33 local subdir
34
35 lndirs
36
37 subdir="ZenLib/Project/GNU/Library"
38 cd ${B}/${subdir}
39 cygautoreconf
40 CYGCONF_SOURCE=. \
41 cygconf --disable-shared
42 cygmake
43
44 subdir="MediaInfoLib/Project/GNU/Library"
45 cd ${B}/${subdir}
46 cygautoreconf
47 CYGCONF_SOURCE=. \
48 cygconf --disable-shared --with-libcurl --with-libtinyxml2 --without-libmms
49 cygmake
50
51 subdir="MediaInfo/Project/GNU/CLI"
52 cd ${B}/${subdir}
53 cygautoreconf
54 CYGCONF_SOURCE=. \
55 cygconf
56 cygmake
57
58 subdir="MediaInfo/Project/GNU/GUI"
59 cd ${B}/${subdir}
60 cygautoreconf
61 CYGCONF_SOURCE=. \
62 cygconf --with-wx-config=${WX_CONFIG}
63 cygmake
64 }
65
66 src_install() {
67 cd ${B}/MediaInfo/Project/GNU/CLI
68 cyginstall
69 cd ${B}/MediaInfo/Project/GNU/GUI
70 cyginstall
71 domenu mediainfo-gui.desktop
72
73 newicon ${S}/MediaInfo/Source/Resource/Image/MediaInfo.png mediainfo.png
74 }
75
76 DOCS="MediaInfo/History*.txt MediaInfo/Release/ReadMe*Linux.txt"
This page took 0.037849 seconds and 6 git commands to generate.