From a19a4208b45b257fa55558ea299fdc7a2f3a5cf8 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 2 Sep 2012 20:37:17 +0000 Subject: Version bump. (Portage version: 2.2.0_alpha123-r1/cvs/Linux x86_64) --- media-video/mediainfo/ChangeLog | 7 ++- media-video/mediainfo/mediainfo-0.7.60.ebuild | 70 +++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 media-video/mediainfo/mediainfo-0.7.60.ebuild (limited to 'media-video/mediainfo') diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog index 55c4eaac1fe8..c2570d94a0ec 100644 --- a/media-video/mediainfo/ChangeLog +++ b/media-video/mediainfo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mediainfo # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.57 2012/08/09 09:42:08 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.58 2012/09/02 20:37:17 radhermit Exp $ + +*mediainfo-0.7.60 (02 Sep 2012) + + 02 Sep 2012; Tim Harder +mediainfo-0.7.60.ebuild: + Version bump. *mediainfo-0.7.59 (09 Aug 2012) diff --git a/media-video/mediainfo/mediainfo-0.7.60.ebuild b/media-video/mediainfo/mediainfo-0.7.60.ebuild new file mode 100644 index 000000000000..9fc4f9912241 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.60.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.60.ebuild,v 1.1 2012/09/02 20:37:17 radhermit Exp $ + +EAPI="4" +WX_GTK_VER="2.8" + +inherit eutils 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" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl mms wxwidgets" + +RDEPEND="sys-libs/zlib + media-libs/libzen + ~media-libs/lib${P}[curl=,mms=] + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/MediaInfo + +pkg_setup() { + TARGETS="CLI" + use wxwidgets && TARGETS+=" GUI" +} + +src_prepare() { + local target + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} + sed -i -e "s:-O2::" configure.ac + eautoreconf + done +} + +src_configure() { + local target + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} + local args="" + [[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui" + econf ${args} + done +} + +src_compile() { + local target + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} + default + done +} +src_install() { + local target + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} + default + dodoc "${S}"/History_${target}.txt + if [[ ${target} == "GUI" ]]; then + newicon "${S}"/Source/Resource/Image/MediaInfo.png ${PN}.png + make_desktop_entry ${PN}-gui MediaInfo ${PN} "AudioVideo;GTK" + fi + done +} -- cgit v1.2.3-65-gdbad