From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1695849-garchives=archives.gentoo.org@lists.gentoo.org> 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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A9AB1581F3 for <garchives@archives.gentoo.org>; Sun, 1 Dec 2024 11:26:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 265EFE0819; Sun, 1 Dec 2024 11:26:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BFE6E0819 for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2024 11:26:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D3D9342F9C for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2024 11:26:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C03C1EC5 for <gentoo-commits@lists.gentoo.org>; Sun, 1 Dec 2024 11:26:47 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1733052359.ff727b751e64dea64bb97cc948a47753d51fcd0e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmediainfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmediainfo/Manifest media-libs/libmediainfo/libmediainfo-24.11.ebuild X-VCS-Directories: media-libs/libmediainfo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff727b751e64dea64bb97cc948a47753d51fcd0e X-VCS-Branch: master Date: Sun, 1 Dec 2024 11:26:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b130f9d7-255f-4d49-9426-e2e9d34ab60a X-Archives-Hash: fc388c0986b489dc2a21795e4d837ad6 commit: ff727b751e64dea64bb97cc948a47753d51fcd0e Author: Anthony Ryan <anthonyryan1 <AT> gmail <DOT> com> AuthorDate: Fri Nov 29 02:24:12 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 11:25:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff727b75 media-libs/libmediainfo: add 24.11 Signed-off-by: Anthony Ryan <anthonyryan1 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libmediainfo/Manifest | 1 + media-libs/libmediainfo/libmediainfo-24.11.ebuild | 92 +++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest index 7b43bcb2980e..390b276acea1 100644 --- a/media-libs/libmediainfo/Manifest +++ b/media-libs/libmediainfo/Manifest @@ -2,3 +2,4 @@ DIST libmediainfo_22.09.tar.xz 1886180 BLAKE2B 3b9fa03ae1fafd06e494ad462ab30a191 DIST libmediainfo_23.03.tar.xz 1925904 BLAKE2B bd8d716e9e85bdf2c91ddb6b5492e87e75e497469107aa3ca8a045f25bca1202432a2c8e9a01d179afc1d705ad4c35fcc41cda44cf2b9e57bffd0e8db4f2b7c0 SHA512 a13c4042851248ee4c76f2f52bbafe6e2152e99d60d8cccbff3c5aa01c63e27f97c3335cf88bdaa4869a1f1550ed9ce428af127569ee09c2fee344ed06e44942 DIST libmediainfo_23.04.tar.xz 1932860 BLAKE2B b5de44301693b65537b27bd097b3efa5d8a89e05c9f9d1755b9c0c70589bd8549dcb9079da0c9adc5d465170306f4612e2027127c74d4ed162448230c5632814 SHA512 5c673e78564132c8c5e64a7d2901914968c1c9a9bc362a95b74330e26447378eac3197f106f2abeeeea635bd68bbe57f596827ef6ee7dd139646ee0e05a124cc DIST libmediainfo_23.10.tar.xz 1977204 BLAKE2B e64481694c651b16bf72e18d5e68069f63efc481b465b6eb7d1d6a8c3e7de84aaabbc212fce8d734f7dd6d082a6ffcf1cdf040f410fd16554bf20db5460c3db4 SHA512 fc7f6b4ff811e9656bfd795325511d53def3e78016a005cfd3439af955a3a6c13ef06dd72dd0685441e2419ed7d141bf762394f8b3d8a9bd00ad2780dc4acbb6 +DIST libmediainfo_24.11.tar.xz 2096092 BLAKE2B 4080c34afa7e0a3ff2c9424e95ae4c461d2535f715bcc9812f30953be9b127d73100ba13835a5e77baa383bef0e089333a7ebcf891ce4e461d91d3388b1972e2 SHA512 3a7c889b09be4b17696288ac5a773684fed2dc608f9c1da346e790524b8bea372cedf5573e602dc48e10f61a17d314c8bd48764e5365dabe2c0222687e904a26 diff --git a/media-libs/libmediainfo/libmediainfo-24.11.ebuild b/media-libs/libmediainfo/libmediainfo-24.11.ebuild new file mode 100644 index 000000000000..dbdd5e56357c --- /dev/null +++ b/media-libs/libmediainfo/libmediainfo-24.11.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 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 + +MY_PN="MediaInfo" +inherit autotools edos2unix flag-o-matic + +DESCRIPTION="MediaInfo libraries" +HOMEPAGE="https://mediaarea.net/en/MediaInfo https://github.com/MediaArea/MediaInfoLib" +SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz" +S="${WORKDIR}"/${MY_PN}Lib/Project/GNU/Library + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="curl doc mms" + +# Tests try to fetch data from online sources +RESTRICT="test" + +# The libzen dep usually needs to be bumped for each release! +RDEPEND=" + dev-libs/tinyxml2:= + >=media-libs/libzen-0.4.41 + sys-libs/zlib + curl? ( net-misc/curl ) + mms? ( >=media-libs/libmms-0.6.1 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) +" + +src_prepare() { + default + + sed -i 's:-O2::' configure.ac || die + + append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0 + + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + --disable-static \ + --disable-staticlibs \ + --with-libtinyxml2 \ + $(use_with curl libcurl) \ + $(use_with mms libmms) +} + +src_compile() { + default + + if use doc; then + cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc || die + doxygen Doxyfile || die + fi +} + +src_install() { + if use doc; then + local HTML_DOCS=( "${WORKDIR}"/${MY_PN}Lib/Doc/*.html ) + fi + + default + + edos2unix ${PN}.pc #414545 + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do + insinto /usr/include/${MY_PN}/${x} + doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h + done + + insinto /usr/include/${MY_PN}DLL + doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h + + dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt + + find "${ED}" -name '*.la' -delete || die +}