summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-14 00:50:42 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-14 01:39:39 -0400
commitfc13b5a9f491e3248c0ce0f39a4196f40ff71b24 (patch)
tree0d4b5bfe7659501eac9bdd81dbe243e13967a774
parentsci-visualization/visit: fixed problem with building - qwt with qt5 (diff)
downloadgentoo-fc13b5a9f491e3248c0ce0f39a4196f40ff71b24.tar.gz
gentoo-fc13b5a9f491e3248c0ce0f39a4196f40ff71b24.tar.bz2
gentoo-fc13b5a9f491e3248c0ce0f39a4196f40ff71b24.zip
media-libs/libzen: version bump to 0.4.36
-rw-r--r--media-libs/libzen/Manifest1
-rw-r--r--media-libs/libzen/libzen-0.4.36.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest
index 77ced592da59..5cba2e725d2b 100644
--- a/media-libs/libzen/Manifest
+++ b/media-libs/libzen/Manifest
@@ -1 +1,2 @@
DIST libzen_0.4.35.tar.bz2 120440 SHA256 7e21978d425801c498fcc4d5043c75b0bc3e4721618a180728fb39c71e8b4189 SHA512 0f9faa7975c91a1bd3e0cf47881fc3d86f32bc81ac1b371f8708c9187ca126a1240049ee6d267faa5d9b24b9a7f2066990796f7b8386dbb574c5e967c5889f1d WHIRLPOOL 81bfbb4f039a2acb82b4804a99a124e604c60829204ba2489b4010d281c46638521b5a5ee98b8f98c268818915e4d6201444e2fc61cd4519e92a416061e59fca
+DIST libzen_0.4.36.tar.bz2 121379 SHA256 69ba2c1278b226dc83b141de63e804b417f527dfff8a816e5ffad87700f3ed5c SHA512 ee1c9288b4a276af2416c3551bd626f310c66af394ad733300834782a9be547dba2f7ed306f436d1fb21bcaeebd7250301a4202e298a1a44abfba8f5cbe44e7f WHIRLPOOL 57332d2eefdf41be431e89a42505dc5196e020b12b2c46c231cc73690aabbff09fe0aeb7ff3514f41cfe6e962f049b3d3389f8f5548a00ad0dffefac752827d9
diff --git a/media-libs/libzen/libzen-0.4.36.ebuild b/media-libs/libzen/libzen-0.4.36.ebuild
new file mode 100644
index 000000000000..ecdeeacd927e
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.36.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib eutils
+
+MY_PN="ZenLib"
+DESCRIPTION="Shared library for libmediainfo and mediainfo"
+HOMEPAGE="https://github.com/MediaArea/ZenLib"
+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() {
+ default
+ 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
+ docinto html
+ dodoc "${WORKDIR}"/${MY_PN}/Doc/*
+ fi
+
+ prune_libtool_files
+}