diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-09-13 04:49:27 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-09-13 04:55:04 -0400 |
commit | 68d7ecdfa589d0467a299a8e5f5e16ca02306174 (patch) | |
tree | 1b06f8dfa01c94fb712c56715c37016edad4bd38 /media-video | |
parent | 8420137b246340af6dbe07b7aef53915e6f99719 (diff) | |
download | gentoo-68d7ecdfa589d0467a299a8e5f5e16ca02306174.tar.gz gentoo-68d7ecdfa589d0467a299a8e5f5e16ca02306174.tar.xz |
media-video/mediainfo: version bump to 0.7.99
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mediainfo/Manifest | 1 | ||||
-rw-r--r-- | media-video/mediainfo/mediainfo-0.7.99.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest index 26187da54bd..2ba9b9c42f3 100644 --- a/media-video/mediainfo/Manifest +++ b/media-video/mediainfo/Manifest @@ -1,2 +1,3 @@ DIST mediainfo_0.7.97.tar.xz 1327104 SHA256 16a522e9caee73dcb8bcab3244b02fc51257c24b4deba961de983698d4101782 SHA512 f10e7325c2889ef4c71304b1baeef4dc04fdeac5241ad3adb0ee013c5dffe4399de553cee7a9e8d1fb9c63a97bd185f864457e2b2667d9aaae284141296daf7e WHIRLPOOL b397fd9efa2b5f839d18e201eaebe7343d35c1f7906c3717678857749d58f986b7e874e91490e087ea4d8831a408bdf7a7e99a77c512ea5e235588940569993d DIST mediainfo_0.7.98.tar.xz 1317952 SHA256 f1e32acc44063549b67e0584115a785e48b2a318a9011634affdd9c2cf04d9f6 SHA512 455ea7c51bf572c6ea389f2b8d82f5f5f6afcbf649bef6433293b970318e4ab58447e47c33c234cc0f8051efb7501c36637940c2df92c010a0a74c5f28fc3133 WHIRLPOOL 6c35c4e58124fb38003901c6f9c3ad1b0c524f9050284f232cde308fc16be45f59a28f3ae5add05348eca7db1ce60c2eea86c456d36227976556dcb5b4eb4fe0 +DIST mediainfo_0.7.99.tar.xz 1327592 SHA256 ca308d3fd1ded0baad62be2388f65c98949ab9111589b5561c8f0f9c3537ed88 SHA512 7e50d0757c18e0eb07955a440250ca40fb5ee28dd4565528f8797f842611955942a4a6ff5b3c8736d4e24fe503272b2cd93de55187b2c3bca2c99021fe0330fa WHIRLPOOL 0ac9d9042a5382ae9b3a98879e407013fa593bfc01559834ace61f5b1b9aabde54b31f62a407c01956541cc71e46d879b0fcf57fedd2f5cb46fb7812b0cb5a9f diff --git a/media-video/mediainfo/mediainfo-0.7.99.ebuild b/media-video/mediainfo/mediainfo-0.7.99.ebuild new file mode 100644 index 00000000000..f3350adbb93 --- /dev/null +++ b/media-video/mediainfo/mediainfo-0.7.99.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +WX_GTK_VER="3.0" + +inherit eutils autotools wxwidgets + +DESCRIPTION="MediaInfo supplies technical and tag information about media files" +HOMEPAGE="https://mediaarea.net/mediainfo/ https://github.com/MediaArea/MediaInfo" +SRC_URI="https://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.37 + ~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 +} |