From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84F8515ACFB for ; Sat, 15 Apr 2023 05:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8074EE07D4; Sat, 15 Apr 2023 05:58:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68092E07D4 for ; Sat, 15 Apr 2023 05:58:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96EAC340F94 for ; Sat, 15 Apr 2023 05:58:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8D3CA45 for ; Sat, 15 Apr 2023 05:58:16 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1681538244.c59144c10ebf32f5e933e95aac93aa633784121f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libzen/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libzen/Manifest media-libs/libzen/libzen-0.4.41.ebuild X-VCS-Directories: media-libs/libzen/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c59144c10ebf32f5e933e95aac93aa633784121f X-VCS-Branch: master Date: Sat, 15 Apr 2023 05:58:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd3a82a8-147a-43d7-be41-57fc7f32c26c X-Archives-Hash: e0a3a88e9a8fb2af719e9bd433485715 commit: c59144c10ebf32f5e933e95aac93aa633784121f Author: Sam James gentoo org> AuthorDate: Sat Apr 15 05:51:54 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 15 05:57:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59144c1 media-libs/libzen: add 0.4.41 Closes: https://bugs.gentoo.org/903729 Signed-off-by: Sam James gentoo.org> media-libs/libzen/Manifest | 1 + media-libs/libzen/libzen-0.4.41.ebuild | 73 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest index fcc36989acd1..3d3789c8f99d 100644 --- a/media-libs/libzen/Manifest +++ b/media-libs/libzen/Manifest @@ -1 +1,2 @@ DIST libzen_0.4.39.tar.bz2 129816 BLAKE2B ff3ffe1b53234e567be12e86deb5dddd54584c112d297bd50764a980f4a3bcd51a08af630d482cca3157fcc9b8452f644807d6055d88420dcc6c311725ed402d SHA512 f261a676cbde9a877b85df536306a035ede1acdc5d827049698d19b3ecd8a65e5f6cfe66851fda034e1b31c95f6d6e82b78b0bc35989ec1568a010fb88a5a2d8 +DIST libzen_0.4.41.tar.bz2 129664 BLAKE2B 9e8f7fd77dfa0224c330a1c6c5e77e96e235b1119efc060ed9077d4dc00a6040c1ee8d8fba09f2bdb6bc9c964e3a4e703bd073d58d6a6366f84ff49f82102211 SHA512 a65bd9753a4d5676eaaf1c6d3e8d6fbd460b0dfee8a5a80708b3924ad1aa2ecfe0059b6d2c6f6e490a6367727f049cafd5d86fca584e11063cb1ca376e07e529 diff --git a/media-libs/libzen/libzen-0.4.41.ebuild b/media-libs/libzen/libzen-0.4.41.ebuild new file mode 100644 index 000000000000..29ba280e9c20 --- /dev/null +++ b/media-libs/libzen/libzen-0.4.41.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# These must be bumped together: +# - media-libs/libzen (if a release is available) +# - media-libs/libmediainfo +# - media-video/mediainfo + +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" +S="${WORKDIR}"/${MY_PN}/Project/GNU/Library + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc static-libs" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +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 -f "${ED}"/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 +}