From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34462139085 for ; Sun, 5 Feb 2017 00:45:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CAF721C039; Sun, 5 Feb 2017 00:45:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E43521C039 for ; Sun, 5 Feb 2017 00:45:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49A9A33E142 for ; Sun, 5 Feb 2017 00:45:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12C463DC4 for ; Sun, 5 Feb 2017 00:45:03 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1486255494.15a34f986ac359a14742269565bdf2558347333d.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mediainfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mediainfo/Manifest media-video/mediainfo/mediainfo-0.7.92.1.ebuild X-VCS-Directories: media-video/mediainfo/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 15a34f986ac359a14742269565bdf2558347333d X-VCS-Branch: master Date: Sun, 5 Feb 2017 00:45:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 598ae8a9-7e66-4875-a1d9-cc98ea9a9bf6 X-Archives-Hash: ba0dc71e8891f451ecc754e4ffd5cb05 commit: 15a34f986ac359a14742269565bdf2558347333d Author: Tim Harder gentoo org> AuthorDate: Sun Feb 5 00:42:36 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Feb 5 00:44:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a34f98 media-video/mediainfo: version bump to 0.7.92.1 media-video/mediainfo/Manifest | 1 + media-video/mediainfo/mediainfo-0.7.92.1.ebuild | 72 +++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest index 06ec728..0dc6680 100644 --- a/media-video/mediainfo/Manifest +++ b/media-video/mediainfo/Manifest @@ -1 +1,2 @@ DIST mediainfo_0.7.91.tar.xz 1309324 SHA256 b501e2776319448a1664371f05498af21db1133b3a8d530f62447d0913bc5996 SHA512 fd62e9ce42ae860630b5a79a226b5361c2225bbb3bb3655500341e77fe4ccb6db5402fdc8c50a67d74b246d3aed23a71f4828eb38c507eaed9f98e5f47ffb843 WHIRLPOOL 83f15525e8e3d9607374d81721e781d1e609aa658dd0f9ceaf428d595e1086f2d3d24a04586d4aa50f695e124b733a4f02f5af53e95e3bc3bd81df73dc41d243 +DIST mediainfo_0.7.92.1.tar.xz 1314708 SHA256 a3553ba26faf71ddef7d2c8e318924097352d4a05726053d9ed2fd0e56199e34 SHA512 12a3661a39f7d0d47c81f353093126927113e9f3aef3fc478d37239799bb6cbc049f662d6c3f7a7ee70bc036a87d1953634c7c9f7704cdf70e0b326bad2f6228 WHIRLPOOL 0879a69208ea72963baee7519ec4c9eb740adb3826174e6f36e14b9330b416a3f82d192397e695b285949044496ca9e4b8a404e2963b71fe61e733eb8c3b879e diff --git a/media-video/mediainfo/mediainfo-0.7.92.1.ebuild b/media-video/mediainfo/mediainfo-0.7.92.1.ebuild new file mode 100644 index 00000000..1a833e4 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.92.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +WX_GTK_VER="3.0" + +inherit eutils autotools wxwidgets + +DESCRIPTION="MediaInfo supplies technical and tag information about media files" +HOMEPAGE="http://mediaarea.net/mediainfo/" +SRC_URI="http://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl mms wxwidgets" + +RDEPEND="sys-libs/zlib + >=media-libs/libzen-0.4.34 + ~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() { + eapply_user + + 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 +}