From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmediainfo/
Date: Fri, 22 Apr 2022 01:03:20 +0000 (UTC) [thread overview]
Message-ID: <1650589391.84e89f4b97cd9ec3b45667c7ec211d9d1f0579ea.sam@gentoo> (raw)
commit: 84e89f4b97cd9ec3b45667c7ec211d9d1f0579ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 00:58:05 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 01:03:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e89f4b
media-libs/libmediainfo: add 22.03
Closes: https://bugs.gentoo.org/831208
Bug: https://bugs.gentoo.org/836564
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libmediainfo/Manifest | 1 +
media-libs/libmediainfo/libmediainfo-22.03.ebuild | 84 +++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
index b6292ef46270..5110282d3b22 100644
--- a/media-libs/libmediainfo/Manifest
+++ b/media-libs/libmediainfo/Manifest
@@ -1,2 +1,3 @@
DIST libmediainfo_20.09.tar.xz 1827744 BLAKE2B 4073da6b85a2871e815a3a374933bae614c25899f8ad77174f63b2055d2220f8b5b785a765f85583289398ce9ade7c014da4d19303b6ed5224e13ffcc2952fdb SHA512 dce5b787866984fd0fefdcb739851212d5a145b657a557fd41c19c7548d32449a3b07d7759bf9a790c5ddebdc9537a0b9f0d5c58b8b2fbb152e456386897a354
DIST libmediainfo_21.09.tar.xz 1850688 BLAKE2B ac6b32a23a82f0c5f0901ef9b6a22b850a59efab80952fcc7cbcbd28951a43d0abb7065ca19adde4715e06f1798ac2992e3f3e82c16c9cf152ff95c42f15b27d SHA512 a0b5ea9c6fce3f5551176d411b8c227927f579c3f09442316f6c380926acc545ea346e044f808b66403b1f0aac6f88ed4413c8231e792256d3cd7676133ef3be
+DIST libmediainfo_22.03.tar.xz 1871232 BLAKE2B 1dd1a1a04adf98dbb3c28cc6fb43e393a4fd32fbc42d110e61d8a72ec8c5603570629e4a756606ccb548873b450944e642b9422f8b00703c91c2832c635e3bd9 SHA512 cae1df09f38e60363ef3c1d0f7324301b701f21c3fde84318f6389f91311b706037699fe83448f8e5b4d1f8af81ddf357b1630fe5f03aeccfa90fe0f9ae86477
diff --git a/media-libs/libmediainfo/libmediainfo-22.03.ebuild b/media-libs/libmediainfo/libmediainfo-22.03.ebuild
new file mode 100644
index 000000000000..86f328565ea3
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-22.03.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with 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 ~x86"
+IUSE="curl doc mms"
+
+# Tests try to fetch data from online sources
+RESTRICT="test"
+
+RDEPEND="dev-libs/tinyxml2:=
+ >=media-libs/libzen-0.4.37
+ 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
+}
next reply other threads:[~2022-04-22 1:03 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 1:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-20 23:53 [gentoo-commits] repo/gentoo:master commit in: media-libs/libmediainfo/ Sam James
2024-04-20 23:48 Sam James
2024-04-20 23:48 Sam James
2023-11-24 14:31 Pacho Ramos
2023-06-10 4:20 Sam James
2023-06-09 16:42 Arthur Zamarin
2023-06-09 14:32 Arthur Zamarin
2023-05-17 19:51 Louis Sautier
2023-04-15 5:58 Sam James
2023-04-15 5:58 Sam James
2022-12-18 19:32 Arthur Zamarin
2022-12-18 12:45 Sam James
2022-11-14 16:24 Alexis Ballier
2022-09-03 5:27 Sam James
2022-08-28 5:06 WANG Xuerui
2022-07-30 5:16 Yixun Lan
2022-07-14 19:55 Arthur Zamarin
2022-07-12 1:10 Sam James
2022-04-24 6:30 Agostino Sarubbo
2022-04-23 15:27 Sam James
2021-01-24 1:58 Andreas Sturmlechner
2020-12-10 21:41 Thomas Deutschmann
2020-12-06 23:34 Sam James
2020-10-14 8:18 Alexis Ballier
2020-10-07 7:09 Agostino Sarubbo
2020-10-07 6:42 Agostino Sarubbo
2020-08-11 21:26 Thomas Deutschmann
2020-05-07 3:51 Tim Harder
2020-05-07 3:51 Tim Harder
2020-04-05 10:05 Tim Harder
2020-02-16 20:24 David Seifert
2019-11-10 6:50 Tim Harder
2019-11-10 6:50 Tim Harder
2019-09-13 16:46 Tim Harder
2019-08-31 10:41 Tim Harder
2019-08-31 10:41 Tim Harder
2019-07-18 4:57 Tim Harder
2019-06-22 21:02 Tim Harder
2019-06-22 21:02 Tim Harder
2019-05-10 8:42 Tim Harder
2019-05-10 8:42 Tim Harder
2019-05-10 8:42 Tim Harder
2018-12-12 8:25 Tim Harder
2018-12-12 8:25 Tim Harder
2018-12-12 8:25 Tim Harder
2018-09-15 12:24 Tim Harder
2018-09-15 12:24 Tim Harder
2018-09-15 12:24 Tim Harder
2018-06-05 4:31 Tim Harder
2018-06-05 4:31 Tim Harder
2018-06-05 4:31 Tim Harder
2018-03-24 1:53 Tim Harder
2018-02-03 9:15 Tim Harder
2018-02-03 9:15 Tim Harder
2017-12-25 23:09 Tim Harder
2017-11-02 22:50 Tim Harder
2017-10-18 7:21 Tim Harder
2017-10-18 7:21 Tim Harder
2017-09-13 8:55 Tim Harder
2017-09-13 8:55 Tim Harder
2017-09-13 8:55 Tim Harder
2017-08-31 11:36 Tim Harder
2017-08-31 11:36 Tim Harder
2017-08-14 5:39 Tim Harder
2017-08-14 5:39 Tim Harder
2017-08-14 5:39 Tim Harder
2017-07-10 7:37 Tim Harder
2017-07-10 7:37 Tim Harder
2017-07-10 7:37 Tim Harder
2017-06-08 7:19 Tim Harder
2017-05-20 14:21 Tim Harder
2017-05-20 14:21 Tim Harder
2017-05-20 14:21 Tim Harder
2017-04-03 8:34 Tim Harder
2017-02-05 0:45 Tim Harder
2017-01-07 19:50 Tim Harder
2017-01-07 19:50 Tim Harder
2016-12-06 4:53 Tim Harder
2016-12-06 4:53 Tim Harder
2016-12-06 4:53 Tim Harder
2016-11-03 0:31 Tim Harder
2016-11-03 0:31 Tim Harder
2016-11-03 0:31 Tim Harder
2016-10-03 22:08 Tim Harder
2016-09-01 6:55 Tim Harder
2016-08-10 6:07 Tim Harder
2016-07-26 4:23 Tim Harder
2016-06-13 3:33 Tim Harder
2016-06-13 3:33 Tim Harder
2016-05-01 6:04 Tim Harder
2016-04-11 5:08 Tim Harder
2016-03-06 2:25 Tim Harder
2016-02-01 5:05 Tim Harder
2016-01-14 1:39 Tim Harder
2015-12-14 5:01 Tim Harder
2015-12-14 4:58 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650589391.84e89f4b97cd9ec3b45667c7ec211d9d1f0579ea.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox