summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-04-11 01:02:56 -0400
committerTim Harder <radhermit@gentoo.org>2016-04-11 01:06:17 -0400
commitc22667a663bd46ec8428b8835d993cdbd2542ac9 (patch)
tree0ba28f7e1463faf30e1127cd409a87eba07761eb
parent1a829c3ac7d744988935a3843b538498769cc54f (diff)
downloadgentoo-c22667a663bd46ec8428b8835d993cdbd2542ac9.tar.gz
gentoo-c22667a663bd46ec8428b8835d993cdbd2542ac9.tar.xz
media-libs/libmediainfo: version bump to 0.7.84
-rw-r--r--media-libs/libmediainfo/Manifest1
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.84.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
index 25adf53027f..894f82a4b89 100644
--- a/media-libs/libmediainfo/Manifest
+++ b/media-libs/libmediainfo/Manifest
@@ -3,3 +3,4 @@ DIST libmediainfo_0.7.80.tar.xz 1517248 SHA256 e587b6aac746ea08ba2bb269446ba8ff5
DIST libmediainfo_0.7.81.tar.xz 1522456 SHA256 9a01b5e9899ce10df5745553bef8381dcda0e367fd568804e696f263cfcbee43 SHA512 7fdc72df7ded6f463b89495e64ccb2da68c48471990d15e56cd197d82182332c1b64305cf5d77ddf67a36eab29074d11a26439fb386ee9ab149dfde0badf6fc3 WHIRLPOOL 0651164bc5dddf872e67d1591f70f00cfde0530005f96681d1d750386882c41fa1aa83bc8efd2cdf828a9e08121869ac446bb93148a72d7e20eb00da0e41755a
DIST libmediainfo_0.7.82.tar.xz 1535316 SHA256 0665d3b9699be504b38e2f7a6c49869052c91d4c4c923255e698c32b709815d7 SHA512 007c7a62b832c561119f1465e42a7d84cbfdca4b0a7cb79163ef671e2e9efeb3876b261b6c96a41e2af11d7338048e3722621db4d317e0ec668fefdaed13c7ed WHIRLPOOL b51a27e5f153134d2ece39435d8f10e70337e63437aff13716b674847f3973a72bacedac3c7a270fcb67ee3b2b6ff4270c9161aba081377433f1b54ca3e77c0e
DIST libmediainfo_0.7.83.tar.xz 1534876 SHA256 2710e49aae638db7a9ea202b0e2dde8f5a2b14c06dcb0babade5ca210fe8854e SHA512 79cebf6a0c84c3d572e2e19eefd2f9d893ebf74a57fa7ccb04563097babd45e146990e65a8d720fb2f702b1148cf1e4c510daa181cd42fea26931a78bbc6f877 WHIRLPOOL bb590da2dbb2388a33f3e1ccb5d7aad2a315a52152f296a0c6c8d5649ec560826eaa2f0d600dd7f0cdd5ce2014652187f402149a5c9618721ca34f5f2ab5c9ae
+DIST libmediainfo_0.7.84.tar.xz 1537624 SHA256 6d60f83b692dcc346b6c51c018f5c2b447f72ff8f42236d5a686b3eeac3fc54c SHA512 e15d4d54f9460fcab23d4cb58844c52d65e580ca85b55f4b9876d7b33e073cdf896edb0ddb5d8c37510e63b81f0f1e508abe43af52095cd337f944e6ff337b2b WHIRLPOOL 036f0351415db9cb73d2037b03003837242b11429999f0d2e5ddf70dd583ac049570cb8a0054c15ae472250f4fa60cb8ab04d9ad0ca3350256d04fcde3f76fef
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.84.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.84.ebuild
new file mode 100644
index 00000000000..667fa9ba633
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.84.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
+}