summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-12-13 23:38:35 -0500
committerTim Harder <radhermit@gentoo.org>2015-12-13 23:57:45 -0500
commit5117f6b5dd6e14103beb9a83264a923e7dc7dd68 (patch)
treedb3468456a89b2ea3cf59130867fd59e4be044ee /media-libs/libzen
parentsys-devel/gcc: move 5.3.0 into ~arch (diff)
downloadgentoo-5117f6b5dd6e14103beb9a83264a923e7dc7dd68.tar.gz
gentoo-5117f6b5dd6e14103beb9a83264a923e7dc7dd68.tar.bz2
gentoo-5117f6b5dd6e14103beb9a83264a923e7dc7dd68.zip
media-libs/libzen: version bump to 0.4.32
Diffstat (limited to 'media-libs/libzen')
-rw-r--r--media-libs/libzen/Manifest1
-rw-r--r--media-libs/libzen/libzen-0.4.32.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest
index 87932e34653e..9343820323a6 100644
--- a/media-libs/libzen/Manifest
+++ b/media-libs/libzen/Manifest
@@ -2,3 +2,4 @@ DIST libzen_0.4.28.tar.bz2 103380 SHA256 0649c10e1657f5a0c5447301c0c3c3673430691
DIST libzen_0.4.29.tar.bz2 101647 SHA256 5cfe8b460928239e6840bb547fa140149f47486fe71db93062fcfbca4b753e00 SHA512 1900c714c48423fcc4fc1bb6810cbafc61f42170ad7c6d81ccc9b8353709f93c003f68c79134c58fb3e7e4afd3f3ba9e46c8ed2f54fb4ffc01546bd32f33efef WHIRLPOOL 3cff851d0a6a4f4e0f13fe0742201e05c5eafdef916c63326c7caf0ae897fb65c245dd20680f7983b4f070ccec4007528159ac4fb400a0c2e28d0d818b33d891
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
diff --git a/media-libs/libzen/libzen-0.4.32.ebuild b/media-libs/libzen/libzen-0.4.32.ebuild
new file mode 100644
index 000000000000..580bcec0f62b
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.32.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 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
+}