summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-03-05 21:18:32 -0500
committerTim Harder <radhermit@gentoo.org>2016-03-05 21:24:45 -0500
commit81e6b9dde0b2cae0b932ea235a1e620187d99fae (patch)
tree9ace6cd187bcfb2034e82aa724c9acc1c2ce42a5 /media-libs/libzen
parentsys-kernel/gentoo-sources: Linux patch 4.1.19 (diff)
downloadgentoo-81e6b9dde0b2cae0b932ea235a1e620187d99fae.tar.gz
gentoo-81e6b9dde0b2cae0b932ea235a1e620187d99fae.tar.bz2
gentoo-81e6b9dde0b2cae0b932ea235a1e620187d99fae.zip
media-libs/libzen: version bump to 0.4.33
Diffstat (limited to 'media-libs/libzen')
-rw-r--r--media-libs/libzen/Manifest1
-rw-r--r--media-libs/libzen/libzen-0.4.33.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest
index d1388884d279..1720c4905122 100644
--- a/media-libs/libzen/Manifest
+++ b/media-libs/libzen/Manifest
@@ -1,3 +1,4 @@
DIST libzen_0.4.30.tar.bz2 105608 SHA256 c4f8bcbeb64b0587b51225e6ceed343f2f759d7c72562445b78953f1bfdf37e6 SHA512 6bd3b8354e19b02048f9c9dc890cad9d87e4c9fb2076ce27732428439790527745c9183c17c1a5a9f8667a47ba4922d073d1079d384085f140bbc6b525609bcf WHIRLPOOL 8dfaaf3ca81585d9363eb35bc7b52f415449240bdfdb3752efe6e2ae3aa490997f86f5f5b228d2c3403c1d7486587204cc1174396b36402222c2eeca9c29c2b2
DIST libzen_0.4.31.tar.bz2 107694 SHA256 9fd0ed1861986c59d00e9674efc3afab487172c16e85384d7037b6608a5da4b4 SHA512 ab881b0bf6932c6198649898b03634cdb0c133b4b8cbbb29fd6273b858f7b548cac70a7866622b5b3b5d67f28f9cf4856c95a1cca98bbecdf44291c59fe79765 WHIRLPOOL c77abe694e2d8e1bd5577994bea2df207f70266402f01af085e4722ce612e7b674e090398d01e61c26181efb225623cc3a1d125f531f2654fe23216c84de78b9
DIST libzen_0.4.32.tar.bz2 116842 SHA256 cd43483f975e845a059a34d9e5d29e81c520fcd984cd7d1a92d2c8c8bd8a0b66 SHA512 6e2912683799467ee993204673b268a5d95603217c7a82ada31948c6f7fe564205cf30a479a559d204cc96bb513793ce29ece2a86c2ab5d2f430f22354c9facc WHIRLPOOL 87decb176de053b2e9a191a029231f1ed0238fbb6d9d1196bafcd780a71b11f40ad315c437bbb2e26695e28dac20a2c12ea06fb316bb020fb35089b64a199015
+DIST libzen_0.4.33.tar.bz2 117892 SHA256 a289197a24ca94c506abab3113a1af2dcc82bc97736b23e02fd57ca99e8ac55f SHA512 c05773d2d8fb4ec095d442f384c21f87ca97a2d5ea58645d7af0b68210533c1a1bd1083d2d70dfdedb087acc776ac2f1158a617e5bd5f3611cd1be5504463a08 WHIRLPOOL 213301a278f8560700df8de65b0097cdc0c20575cb8b73949ffca696316957a634332bc2efbdd3a784226a7cfd18425992c26d8d4c98854cd8fa2c289e5a8c9b
diff --git a/media-libs/libzen/libzen-0.4.33.ebuild b/media-libs/libzen/libzen-0.4.33.ebuild
new file mode 100644
index 000000000000..8e85a90b0802
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.33.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools multilib eutils
+
+MY_PN="ZenLib"
+DESCRIPTION="Shared library for libmediainfo and mediainfo"
+HOMEPAGE="http://mediaarea.net/mediainfo/"
+SRC_URI="http://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+DEPEND="virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}/Project/GNU/Library
+
+src_prepare() {
+ sed -i 's:-O2::' configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-unicode \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+
+ if use doc ; then
+ cd "${WORKDIR}"/${MY_PN}/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ # remove since the pkgconfig file should be used instead
+ rm "${D}"/usr/bin/libzen-config
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
+
+ for x in ./ Format/Html Format/Http HTTP_Client ; do
+ insinto /usr/include/${MY_PN}/${x}
+ doins "${WORKDIR}"/${MY_PN}/Source/${MY_PN}/${x}/*.h
+ done
+
+ dodoc "${WORKDIR}"/${MY_PN}/History.txt
+ if use doc ; then
+ dohtml "${WORKDIR}"/${MY_PN}/Doc/*
+ fi
+
+ prune_libtool_files
+}