--- /dev/null
+# ChangeLog for media-video/mediainfo
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.1 2010/06/04 02:43:16 beandog Exp $
+
+*mediainfo-0.7.33 (04 Jun 2010)
+
+ 04 Jun 2010; Steve Dibb <beandog@gentoo.org> +mediainfo-0.7.33.ebuild,
+ +metadata.xml:
+ Initial commit, bug 294801; thanks to Lucian Muresan and Nikoli for
+ ebuilds
+
--- /dev/null
+DIST mediainfo_0.7.33.tar.bz2 1116312 RMD160 f8ec1c23cde045a8249f47358b239db97111f10c SHA1 786be24fa5acea305b1ef946d84f84b0d69be31e SHA256 ee5db0bc63bb5d8d2024867497a9e60dec3aeaaba71b9c94c80f5a9266686ce4
+EBUILD mediainfo-0.7.33.ebuild 1897 RMD160 61abf6487a56971d46ed96a44e86cc36f2adaa75 SHA1 e9bae145d170da125baecfe473f67ed123049527 SHA256 e2ed920e01bff04d59fe329f3ec53070615301263f94d593304e14a294ece60e
+MISC ChangeLog 420 RMD160 db4d0e5af6dccc155dae5cb8079cd9cef310b089 SHA1 88b648db466596dc19c7399437a5f05557513df1 SHA256 6d0ea3a2d6f24eda9b7a1c7e735d6aaf463367e400faf963a2937526aeb20580
+MISC metadata.xml 269 RMD160 d9e8a46336e09771dd82336660c1a690262a78c3 SHA1 51df7a7cc6b94793b41995494c5b7b7933ba2992 SHA256 39516d1fa0c577c030212706990f3762f634949696b4f4b4f53b118b04649f84
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.33.ebuild,v 1.1 2010/06/04 02:43:16 beandog Exp $
+
+EAPI="2"
+
+WX_GTK_VER="2.8"
+inherit autotools wxwidgets multilib
+
+DESCRIPTION="MediaInfo supplies technical and tag information about media files"
+HOMEPAGE="http://mediainfo.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/source/${PN}/${PV}/${PN}_${PV}.tar.bz2"
+
+S="${WORKDIR}/MediaInfo"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="curl debug libmms static wxwidgets"
+
+RDEPEND="
+ sys-libs/zlib
+ !static? (
+ media-libs/libzen[wxwidgets=]
+ ~media-libs/lib${P}[curl=,libmms=]
+ )
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ static? (
+ media-libs/libzen[static-libs,wxwidgets=]
+ ~media-libs/lib${P}[curl=,libmms=,static-libs]
+ )"
+
+pkg_setup() {
+ TARGETS="CLI"
+ use wxwidgets && TARGETS+=" GUI"
+}
+
+src_prepare() {
+ for x in ${TARGETS}; do
+ cd "${S}/Project/GNU/${x}"
+ eautoreconf
+ done
+}
+
+src_configure() {
+ for target in ${TARGETS}; do
+ cd "${S}/Project/GNU/${target}"
+ local myconf=""
+ use wxwidgets && myconf="${myconf} --with-wxwidgets, --with-wx-gui"
+ econf \
+ ${myconf} \
+ --disable-dependency-tracking \
+ $(use_enable debug) \
+ $(use_enable !static shared) \
+ $(use_enable static static) \
+ $(use_enable static staticlibs)
+ done
+}
+
+src_compile() {
+ for x in ${TARGETS}; do
+ cd "${S}/Project/GNU/${x}"
+ emake || die "emake failed failed for ${x}"
+ done
+}
+src_install() {
+ for x in ${TARGETS}; do
+ cd "${S}/Project/GNU/${x}"
+ einstall
+ dodoc "${S}/History_${x}.txt" || die
+ if [[ "${x}" = "GUI" ]]; then
+ newicon "${S}/Source/Ressource/Image/MediaInfo.png" "${PN}.png"
+ make_desktop_entry "${PN}-gui" "MediaInfo" "${PN}" "AudioVideo;GTK;"
+ fi
+ done
+
+ dodoc "${S}/"*.html || die
+}