summaryrefslogtreecommitdiff
path: root/media-libs/libzen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /media-libs/libzen
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'media-libs/libzen')
-rw-r--r--media-libs/libzen/Manifest2
-rw-r--r--media-libs/libzen/libzen-0.4.39.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest
index 0a20f1c40aa0..a93f4e0ba760 100644
--- a/media-libs/libzen/Manifest
+++ b/media-libs/libzen/Manifest
@@ -1,3 +1,5 @@
DIST libzen_0.4.38.tar.bz2 129706 BLAKE2B 3e40e31663f655885f47b7674936a765cce032da25fcc3f57604b116414bf4348db363a4745bf98126879de9d2de5d4443af1fe3a1f64a7bafd3525eb1ca38da SHA512 d946cd2349848925e13a3fb6aab5ad4f5aca28bc89b3263faca3096d7bbcae3a4ff9ed2552bf005b4ca1f4c8c8f59856f4c4aafa7c734ecebd078e6fc40a9a0b
+DIST libzen_0.4.39.tar.bz2 129816 BLAKE2B ff3ffe1b53234e567be12e86deb5dddd54584c112d297bd50764a980f4a3bcd51a08af630d482cca3157fcc9b8452f644807d6055d88420dcc6c311725ed402d SHA512 f261a676cbde9a877b85df536306a035ede1acdc5d827049698d19b3ecd8a65e5f6cfe66851fda034e1b31c95f6d6e82b78b0bc35989ec1568a010fb88a5a2d8
EBUILD libzen-0.4.38.ebuild 1286 BLAKE2B 7f666b78875bc270bfa1d6dae4863e4975a373ad817fd5ca6fa7c2a3acf340759360a0a8ee4a3f3921c71a19f6da10f0a1ce24e1c74e16deef8c5226e40afcbd SHA512 5f7e0a4cb84edbf021e06e6b0fad7ba3f9c23940b0fa4fb8d7f1abf1d10121fba40b9a1f732f662bc3b74ed810cf41939d3bdb19e24f2c5026d82524f29873c2
+EBUILD libzen-0.4.39.ebuild 1289 BLAKE2B ba69168321b49bce391b6d77bbe347c36f1187a4ffe68ae73553c5a4e9b3f919effbefaccf7897546aaa20bb6bb984a91bfdfa99c3316038ccbd3a1c06194382 SHA512 ebaf7173d0fc753ec01090fef8339759e361b32793a0493bef019d041a273eace4a5bf14bebde93ef59a5b5f845a4202fe6f9d610c0a46a5e3160004cf53defb
MISC metadata.xml 392 BLAKE2B a57d4f857e1716b904183c862184654212a31e3d3ce089891f85c88b627b9a4b956d542c434e9565843b582e9f35c9e5fc8d4c14b647131c9bf239c383df9bba SHA512 77eff51f73560975ee03ea94a3d0880ad8adb4c6a2ae4930d986436562fcafa09677d18843c2dac366b74e8233f7a900f8ae74b7b82335c8b4067a703f6b3d6b
diff --git a/media-libs/libzen/libzen-0.4.39.ebuild b/media-libs/libzen/libzen-0.4.39.ebuild
new file mode 100644
index 000000000000..f4c444cbce43
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.39.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+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"
+
+BDEPEND="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
+
+ find "${ED}" -name '*.la' -delete || die
+}