mediainfo 0.7.61
[git/cygwin-packages/mediainfo.git] / mediainfo.cygport
1 WX_VERSION=2.8
2 inherit wxwidgets
3
4 NAME="mediainfo"
5 VERSION=0.7.61
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://mediainfo.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/mediainfo/mediainfo_${VERSION}.tar.bz2
13 mirror://sourceforge/mediainfo/libmediainfo_${VERSION}.tar.bz2
14 mirror://sourceforge/zenlib/libzen_0.4.28.tar.bz2"
15 SRC_DIR=.
16 PATCH_URI="0.7.58-cygwin.patch 0.7.58-vpath.patch"
17
18 PKG_NAMES="${PN} ${PN}-gui"
19 mediainfo_CONTENTS="usr/bin/mediainfo.exe usr/share/doc/${PN}/*CLI*"
20 mediainfo_gui_CONTENTS="usr/bin/mediainfo-gui.exe usr/share/applications/
21 usr/share/doc/${PN}/*GUI* usr/share/pixmaps/"
22
23 src_compile() {
24 local subdir
25
26 subdir="ZenLib/Project/GNU/Library"
27 CYGCONF_SOURCE="${S}/${subdir}"
28 cd ${CYGCONF_SOURCE}
29 cygautoreconf
30 mkdir -p ${B}/${subdir}
31 cd ${B}/${subdir}
32 cygconf --disable-shared
33 cygmake
34
35 subdir="MediaInfoLib/Project/GNU/Library"
36 CYGCONF_SOURCE="${S}/${subdir}"
37 cd ${CYGCONF_SOURCE}
38 cygautoreconf
39 mkdir -p ${B}/${subdir}
40 cd ${B}/${subdir}
41 cygconf --disable-shared --with-libcurl --with-libmms
42 cygmake
43
44 subdir="MediaInfo/Project/GNU/CLI"
45 CYGCONF_SOURCE="${S}/${subdir}"
46 cd ${CYGCONF_SOURCE}
47 cygautoreconf
48 mkdir -p ${B}/${subdir}
49 cd ${B}/${subdir}
50 cygconf
51 cygmake
52
53 subdir="MediaInfo/Project/GNU/GUI"
54 CYGCONF_SOURCE="${S}/${subdir}"
55 cd ${CYGCONF_SOURCE}
56 cygautoreconf
57 mkdir -p ${B}/${subdir}
58 cd ${B}/${subdir}
59 cygconf --with-wx-config=${WX_CONFIG}
60 cygmake
61 }
62
63 src_install() {
64 cd ${B}/MediaInfo/Project/GNU/CLI
65 cyginstall
66 cd ${B}/MediaInfo/Project/GNU/GUI
67 cyginstall
68
69 doicon ${S}/MediaInfo/Source/Resource/Image/MediaInfo.png
70 make_desktop_entry mediainfo-gui MediaInfo MediaInfo "AudioVideo;GTK"
71 }
72
73 DOCS="MediaInfo/History*.txt MediaInfo/Release/ReadMe*Linux.txt"
This page took 0.037604 seconds and 6 git commands to generate.