mediainfo 0.7.82
[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.82
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.32/libzen_0.4.32.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 etc/postinstall/
26 usr/bin/mediainfo-gui.exe
27 usr/share/appdata/mediainfo-gui.appdata.xml
28 usr/share/applications/mediainfo-gui.desktop
29 usr/share/doc/${NAME}/*GUI*
30 usr/share/pixmaps/mediainfo.png
31 "
32
33 src_compile() {
34 local subdir
35
36 lndirs
37
38 subdir="ZenLib/Project/GNU/Library"
39 cd ${B}/${subdir}
40 cygautoreconf
41 CYGCONF_SOURCE=. \
42 cygconf --disable-shared
43 cygmake
44
45 subdir="MediaInfoLib/Project/GNU/Library"
46 cd ${B}/${subdir}
47 cygautoreconf
48 CYGCONF_SOURCE=. \
49 cygconf --disable-shared --with-libcurl --with-libtinyxml2 --without-libmms
50 cygmake
51
52 subdir="MediaInfo/Project/GNU/CLI"
53 cd ${B}/${subdir}
54 cygautoreconf
55 CYGCONF_SOURCE=. \
56 cygconf
57 cygmake
58
59 subdir="MediaInfo/Project/GNU/GUI"
60 cd ${B}/${subdir}
61 cygautoreconf
62 CYGCONF_SOURCE=. \
63 cygconf --with-wx-config=${WX_CONFIG}
64 cygmake
65 }
66
67 src_install() {
68 cd ${B}/MediaInfo/Project/GNU/CLI
69 cyginstall
70 cd ${B}/MediaInfo/Project/GNU/GUI
71 cyginstall
72 domenu mediainfo-gui.desktop
73
74 newicon ${S}/MediaInfo/Source/Resource/Image/MediaInfo.png mediainfo.png
75 }
76
77 DOCS="MediaInfo/History*.txt MediaInfo/Release/ReadMe*Linux.txt"
This page took 0.037784 seconds and 6 git commands to generate.