Skip to content

Commit

Permalink
media-libs/libmediainfo: version bump to 0.7.89
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Oct 3, 2016
1 parent 6924f47 commit 29904eb
Show file tree
Hide file tree
Showing 2 changed files with 85 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 @@ -3,3 +3,4 @@ DIST libmediainfo_0.7.85.tar.xz 1537360 SHA256 b6202d5a9b1725b0976b051085625ae59
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
DIST libmediainfo_0.7.89.tar.xz 1566172 SHA256 2cd3da0cc3e23bbfddea545898df6ebc1c81e086a1d707ac6d2068fe659ea74a SHA512 0289a4d9a6b27bc6fce1b1aebbc64495ef220bdbdb36c851b4ca345ac7b5dfc8d06b03c1cfb36ee7a736ff4a1d9e2da53d5f2d3559c5297e1c41f8a98f04737a WHIRLPOOL cc986916e6a877c512320bf59bdfb0073f2dae8bc8d6ccffc2080305530e233bff60cbbade8333bc62827c636185e0b3433746639e22887cd8b0b52a5976b8bb
84 changes: 84 additions & 0 deletions media-libs/libmediainfo/libmediainfo-0.7.89.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit autotools eutils flag-o-matic

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() {
eapply -p4 "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
eapply_user

sed -i 's:-O2::' configure.ac || die
append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0

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() {
if use doc; then
local HTML_DOCS=( "${WORKDIR}"/${MY_PN}Lib/Doc/*.html )
fi

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

prune_libtool_files
}

0 comments on commit 29904eb

Please sign in to comment.