diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-12-05 23:45:13 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-12-05 23:45:13 -0500 |
commit | 384a24e55edd91ef4f757ad30f131d878930439b (patch) | |
tree | 0049703e7bc5984b7aece0193637f07f08e6e6fe | |
parent | media-libs/libao: remove old (diff) | |
download | gentoo-384a24e55edd91ef4f757ad30f131d878930439b.tar.gz gentoo-384a24e55edd91ef4f757ad30f131d878930439b.tar.bz2 gentoo-384a24e55edd91ef4f757ad30f131d878930439b.zip |
media-libs/libzen: version bump to 0.4.34
-rw-r--r-- | media-libs/libzen/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libzen/libzen-0.4.34.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest index 1720c4905122..e9cab8a93768 100644 --- a/media-libs/libzen/Manifest +++ b/media-libs/libzen/Manifest @@ -2,3 +2,4 @@ DIST libzen_0.4.30.tar.bz2 105608 SHA256 c4f8bcbeb64b0587b51225e6ceed343f2f759d7 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 +DIST libzen_0.4.34.tar.bz2 119347 SHA256 83774fe093bd14fb72da9c537021a8ffc3f6ff952a1401cd6f91de6628ac790a SHA512 46a2457b72c5f8b585eaec9ca99405cc795ea96174494651ccb57c0ef9317f1b7632992bb1d430fe5e62cab9849f102effd3558e8f5b0c36bc9515ed81c4e386 WHIRLPOOL 9817dfc03af8c47dbde1b808c658b3523fc9494d875629b83f49677c6d4e5314b016ce3a467c4bcf5f65fb32052659fd1b9b4499e9705722096ae082ecbe52e8 diff --git a/media-libs/libzen/libzen-0.4.34.ebuild b/media-libs/libzen/libzen-0.4.34.ebuild new file mode 100644 index 000000000000..33d21d93fe82 --- /dev/null +++ b/media-libs/libzen/libzen-0.4.34.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools multilib eutils + +MY_PN="ZenLib" +DESCRIPTION="Shared library for libmediainfo and mediainfo" +HOMEPAGE="https://github.com/MediaArea/ZenLib 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() { + 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 +} |