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-video/mediainfo | |
parent | 7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (diff) |
gentoo auto-resync : 14:11:2022 - 18:51:10
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r-- | media-video/mediainfo/Manifest | 2 | ||||
-rw-r--r-- | media-video/mediainfo/mediainfo-22.09.ebuild | 86 |
2 files changed, 88 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest index ea1a562e6543..cacc347ba064 100644 --- a/media-video/mediainfo/Manifest +++ b/media-video/mediainfo/Manifest @@ -1,3 +1,5 @@ DIST mediainfo_22.03.tar.xz 2005340 BLAKE2B 232f077a1e202271de8c0d07f1f2a27efac38c998cb5b7f465bf5e8e44c24d6dad9fcafc1a6d981863c13822bd8cbe921b4a06adf3b1f3ac7c8690de4026b597 SHA512 981c9fe410cf6fff1a87ecfe250216977e036e8606034621c18bbf66cc75261c2e0f411bbbf298a409b5b306f7f7ee993a1e24e70040cf48a7728550ef7d830b +DIST mediainfo_22.09.tar.xz 2016868 BLAKE2B c4b1766c4d49be6e90d11c736e4572e24299ae96efdfbf92ef9d32a418d7777cad2ae60ac7e6234cfa7c3a11996e46fb178996c536b9ce13dd19a0449ae8bf86 SHA512 acdeef13153fd74c29d54b9bdf4e983dd81525ace47550977d99cb5950ab72579cbbfc1ae39d81d89e03c491ea559177a16853d9db20d83a995eff300b864d4d EBUILD mediainfo-22.03.ebuild 1688 BLAKE2B bff9dc32f8ef6dc02c26dfca0add8b56c99d360e568b49d9b6742de4813749caff3f693b318776f88405c9ea5bf220b06ffd09804320d80756cbd920b0598f80 SHA512 cacc860ee112837d51c926271345baa28fe547532c01b25f13d45d9f048e3334097722613d4189a27093d6879b3a01f1b6ede59f5c9da42f393f37788345b32d +EBUILD mediainfo-22.09.ebuild 1690 BLAKE2B 9308f2bf9649ff4aa6d8a66c57580a02740faac2243cf90764a5e102c912fda42350ea09932ca3e1a906a7a2b4d98d3dd92b451761958f67c2467bfde74550c6 SHA512 5c97ba08084337d33547ffe5d86c0aba709d33f875e0aabaed7a277dd3f8bd977324065c32f6b5d5a65a2c4de549b8192363d06bdf5a3660d6fbe57d2c3fea03 MISC metadata.xml 344 BLAKE2B c70240ab3644a4c1d2367d1eb094a01b60198549456dfae21604c03bb30298f0abde2afda7dfdcf16425ca90856e98f57869481b85358e1724595454c8fdb308 SHA512 cdf31d4cd6185e0fdf604b611ee54b0bb90ffd369119cfd0bcc759e1e3d63a0d5ce673f508d3963b06c0c6152cdc1ef7d369ad2e84327ebd91c1e4a196e75d2e diff --git a/media-video/mediainfo/mediainfo-22.09.ebuild b/media-video/mediainfo/mediainfo-22.09.ebuild new file mode 100644 index 000000000000..c14b99437c34 --- /dev/null +++ b/media-video/mediainfo/mediainfo-22.09.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump with media-libs/libmediainfo! + +WX_GTK_VER="3.0-gtk3" +inherit xdg-utils autotools wxwidgets + +DESCRIPTION="MediaInfo supplies technical and tag information about media files" +HOMEPAGE="https://mediaarea.net/mediainfo/ https://github.com/MediaArea/MediaInfo" +SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz" +S="${WORKDIR}/MediaInfo" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="curl mms wxwidgets" + +RDEPEND="~media-libs/libmediainfo-${PV}[curl=,mms=] + >=media-libs/libzen-0.4.37 + sys-libs/zlib + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +pkg_setup() { + TARGETS="CLI" + + if use wxwidgets; then + TARGETS+=" GUI" + setup-wxwidgets + fi +} + +src_prepare() { + default + + local target + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} || die + sed -i -e "s:-O2::" configure.ac || die + eautoreconf + done +} + +src_configure() { + local target + + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} || die + local args="" + [[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui" + econf ${args} + done +} + +src_compile() { + local target + + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} || die + default + done +} + +src_install() { + local target + + for target in ${TARGETS}; do + cd "${S}"/Project/GNU/${target} || die + default + dodoc "${S}"/History_${target}.txt + done +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |