summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-11-02 20:28:49 -0400
committerTim Harder <radhermit@gentoo.org>2016-11-02 20:28:49 -0400
commite36dd036be91c4953c3b704c987df00806b81e64 (patch)
tree0008b98271655a773f840979f8819eb7c8333d71 /media-video/mediainfo
parentmedia-libs/libmediainfo: version bump to 0.7.90 (diff)
downloadgentoo-e36dd036be91c4953c3b704c987df00806b81e64.tar.gz
gentoo-e36dd036be91c4953c3b704c987df00806b81e64.tar.bz2
gentoo-e36dd036be91c4953c3b704c987df00806b81e64.zip
media-video/mediainfo: version bump to 0.7.90
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r--media-video/mediainfo/Manifest1
-rw-r--r--media-video/mediainfo/mediainfo-0.7.90.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest
index 950c62bfd47a..0d7ba8d0cc32 100644
--- a/media-video/mediainfo/Manifest
+++ b/media-video/mediainfo/Manifest
@@ -4,3 +4,4 @@ DIST mediainfo_0.7.86.tar.xz 1296520 SHA256 65edb2c1d3f7ea052b5cd6bf300267a007c8
DIST mediainfo_0.7.87.tar.xz 1304456 SHA256 fb86d2d8775ce6b23fe9416d006b0f62f8c2d71a1ee105ba820909ce9c8744f3 SHA512 2261d97aa0a62dadc1db3fe4985c3a105c4ce9d35c05fd0c222ef7f3055aa35d0faada717944bb264438ead5abaf427e1da41192b58f1768e3868098a017694f WHIRLPOOL d7c008182136b03c426e7b6fe2a7e12270f9b2b4cac1b6d3518cfeb1a96cb6e65d83a9f9f18236aaccd954fe892bdb3dae73741511d55117e5ede04202ac2d7b
DIST mediainfo_0.7.88.tar.xz 1316320 SHA256 853839f0dce758f97ab950069c73a2ea7b601f6712bbcee36d0bc2ee9f58f373 SHA512 4467ffb8c9534ca4d53df12d6e0c6550d72446464b2e1e78c6768a1f5ce49cda5d501359d0d72b29c75ee00220998e9f5623a0b9afb506960a2ec95e1e423f72 WHIRLPOOL a3126841b89a05374fa0bc58881f119b8a0dd2a39d4f7f7cdf18c93f476e02d7caadadf1efb11eb0cd16db7a594617634a8a98915613f30b70740fd491f05d1b
DIST mediainfo_0.7.89.tar.xz 1305720 SHA256 651e5e7588eccddb6eb1a3269b358e04357ea20ad217434b15e1a261f6bb177d SHA512 121f193352503546bc63674bf40e33e12c92e63afa4318b5b03c2bdb6d54f56c7702dd83b0cd7443c0ce6c4138a5b46c37298fe13a642f4d71ad52b4c340d787 WHIRLPOOL 1700f3b2d4e86654eb72361ebad3aeedcb989c3ef8de1fb44ec2e726130efa5aed7fc86f0feebee5954a7e1e7c9d73a7521ef1fbcb301b4204a1dacef7393479
+DIST mediainfo_0.7.90.tar.xz 1310820 SHA256 a9332bbbd8c2c30fb2ca123ff31a7733f63f06a9c3ebe40185ca93356e9b0b12 SHA512 9b2d750057cb553c57153edbdd0edb9a2655b589e7894e83256ae8f0c34115d82d6df29c8cce2acb0f69477d17553abbd00fe5988ba06279b4ecd797aa286fb1 WHIRLPOOL b14331eca30b1e579f664a4cffe4780e827f19d2d0143e5c01777fac6874607c75b2b4d0722fced1dc47f7ce9661e5a0064dff92884afaa76c0284d66873e94e
diff --git a/media-video/mediainfo/mediainfo-0.7.90.ebuild b/media-video/mediainfo/mediainfo-0.7.90.ebuild
new file mode 100644
index 000000000000..9ea2422d1c89
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-0.7.90.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 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
+ ~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
+}