summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-09-13 04:42:45 -0400
committerTim Harder <radhermit@gentoo.org>2017-09-13 04:55:03 -0400
commitbe8a41aa244a5751cfa86611a91680cdfc1b5a62 (patch)
tree435ba6bdf05568587bd7123ca7296cec8d4aac1e /media-libs/libzen
parentdev-db/sqlite: stable 3.20.1 for hppa/sparc, bug #630738 (thanks to Rolf Eike... (diff)
downloadgentoo-be8a41aa244a5751cfa86611a91680cdfc1b5a62.tar.gz
gentoo-be8a41aa244a5751cfa86611a91680cdfc1b5a62.tar.bz2
gentoo-be8a41aa244a5751cfa86611a91680cdfc1b5a62.zip
media-libs/libzen: version bump to 0.4.37
Diffstat (limited to 'media-libs/libzen')
-rw-r--r--media-libs/libzen/Manifest1
-rw-r--r--media-libs/libzen/libzen-0.4.37.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest
index 5cba2e725d2..2e674b0cf4a 100644
--- a/media-libs/libzen/Manifest
+++ b/media-libs/libzen/Manifest
@@ -1,2 +1,3 @@
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
+DIST libzen_0.4.37.tar.bz2 121707 SHA256 d6e9b7084bbb828536b47698e0c60e381cf0cefc4a8d712bb81dac826ccd9ac1 SHA512 3b5bec79470bec054cfa759e753e3925fbd9f27e508c692c0b100fcf1599696bff462d92c08799646e6ffc74c176e7cc7509ae0754c4710d527494f59d95d12b WHIRLPOOL b02271eeff5146b41375229ed5a663354ad051f7187d63b9f9247352444b59a245d5f025f5bce047032d0234737b65ec654caaefb463afb12a7b1c361cc3d0c1
diff --git a/media-libs/libzen/libzen-0.4.37.ebuild b/media-libs/libzen/libzen-0.4.37.ebuild
new file mode 100644
index 00000000000..cd399ca4621
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.37.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 ltprune
+
+MY_PN="ZenLib"
+DESCRIPTION="Shared library for libmediainfo and mediainfo"
+HOMEPAGE="https://github.com/MediaArea/ZenLib"
+SRC_URI="https://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
+}