diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
commit | aa44121f587698ace480d5ca16ae9e64fe1b4d0b (patch) | |
tree | 51e169f07cbed2c1aca51f5e6ae3152233d68f27 /media-libs/libmediainfo | |
parent | 7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (diff) |
gentoo auto-resync : 14:11:2022 - 18:51:10
Diffstat (limited to 'media-libs/libmediainfo')
-rw-r--r-- | media-libs/libmediainfo/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libmediainfo/libmediainfo-22.09.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest index 0d544960bf3b..9d540732f322 100644 --- a/media-libs/libmediainfo/Manifest +++ b/media-libs/libmediainfo/Manifest @@ -1,4 +1,6 @@ AUX libmediainfo-21.09-link-fix.patch 1209 BLAKE2B d9e6662f594cca7166f01334e431bab0ceb51055d021ee918a3d63648fbd72fd01e9a2f192b77e57d99a36f16e60193d944d0d9e5c3f0f881441d6e774520ba4 SHA512 123362d1f8db82cb4954091c3929b488d808e150fc022ad05bb86517fa53ec1fd8e05d505d7376960f21f60c7aa1768c5eb690349cae391dd8a0a76cda041d5a DIST libmediainfo_22.03.tar.xz 1871232 BLAKE2B 1dd1a1a04adf98dbb3c28cc6fb43e393a4fd32fbc42d110e61d8a72ec8c5603570629e4a756606ccb548873b450944e642b9422f8b00703c91c2832c635e3bd9 SHA512 cae1df09f38e60363ef3c1d0f7324301b701f21c3fde84318f6389f91311b706037699fe83448f8e5b4d1f8af81ddf357b1630fe5f03aeccfa90fe0f9ae86477 +DIST libmediainfo_22.09.tar.xz 1886180 BLAKE2B 3b9fa03ae1fafd06e494ad462ab30a19141c516b6fe61867da7cf339ee470cb56a6cdab57c4e8a498e79c7e3e4b4e5a19b4302f2db2ab0172fe26fefcc0a92f6 SHA512 4204f0ad73f5b826ec89df88607d7e491ecdad512c6bdae12f72b551827b1e4818aa2b88a46a46cb1f8fca46f3638fbe0243e252c685ca46b2d33a9acb00198c EBUILD libmediainfo-22.03.ebuild 1822 BLAKE2B b9c5ccba616e56104dc16f4a63269a81ed198c169448414a5303e0cb413754a7c3391eca1722e8c7f8af46f3ef3e96317e79e38fc612e01f404c821166c4d3c9 SHA512 257037c78eb312cfb924f05d60045127c9adac5a919655ecde8d8673252e4ca0df16609622a74eab6057203e88373ddff5181d67c52a56fad5e19b7a31592685 +EBUILD libmediainfo-22.09.ebuild 1824 BLAKE2B c66773b2018b0fd136d77bdb3f0cebac841f70ff8129d763ae0ce8593b5496cb3b28ac2f193d7582cb3f6c1170c8a2e8da7fc39cea00dbb8a0f708d90ffcddf1 SHA512 0ee2c9c311003663f762a5e8a5c8a6f3f70a41319cc5a64e3e4d432d82d8c2190c40e5370d0318b795c00ae4badbf130cfe37e2440bd36a76c1287ddc903b21a 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 new file mode 100644 index 000000000000..e2292546b188 --- /dev/null +++ b/media-libs/libmediainfo/libmediainfo-22.09.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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~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 +} |