summaryrefslogtreecommitdiff
path: root/media-libs/libmediainfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-15 11:48:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-15 11:48:08 +0100
commit04fc7f10cec12efb1240344a0090b539e24ad0f3 (patch)
tree130fb059a6b83e95af28b97b0f55c716d48924bf /media-libs/libmediainfo
parent0bec4ab1937eed98ee24e2d48f0cfec46de2fc58 (diff)
gentoo auto-resync : 15:04:2023 - 11:48:08
Diffstat (limited to 'media-libs/libmediainfo')
-rw-r--r--media-libs/libmediainfo/Manifest4
-rw-r--r--media-libs/libmediainfo/libmediainfo-22.09.ebuild7
-rw-r--r--media-libs/libmediainfo/libmediainfo-23.03.ebuild92
3 files changed, 100 insertions, 3 deletions
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
index 4b339ee5ad25..b0e8b6e2e0b6 100644
--- a/media-libs/libmediainfo/Manifest
+++ b/media-libs/libmediainfo/Manifest
@@ -1,3 +1,5 @@
DIST libmediainfo_22.09.tar.xz 1886180 BLAKE2B 3b9fa03ae1fafd06e494ad462ab30a19141c516b6fe61867da7cf339ee470cb56a6cdab57c4e8a498e79c7e3e4b4e5a19b4302f2db2ab0172fe26fefcc0a92f6 SHA512 4204f0ad73f5b826ec89df88607d7e491ecdad512c6bdae12f72b551827b1e4818aa2b88a46a46cb1f8fca46f3638fbe0243e252c685ca46b2d33a9acb00198c
-EBUILD libmediainfo-22.09.ebuild 1821 BLAKE2B 409fa27b714a88b8f4d6b3836984c4d2366ded1dbaf87c90a335342fad3819f9beb206cae901267f6087962be73395fb0ac71024951672a9a7daa3c580bf4ca7 SHA512 28e729010b6117fbf18f2861b7d254d465a2ed2423e7ab784c1dae8db86b9b15e97b9a718e661855fd913bec4f6ede72b1e8679c994e520d77e4d127c3a971c9
+DIST libmediainfo_23.03.tar.xz 1925904 BLAKE2B bd8d716e9e85bdf2c91ddb6b5492e87e75e497469107aa3ca8a045f25bca1202432a2c8e9a01d179afc1d705ad4c35fcc41cda44cf2b9e57bffd0e8db4f2b7c0 SHA512 a13c4042851248ee4c76f2f52bbafe6e2152e99d60d8cccbff3c5aa01c63e27f97c3335cf88bdaa4869a1f1550ed9ce428af127569ee09c2fee344ed06e44942
+EBUILD libmediainfo-22.09.ebuild 1916 BLAKE2B 5bfa083325243c4c118ce41c4ddc4f09b60129d5ae1f9098cb0a5950cbfc63a8d26b99ecc2b73c9978cb23d1baa6a0dfeafeaaeea0a1f1ead53e599828a77b96 SHA512 604a5a7003c1f0d471c6bd6d7dd695275dcfb98a2d1551485d42c08ad0d39a3b25e0d0462e9f0333bcc6023455a907313aab4465b0a1a606a840d0c6da9e4199
+EBUILD libmediainfo-23.03.ebuild 1987 BLAKE2B 8ff0dab08bc50c702ef9172bfd5b027c68321f30d3ce81fcb690bc861e6381b0850a6f27fe511020b550fc0e53351431b8da0904bc429ffc37cd37bbab02bdd7 SHA512 028e541510a1b3a73155b4203fa1df089f841755f049d13d6b1f142a25d4f9b333c0f86bc5af8f755e0f4e5c645a41b68242676d8835421c40840b23773e4cf7
MISC metadata.xml 347 BLAKE2B 66f84361f792efe1817c3427292038fd8dc244aea4263c2e2b571b7c5adfc9bd3fd4801cfc3154512a1892590f91c8248f603273d3e1c8d241285a7d863871fb SHA512 b33309009eb8ce3104f5995a4baf050ffe93d53e5a9e422e58abdfbc5c3c4c32406b126b9e1d0421656a73ed42ee662a1b5cec052f73e85ce16d4d278669b607
diff --git a/media-libs/libmediainfo/libmediainfo-22.09.ebuild b/media-libs/libmediainfo/libmediainfo-22.09.ebuild
index 9d00028f98b3..cf8673edc836 100644
--- a/media-libs/libmediainfo/libmediainfo-22.09.ebuild
+++ b/media-libs/libmediainfo/libmediainfo-22.09.ebuild
@@ -1,9 +1,12 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-# Please bump with media-video/mediainfo!
+# 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
diff --git a/media-libs/libmediainfo/libmediainfo-23.03.ebuild b/media-libs/libmediainfo/libmediainfo-23.03.ebuild
new file mode 100644
index 000000000000..1118b3bbb2c3
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-23.03.ebuild
@@ -0,0 +1,92 @@
+# 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
+
+MY_PN="MediaInfo"
+inherit autotools edos2unix flag-o-matic
+
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="https://mediaarea.net/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-doc/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
+}