diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-07-17 03:56:53 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-07-17 03:56:53 +0000 |
commit | 4eecbd827f685af513d4259cf9b802a40b8baec1 (patch) | |
tree | f267525c8fc799f78cdc44c236c02e5a6ad112ef /media-video/mediainfo | |
parent | Version bump, bug 327995 (diff) | |
download | gentoo-2-4eecbd827f685af513d4259cf9b802a40b8baec1.tar.gz gentoo-2-4eecbd827f685af513d4259cf9b802a40b8baec1.tar.bz2 gentoo-2-4eecbd827f685af513d4259cf9b802a40b8baec1.zip |
Version bump, bug 327995
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r-- | media-video/mediainfo/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mediainfo/mediainfo-0.7.34.ebuild | 80 |
2 files changed, 86 insertions, 1 deletions
diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog index ea696a2e76ce..0dee08e0db26 100644 --- a/media-video/mediainfo/ChangeLog +++ b/media-video/mediainfo/ChangeLog @@ -1,6 +1,11 @@ # 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.2 2010/07/11 12:31:08 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.3 2010/07/17 03:56:53 beandog Exp $ + +*mediainfo-0.7.34 (17 Jul 2010) + + 17 Jul 2010; Steve Dibb <beandog@gentoo.org> +mediainfo-0.7.34.ebuild: + Version bump, bug 327995 11 Jul 2010; Markus Meier <maekke@gentoo.org> mediainfo-0.7.33.ebuild: add ~x86, bug #324209 diff --git a/media-video/mediainfo/mediainfo-0.7.34.ebuild b/media-video/mediainfo/mediainfo-0.7.34.ebuild new file mode 100644 index 000000000000..5b9051a8f500 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.34.ebuild @@ -0,0 +1,80 @@ +# 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.34.ebuild,v 1.1 2010/07/17 03:56:53 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 ~x86" +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 +} |