mediainfo 0.7.58
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 1 Jun 2012 06:11:58 +0000 (01:11 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 1 Jun 2012 06:11:58 +0000 (01:11 -0500)
0.7.58-cygwin.patch [new file with mode: 0644]
0.7.58-vpath.patch [new file with mode: 0644]
mediainfo-0.7.58-1.cygport [new file with mode: 0644]
mediainfo-gui.hint [new file with mode: 0644]
mediainfo.hint [new file with mode: 0644]

diff --git a/0.7.58-cygwin.patch b/0.7.58-cygwin.patch
new file mode 100644 (file)
index 0000000..deb904d
--- /dev/null
@@ -0,0 +1,22 @@
+--- origsrc/MediaInfo/Source/GUI/Common/GUI_Main_Common_Core.h 2012-05-22 01:53:02.000000000 -0500
++++ src/MediaInfo/Source/GUI/Common/GUI_Main_Common_Core.h     2012-06-01 00:40:08.624430900 -0500
+@@ -40,6 +40,8 @@
+ using namespace MediaInfoNameSpace;
+ //---------------------------------------------------------------------------
++#undef _C
++
+ //---------------------------------------------------------------------------
+ class Core;
+ //---------------------------------------------------------------------------
+--- origsrc/MediaInfo/Source/GUI/Common/GUI_Main_Easy_Box_Core.h       2012-05-22 01:53:18.000000000 -0500
++++ src/MediaInfo/Source/GUI/Common/GUI_Main_Easy_Box_Core.h   2012-06-01 00:40:34.914769300 -0500
+@@ -30,6 +30,8 @@
+ #include "Common/Core.h"
+ //---------------------------------------------------------------------------
++#undef _C
++
+ //---------------------------------------------------------------------------
+ class GUI_Main_Easy_Core;
+ //---------------------------------------------------------------------------
diff --git a/0.7.58-vpath.patch b/0.7.58-vpath.patch
new file mode 100644 (file)
index 0000000..5a85425
--- /dev/null
@@ -0,0 +1,18 @@
+--- origsrc/MediaInfo/Project/GNU/CLI/Makefile.am      2012-05-11 02:49:42.000000000 -0500
++++ src/MediaInfo/Project/GNU/CLI/Makefile.am  2012-05-31 23:10:24.131998300 -0500
+@@ -9,4 +9,4 @@ mediainfo_SOURCES = \
+ #mediainfo_LDFLAGS     = -no-undefined -version-info 0:0:0
+-INCLUDES = -I../../../Source -I../../../../MediaInfoLib/Source -I../../../../ZenLib/Source
+\ No newline at end of file
++INCLUDES = -I$(srcdir)/../../../Source -I../../../../MediaInfoLib/Source -I../../../../ZenLib/Source
+--- origsrc/MediaInfo/Project/GNU/GUI/Makefile.am      2012-05-11 02:49:42.000000000 -0500
++++ src/MediaInfo/Project/GNU/GUI/Makefile.am  2012-05-31 23:27:05.967215200 -0500
+@@ -22,4 +22,4 @@ mediainfo_gui_SOURCES = \
+ #mediainfo-gui_LDFLAGS     = -no-undefined -version-info 0:0:0
+-INCLUDES = -I../../../Source -I../../../../MediaInfoLib/Source -I../../../../ZenLib/Source
+\ No newline at end of file
++INCLUDES = -I$(srcdir)/../../../Source -I../../../../MediaInfoLib/Source -I../../../../ZenLib/Source
diff --git a/mediainfo-0.7.58-1.cygport b/mediainfo-0.7.58-1.cygport
new file mode 100644 (file)
index 0000000..0297670
--- /dev/null
@@ -0,0 +1,45 @@
+WX_VERSION=2.8
+inherit wxwidgets
+
+
+HOMEPAGE="http://mediainfo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mediainfo/${PN}_${PV}.tar.bz2"
+SRC_DIR="MediaInfo"
+
+PKG_NAMES="0.7.58-cygwin.patch
+           0.7.58-vpath.patch"
+
+PKG_NAMES="${PN} ${PN}-gui"
+mediainfo_CONTENTS="usr/bin/mediainfo.exe usr/share/doc/${PN}/*CLI*"
+mediainfo_gui_CONTENTS="usr/bin/mediainfo-gui.exe usr/share/applications/
+                        usr/share/doc/${PN}/*GUI* usr/share/pixmaps/"
+
+src_compile() {
+       CYGCONF_SOURCE="${S}/Project/GNU/CLI"
+       cd ${CYGCONF_SOURCE}
+       cygautoreconf
+       mkdir -p ${B}/CLI
+       cd ${B}/CLI
+       cygconf
+       cygmake
+
+       CYGCONF_SOURCE="${S}/Project/GNU/GUI"
+       cd ${CYGCONF_SOURCE}
+       cygautoreconf
+       mkdir -p ${B}/GUI
+       cd ${B}/GUI
+       cygconf --with-wx-config=${WX_CONFIG}
+       cygmake
+}
+
+src_install() {
+       cd ${B}/CLI
+       cyginstall
+       cd ${B}/GUI
+       cyginstall
+
+       doicon ${S}/Source/Resource/Image/MediaInfo.png
+       make_desktop_entry mediainfo-gui MediaInfo MediaInfo "AudioVideo;GTK"
+}
+
+DOCS="History*.txt Release/ReadMe*Linux.txt"
diff --git a/mediainfo-gui.hint b/mediainfo-gui.hint
new file mode 100644 (file)
index 0000000..2eb75f3
--- /dev/null
@@ -0,0 +1,6 @@
+category: Audio Video
+requires: libgcc1 libmediainfo0 libstdc++6 libwx_baseu2.8_0 libwx_gtk2u2.8_0 libzen0
+external-source: mediainfo
+sdesc: "Displays data for multimedia files (graphical interface)"
+ldesc: "MediaInfo is a convenient unified display of the most relevant 
+technical and tag data for video and audio files."
diff --git a/mediainfo.hint b/mediainfo.hint
new file mode 100644 (file)
index 0000000..6e3b008
--- /dev/null
@@ -0,0 +1,5 @@
+category: Audio Video
+requires: libgcc1 libmediainfo0 libstdc++6 libzen0
+sdesc: "Displays data for multimedia files (command-line interface)"
+ldesc: "MediaInfo is a convenient unified display of the most relevant 
+technical and tag data for video and audio files."
This page took 0.022279 seconds and 5 git commands to generate.