diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-16 07:12:12 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-16 07:12:12 +0000 |
commit | fc9cdeb319fe75c9c33ed02804250a65fbc43ca0 (patch) | |
tree | 3ed030f397807c3ec7c9d85fd820ee07d327e1b2 /media-video/mediainfo | |
parent | Version bump. (diff) | |
download | gentoo-2-fc9cdeb319fe75c9c33ed02804250a65fbc43ca0.tar.gz gentoo-2-fc9cdeb319fe75c9c33ed02804250a65fbc43ca0.tar.bz2 gentoo-2-fc9cdeb319fe75c9c33ed02804250a65fbc43ca0.zip |
Version bump.
(Portage version: 2.2.0_alpha90/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.54.ebuild | 71 |
2 files changed, 77 insertions, 1 deletions
diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog index 04262176baaf..33f0b9793bf3 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.38 2012/02/05 01:34:30 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.39 2012/03/16 07:12:12 radhermit Exp $ + +*mediainfo-0.7.54 (16 Mar 2012) + + 16 Mar 2012; Tim Harder <radhermit@gentoo.org> +mediainfo-0.7.54.ebuild: + Version bump. 05 Feb 2012; Tim Harder <radhermit@gentoo.org> mediainfo-0.7.53.ebuild: Update directory name (bug #402221). diff --git a/media-video/mediainfo/mediainfo-0.7.54.ebuild b/media-video/mediainfo/mediainfo-0.7.54.ebuild new file mode 100644 index 000000000000..d339be40d9c7 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.54.ebuild @@ -0,0 +1,71 @@ +# 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.54.ebuild,v 1.1 2012/03/16 07:12:12 radhermit Exp $ + +EAPI="4" +WX_GTK_VER="2.8" + +inherit autotools-utils 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} + dev-util/pkgconfig" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +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 + ECONF_SOURCE="${S}/Project/GNU/${target}" + [[ ${target} == "GUI" ]] && local myeconfargs=( --with-wxwidgets --with-wx-gui ) + autotools-utils_src_configure + done +} + +src_compile() { + local target + for target in ${TARGETS}; do + ECONF_SOURCE="${S}/Project/GNU/${target}" + autotools-utils_src_compile + done +} +src_install() { + local target + for target in ${TARGETS}; do + ECONF_SOURCE="${S}/Project/GNU/${target}" + autotools-utils_src_install + 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 +} |