summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-07-26 00:17:31 -0400
committerTim Harder <radhermit@gentoo.org>2016-07-26 00:20:19 -0400
commita2adfb0d6f040194b4c0fd592571bfd25fad8f27 (patch)
treeb085d50fb60285a3e204c10f63d1ebbb4437ec01 /media-libs/libmediainfo
parentapp-editors/gvim: version bump to 7.4.2102 (diff)
downloadgentoo-a2adfb0d6f040194b4c0fd592571bfd25fad8f27.tar.gz
gentoo-a2adfb0d6f040194b4c0fd592571bfd25fad8f27.tar.bz2
gentoo-a2adfb0d6f040194b4c0fd592571bfd25fad8f27.zip
media-libs/libmediainfo: version bump to 0.7.87
Diffstat (limited to 'media-libs/libmediainfo')
-rw-r--r--media-libs/libmediainfo/Manifest1
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.87.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
index 0b591939cbdd..7aede7d3ad42 100644
--- a/media-libs/libmediainfo/Manifest
+++ b/media-libs/libmediainfo/Manifest
@@ -1,3 +1,4 @@
DIST libmediainfo_0.7.73.tar.bz2 1648742 SHA256 d350dbbdc25a52f79bcb3d5e91d0a61c68a4f429c13c80166d2e37476a62feb0 SHA512 44e4d5089e4343e503117a6e125e324551ecdc8e3ec01523dd13a66652708d2f0e8e1ab1740754524f0b9847ba317f97f123034bf0b06216ad3e60b5d0f56908 WHIRLPOOL 496e463691410bf8350c31e63e5268dc2974a6b4c9fb80661d80d8738d299f3a5813044cf5057db32aa09639cc365c347c677c0c7ce759f1b953c47fd9b379c0
DIST libmediainfo_0.7.85.tar.xz 1537360 SHA256 b6202d5a9b1725b0976b051085625ae595f3eb8e2e02c4e34eb1cfff6c6d689f SHA512 ad7e99773257719c26a9fa4fe1ae3f87ee76e0e5c0d479778479d235abd67af9ef92c5b60c2b0f1262ed7da4878f54c8a57def89387973a3573f6b59459bfb65 WHIRLPOOL 77aded044df8aa2179f89c69b1d611dba1e430507a70790256fe6742ac9ab321f6121f8ef50b5e45a9c1d7306b37835e0ebf8559fdf2593a9ebb6bd1f31e8329
DIST libmediainfo_0.7.86.tar.xz 1545368 SHA256 c0771a1405c8de3d90623ebb7d2686dd59c33c5917894e5462f4d591da63a792 SHA512 14ebffac03bf9b61d50ad6a3faeae649d4b24661152103eaf329e5e1ddb2230cd96001166a1217d796c463d5ec74fb103f07f45f3bdd6d048791d25923bf18bf WHIRLPOOL 2601f1f4e9268b71d8215ee96ba4a8b4d7a2d0f7ae3da319058b01e0eafed351a97f0b5ff71b964eb7129464fb960380deca21ef1e871dd9354ada1d6e70a3dd
+DIST libmediainfo_0.7.87.tar.xz 1544212 SHA256 4923dc108cf0e9fd6df36fc97e52a0955b69188491099331bb30d70410db72bf SHA512 595c3f6e6322dff7490e481e6705f0a8884c94150bf1c3679356b4ca0b37fd4e18a8d8e4d872c0398189b4d3328afa721586f7915293f6ebc9371ac4c6ccf93a WHIRLPOOL fcfdc6fec025c2c11d9420e019ef7afe5406658b9d18894532648689e11a1a45c74ec1ab831429fe44218ea988c75992f84497f87d1352b98756c98e77778b07
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.87.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.87.ebuild
new file mode 100644
index 000000000000..667fa9ba633e
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.87.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic multilib
+
+MY_PN="MediaInfo"
+DESCRIPTION="MediaInfo libraries"
+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 doc mms static-libs"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/tinyxml2:=
+ >=media-libs/libzen-0.4.28[static-libs=]
+ curl? ( net-misc/curl )
+ mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
+
+src_prepare() {
+ sed -i 's:-O2::' configure.ac || die
+ append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
+
+ epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ --with-libtinyxml2 \
+ $(use_with curl libcurl) \
+ $(use_with mms libmms) \
+ $(use_enable static-libs static) \
+ $(use_enable static-libs staticlibs)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ edos2unix ${PN}.pc #414545
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
+
+ for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do
+ insinto /usr/include/${MY_PN}/${x}
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h
+ done
+
+ insinto /usr/include/${MY_PN}DLL
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
+
+ dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
+ fi
+
+ prune_libtool_files
+}