Skip to content

Commit

Permalink
media-libs/libmediainfo: version bump to 0.7.88
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Sep 1, 2016
1 parent f24617a commit 03250dc
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/libmediainfo/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST libmediainfo_0.7.73.tar.bz2 1648742 SHA256 d350dbbdc25a52f79bcb3d5e91d0a61c
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
DIST libmediainfo_0.7.88.tar.xz 1560488 SHA256 01de70bc67f2da4b6d2cde5aac0bf38b2e9ab834279b90c89cc3a3d1d47b14ec SHA512 9ddec4102bc4b28f5ff92fe13301c2cd1aad409680705d571a7b5a809aa831bfcec5f9cad28f49c78dd093c441b652140b1691762d81d3c69fbb3ea1b1922165 WHIRLPOOL 0dec5ff1bcc039ce66f67db586f68b6bb09b8c78787e96cc004dc3309ad4fbebc1daf197fa3b6ae5b5a754847b58b0a8769159222e2fe1acb2c36db2b3cef18c
82 changes: 82 additions & 0 deletions media-libs/libmediainfo/libmediainfo-0.7.88.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# 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 )"

# tests try to fetch data from online sources
RESTRICT="test"

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
}

0 comments on commit 03250dc

Please sign in to comment.