diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-01-10 01:13:10 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-01-10 01:13:10 +0000 |
commit | e1c2e5744f3d4b45bea2302c25e7c5788f6691af (patch) | |
tree | 0eee2ba2d9876a4113bd4cf71fd1a020333bb5d1 /media-video | |
parent | Version bump. (diff) | |
download | gentoo-2-e1c2e5744f3d4b45bea2302c25e7c5788f6691af.tar.gz gentoo-2-e1c2e5744f3d4b45bea2302c25e7c5788f6691af.tar.bz2 gentoo-2-e1c2e5744f3d4b45bea2302c25e7c5788f6691af.zip |
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mediainfo/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/mediainfo/mediainfo-0.7.72.ebuild | 70 |
2 files changed, 77 insertions, 2 deletions
diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog index 0a0a50674011..3b7f036c64e7 100644 --- a/media-video/mediainfo/ChangeLog +++ b/media-video/mediainfo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mediainfo -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.79 2014/12/12 03:09:59 radhermit Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.80 2015/01/10 01:13:10 radhermit Exp $ + +*mediainfo-0.7.72 (10 Jan 2015) + + 10 Jan 2015; Tim Harder <radhermit@gentoo.org> +mediainfo-0.7.72.ebuild: + Version bump. 12 Dec 2014; Tim Harder <radhermit@gentoo.org> -mediainfo-0.7.64.ebuild, -mediainfo-0.7.68.ebuild, -mediainfo-0.7.69.ebuild: diff --git a/media-video/mediainfo/mediainfo-0.7.72.ebuild b/media-video/mediainfo/mediainfo-0.7.72.ebuild new file mode 100644 index 000000000000..168c123e3b6f --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.72.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.72.ebuild,v 1.1 2015/01/10 01:13:10 radhermit Exp $ + +EAPI=5 +WX_GTK_VER="3.0" + +inherit eutils autotools wxwidgets multilib + +DESCRIPTION="MediaInfo supplies technical and tag information about media files" +HOMEPAGE="http://mediaarea.net/mediainfo/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.bz2" + +LICENSE="BSD-2" +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 +} |