diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-06-12 23:29:31 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-06-12 23:31:42 -0400 |
commit | 9b97e19962daa12d6835b3a28156c42ed48350ca (patch) | |
tree | 034da95e711f3a021a4952a7541e479eb230eaf5 /media-video | |
parent | media-libs/libmediainfo: version bump to 0.7.86 (diff) | |
download | gentoo-9b97e19962daa12d6835b3a28156c42ed48350ca.tar.gz gentoo-9b97e19962daa12d6835b3a28156c42ed48350ca.tar.bz2 gentoo-9b97e19962daa12d6835b3a28156c42ed48350ca.zip |
media-video/mediainfo: version bump to 0.7.86
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mediainfo/Manifest | 1 | ||||
-rw-r--r-- | media-video/mediainfo/mediainfo-0.7.86.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest index 224668676c62..f36ad91c3203 100644 --- a/media-video/mediainfo/Manifest +++ b/media-video/mediainfo/Manifest @@ -5,3 +5,4 @@ DIST mediainfo_0.7.82.tar.xz 1297504 SHA256 62882c977f209c0a4e2cb47f2109180fbe6b DIST mediainfo_0.7.83.tar.xz 1298048 SHA256 e7f95f54640532666949c1fe9c305259c705f1048a86c718e054bc4513bc1535 SHA512 b453d9312fd09b650d704120e18b7c379b8cb2ad58995f89381da3a3ca9e1885a5d4286658595ff1828ccee9c3c72b5e20486bcba9ec17d760cd8eb8144c2c66 WHIRLPOOL 4f06b90e191e5ed6247a7db46ebd69ebedf4e7a648a3268ee2ee2ef9f473b52fa88293efc8de110671f8e418961a8812aca2c6317c470f6e201d763a37b612a2 DIST mediainfo_0.7.84.tar.xz 1298908 SHA256 091f2bebd9c87167117374e0bd2772c062be315f30ca60075ec5bbaac8a87070 SHA512 5c0d2f17338af123b6ec37fe5129c01276059dddb92a3102bb48088170f417ac880ae3a86960aeca72f5c110ab0070963a1266de0a318bd576beee3587705d63 WHIRLPOOL 7f03e7f4626046bb873a063f76f085d80228fe538cad4d0f4b4bbf715c5163b0b7820ba87266b90ef28983293879081fc88c6a620c5db618fd9abb87db12efa0 DIST mediainfo_0.7.85.tar.xz 1299044 SHA256 ba441b9c94d56e6fd0867c7d6504963ef34b3d5e3c9edc719b67abdca5cdc1fb SHA512 bf3b75d1f11ab1c202f207abc2db28b699398bd4140e64a661e4b31f59ba97711aaa1ef7b0bb0ef014c69273d66101e0b476945eb1d473457114319b1cc756cf WHIRLPOOL 3d39935610d23fc1249a31873444517d07a369ea93e84a45ef9ec5940f4872dcbaccf4e43cf2585ea4fb4fa0b3eb17405d52ae87ace4d45bb4c2ff6173f6a5c0 +DIST mediainfo_0.7.86.tar.xz 1296520 SHA256 65edb2c1d3f7ea052b5cd6bf300267a007c8c01871c5965bef3a9bb9caa98697 SHA512 ea7a2dc0132b6910f361cc6f822ed5b3b5fbf76f9a0415aef3ce1298de8831175045800e8adcfecc9cc865874c6e97e271ec5796fa5937e2105bfb2cc884eb4b WHIRLPOOL ef99cde1e12afeb8c684a6767eb42a1cb7b3402df7c427559363a807e809b3c6c03e54f3160d7661593de818dc61a7a2806bf81d8283bed3cf2b7636bbd970b8 diff --git a/media-video/mediainfo/mediainfo-0.7.86.ebuild b/media-video/mediainfo/mediainfo-0.7.86.ebuild new file mode 100644 index 000000000000..912125691e30 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.86.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="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 + ~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() { + epatch_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 +} |