diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 67883 -> 67884 bytes | |||
-rw-r--r-- | media-libs/fontconfig/Manifest | 1 | ||||
-rw-r--r-- | media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild | 220 | ||||
-rw-r--r-- | media-libs/libmediainfo/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libmediainfo/libmediainfo-22.09.ebuild | 7 | ||||
-rw-r--r-- | media-libs/libmediainfo/libmediainfo-23.03.ebuild | 92 | ||||
-rw-r--r-- | media-libs/libmp4v2/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libmp4v2/libmp4v2-2.1.2.ebuild | 32 | ||||
-rw-r--r-- | media-libs/libmp4v2/metadata.xml | 2 | ||||
-rw-r--r-- | media-libs/libzen/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libzen/libzen-0.4.39.ebuild | 7 | ||||
-rw-r--r-- | media-libs/libzen/libzen-0.4.41.ebuild | 73 |
12 files changed, 439 insertions, 7 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 93d54a7d411d..c00a2a85fab3 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest index 3bcfe4a8d452..ee83807173b7 100644 --- a/media-libs/fontconfig/Manifest +++ b/media-libs/fontconfig/Manifest @@ -8,5 +8,6 @@ DIST fontconfig-2.14.1.tar.xz 1447044 BLAKE2B 4bee654f4196922fb07673f588b4bf8a65 DIST fontconfig-2.14.2.tar.xz 1440844 BLAKE2B 4efeeb7f9a6705d493128d00b60e681a20a47556f4c0d7787a5c7a6d2cbbc22f150cad7988a9836a9e72aeb61e2b6a196c00a071c7042c62283c7720cdbb743d SHA512 23483e0ae6aa7589fd37f9949a4cf951c5bff981739dbb446881e4cea86a208c0ab31e2358666eac724af1dc6a689a42733a7ce91cd3e76d8d91eacedb318085 EBUILD fontconfig-2.14.0-r1.ebuild 6742 BLAKE2B 27a4b527cadce296d9e221c395cacc4ab22ee3fa20edbe8a736d88971e655cdd1381dc02879bae0935d0c5d97d1128a89d969b9bd764d67475d1fb185934e0c7 SHA512 b0989ef1f9365d433422ba3c2cee6d817ae0654702d59aa5ffdd05bb16e61e063fdbab912d734a7e350da5559f9f35d33d86583a00ce2748a3dab550e28cb73f EBUILD fontconfig-2.14.1-r1.ebuild 6669 BLAKE2B 15edcc9a23bf962f2de32be9afd712c846859bcd5969155f8d739d91e409f0ca0f540c0a9708d01053c13ad3512b6f64bbeef01a1f8c19167bbebf03f68fdc50 SHA512 28c1238f9128b0d058e92dcb749fcda4ff0b873b7e3c48c13da548a264202170a2d05e1150d555d2437ff9252b60ca0e41d7f1e3d7c4461e732d9d688a5d9548 +EBUILD fontconfig-2.14.2-r1.ebuild 6757 BLAKE2B 58cdfed0b488137d5695366c2fcd9357913e9a84563d4683e2e0906e98e25e311a46cbb51ddd978f0591431391feaa6ed06071906d3e37216cb0f2714d9c49d3 SHA512 01bf062eb83eb7c38faf493a809dc02e0222629851ba5d78f1e3e9a800b7ac615123aee151bcbf0a3a534bb8447b1c1cd18a2a09bf11c9da19ae47fe7a8c71d1 EBUILD fontconfig-2.14.2.ebuild 6575 BLAKE2B 4fcaba1dd4d5a643a4b6e83080bf108667da2cb000581f05da4f4f1a0b6596c3571205002533992ddb02b3443435798dc30d7533e7f9ab6c259fe516e4f3f9c5 SHA512 6c138bfb68062dfd8737b949b21afacdc1a1abf0f2df99c0ef1d9ada970c5591c9a66164e5d9d3de8ed0c31c4484640595f1381eb6e49a2ffd9fae68bec7980a MISC metadata.xml 599 BLAKE2B c83a7da35bf49bd9bdbcc0adbeed83781250873abf67a927a63fbeb76c4013582cc2363068380b95cb021368bbc0ce92e4dc101f75eb6e3405f07a14d6dc97c3 SHA512 9cc70ac770d70ceef0a24acea4089a949456e229242a2f33f35230505cfa7dc5d20fbf1f2b066c6a1bae53013db6dbabbd22304a3f2a358ec43b6843b22e0a66 diff --git a/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild b/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild new file mode 100644 index 000000000000..025d4099fc68 --- /dev/null +++ b/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit multilib meson-multilib python-any-r1 readme.gentoo-r1 + +DESCRIPTION="A library for configuring and customizing font access" +HOMEPAGE="https://fontconfig.org/" +SRC_URI="https://fontconfig.org/release/${P}.tar.xz" + +LICENSE="MIT" +SLOT="1.0" +if ! [[ $(ver_cut 3) -ge 90 ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +fi +IUSE="doc nls test" +RESTRICT="!test? ( test )" + +# - Check minimum freetype & other deps on bumps. See +# https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/configure.ac#L314. +# Note that FT versioning is confusing, need to map it using +# https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/VERSIONS.TXT +# But sometimes it's actually greater than that, e.g. see Fedora's spec file +# https://src.fedoraproject.org/rpms/fontconfig/blob/rawhide/f/fontconfig.spec#_1 +# +# - Purposefully dropped the xml USE flag and libxml2 support. Expat is the +# default and used by every distro. See bug #283191. +# +# - There's a test-only dep on json-c. +# It might become an optional(?) runtime dep in future though. Who knows. +# Keep an eye on it. +RDEPEND=" + >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=media-libs/freetype-2.9.1[${MULTILIB_USEDEP}] + virtual/libintl[${MULTILIB_USEDEP}] + !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) ) + elibc_Darwin? ( sys-libs/native-uuid ) + elibc_SunOS? ( sys-libs/libuuid ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/json-c ) +" +BDEPEND=" + ${PYTHON_DEPS} + dev-util/gperf + virtual/pkgconfig + doc? ( + =app-text/docbook-sgml-dtd-3.1* + app-text/docbook-sgml-utils[jadetex] + ) + nls? ( >=sys-devel/gettext-0.19.8 ) +" +PDEPEND="virtual/ttf-fonts" +# We need app-eselect/eselect-fontconfig in IDEPEND to update ROOT +# when cross-compiling. +IDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig )" + +PATCHES=( + # bug #130466 + make liberation default + "${FILESDIR}"/${PN}-2.14.0-latin-update.patch + # Avoid test failure (bubblewrap doesn't work within sandbox) + "${FILESDIR}"/${PN}-2.14.0-skip-bubblewrap-tests.patch + + # Patches from upstream (can usually be removed with next version bump) +) + +DOC_CONTENTS="Please make fontconfig configuration changes using +\`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be +overwritten. If you need to reset your configuration to upstream defaults, +delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig." + +src_prepare() { + default + + # Test needs network access + # https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/319 + # On bumps, please check to see if this has been fixed + # to allow local access! + sed -i -e '/test-crbug1004254/d' test/meson.build || die +} + +multilib_src_configure() { + local addfonts=( + "${EPREFIX}"/usr/local/share/fonts + ) + + # Harvest some font locations, such that users can benefit from the + # host OS's installed fonts + case ${CHOST} in + *-darwin*) + addfonts+=( + /Library/Fonts + /System/Library/Fonts + ) + ;; + + *-solaris*) + [[ -d /usr/X/lib/X11/fonts/TrueType ]] && \ + addfonts+=( /usr/X/lib/X11/fonts/TrueType ) + [[ -d /usr/X/lib/X11/fonts/Type1 ]] && + addfonts+=( /usr/X/lib/X11/fonts/Type1 ) + ;; + + *-linux-gnu) + use prefix && [[ -d /usr/share/fonts ]] && \ + addfonts+=( /usr/share/fonts ) + ;; + esac + + local emesonargs=( + # USE=doc only controls the additional bits like html/pdf + # and regeneration of man pages from source. We always install + # the prebuilt man pages. + $(meson_native_use_feature doc) + $(meson_native_use_feature doc doc-txt) + $(meson_native_use_feature doc doc-html) + $(meson_native_use_feature doc doc-man) + $(meson_native_use_feature doc doc-pdf) + + $(meson_native_use_feature nls) + $(meson_feature test tests) + + -Dcache-build=disabled + -Dcache-dir="${EPREFIX}"/var/cache/fontconfig + -Ddefault-fonts-dirs="${EPREFIX}"/usr/share/fonts + -Dadditional-fonts-dirs=$(IFS=, ; echo "${addfonts[*]}" ) + -Dtemplate-dir="${EPREFIX}"/etc/fonts/conf.avail + + # Let users choose via eselect-fontconfig. See bug #900681 + # and https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/356. + -Ddefault-sub-pixel-rendering=none + ) + + meson_src_configure +} + +multilib_src_install() { + MULTILIB_CHOST_TOOLS=( /usr/bin/fc-cache$(get_exeext) ) + + meson_src_install + + # Avoid calling this multiple times, bug #459210 + if multilib_is_native_abi; then + insinto /etc/fonts + doins fonts.conf + fi +} + +multilib_src_install_all() { + einstalldocs + + # fc-lang directory contains language coverage datafiles + # which are needed to test the coverage of fonts. + insinto /usr/share/fc-lang + doins fc-lang/*.orth + + dodoc doc/fontconfig-user.{txt,pdf} + + if ! use doc ; then + find "${S}" -name "*.[[:digit:]]" -type f -exec doman '{}' + || die + fi + + if [[ -e ${ED}/usr/share/doc/fontconfig/ ]] ; then + mv "${ED}"/usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${PF} || die + rm -rf "${ED}"/usr/share/doc/fontconfig || die + fi + + # Changes should be made to /etc/fonts/local.conf, and as we had + # too much problems with broken fonts.conf we force update it ... + echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig || die + doenvd "${T}"/37fontconfig + + # As of fontconfig 2.7, everything sticks their noses in here. + dodir /etc/sandbox.d + echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${ED}"/etc/sandbox.d/37fontconfig || die + + readme.gentoo_create_doc +} + +pkg_preinst() { + # bug #193476 + # /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various + # config files. If we install as-is, we'll blow away user settings. + ebegin "Syncing fontconfig configuration to system" + if [[ -e ${EROOT}/etc/fonts/conf.d ]] ; then + local file f + for file in "${EROOT}"/etc/fonts/conf.avail/* ; do + f=${file##*/} + if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]] ; then + [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \ + && ln -sf ../conf.avail/"${f}" \ + "${ED}"/etc/fonts/conf.d/ &>/dev/null + else + [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \ + && rm "${ED}"/etc/fonts/conf.d/"${f}" &>/dev/null + fi + done + fi + eend $? +} + +pkg_postinst() { + einfo "Cleaning broken symlinks in ${EROOT}/etc/fonts/conf.d/" + find -L "${EROOT}"/etc/fonts/conf.d/ -type l -delete + + readme.gentoo_print_elog + + if [[ -z ${ROOT} ]] ; then + multilib_pkg_postinst() { + ebegin "Creating global font cache for ${ABI}" + "${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf + eend $? + } + + multilib_parallel_foreach_abi multilib_pkg_postinst + fi +} 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 +} diff --git a/media-libs/libmp4v2/Manifest b/media-libs/libmp4v2/Manifest index 9034c469afd7..7fcc2268a838 100644 --- a/media-libs/libmp4v2/Manifest +++ b/media-libs/libmp4v2/Manifest @@ -7,5 +7,7 @@ AUX libmp4v2-2.0.0-gcc7.patch 747 BLAKE2B 5bed55f8c9e9593261d9738871de162fdfaec6 AUX libmp4v2-2.0.0-mp4tags-corruption.patch 642 BLAKE2B 86a1b614dfc2e4dbcee97ebe9b029feac2078eb3d6c25793f291f625ad1e0dc1df85d028813fe96e980e2d8fef4a5eb821da8622f3ce3f8b28835dd020812d7f SHA512 565959560941ec0503b17a1e6a9cae85a03d6f97e4f4ea66cf457c941de96148606f23471525bf786bd95f78097b3376020a40d53fc7a4675c1db9819e7e8593 AUX libmp4v2-2.0.0-unsigned-int-cast.patch 2922 BLAKE2B 660ee262d6a21540b9646aa87f911373042c1f1f879b18a913d07fd267fa2275556f8a0e18e86c28ce4a737f136d53c2dbd21602635b12b490535f3e8d8e0ef7 SHA512 89cb78624096e4182056c4e9099cc13cb6251330d741ccaabe557eeb21c2df77d71367da21c16d2c33b1a7dde49429f57c7673d49be0e9a459af491a00305f37 DIST mp4v2-2.0.0.tar.bz2 495672 BLAKE2B 966c90b443bd6f7a81c96fd12f95b00c3ec89cd476aa0fff3e0450b315d54543578ef953c5e3f28d52ca800a0768c601dddc8e99a32ff512767cd65c12832bd5 SHA512 15eb882f33d72d4209053b54c883b67715f539c33096705a0e7bc79015b93f6f3ac80ae29c65a0ffe9eab1bf0dedf07198bdee23fa6eafcd6ccb34f984484be0 +DIST mp4v2-2.1.2.tar.bz2 594365 BLAKE2B ca7438ab34d826926bb39a9f1c09f24a65c2ea7aae45cb736ec4b285ef975f575c1c28ee88d47e623c8085e2800a52ac89d18bd7c42232c72d7d6ae89d78c850 SHA512 7996edbbaf4125cb406ea5dad82dd04e50bc04d6d3f7c32ba5f3be35872b5dc7048038a6e59c668578e8ee1898d56a3c77bcafc5cd42cff9cb6232ee20cdb406 EBUILD libmp4v2-2.0.0-r2.ebuild 1315 BLAKE2B 17163eb97e6847b1c32b0065504a3108d4d389e5eb75c1f1823fd786583456c82d868b209f76f04b53306d3e17220e95d3b7bc247ea8fb635a787cded49dc1d2 SHA512 ef0f22022e9ee1371a566e3cd8435a14ae15ff25f654c34c9513e454bff12520a2878af8dee677deb0590c083a257f49ae31546047ba7a636df00d9bf0147934 -MISC metadata.xml 403 BLAKE2B 84438b7972c9dfeb58018cec117394aba4ccca85191f2e9398b6deea067832e3c60e1961665aceeb45f991a9b5fa761671d1a105070682e55b0bf38097ea9a24 SHA512 3f074ac9935d666637e2bed95b7af329dcbe6b92252a092b78ed5f9a6701037f7a5249576be634c5a22b452933b56750f7ccfcef93e13e1da8bddf8c69e5aa9d +EBUILD libmp4v2-2.1.2.ebuild 802 BLAKE2B 550e959ec48a2ed79f73ace3c37570d994cbaf33d7638996270f3b8d370ab3ea44318aa309c4dd73ad10e560c6d76cc91b4061c58e297612afe0104e2acc77b3 SHA512 5eaecd3f6fda0e7792277214dd030a47823ca90273e92363a277193c642bffd464ff349e77c5128f3468c9d239db110813dbf004e09118d437ad7ec61e610654 +MISC metadata.xml 407 BLAKE2B bce0be3a2817259413395a925b55e59d503f988bc2d54b9fd3ff632de284205bb515944e3b1ec95da6a7df2f45f32b1a78706e902f5ea4ff6cebe085db483782 SHA512 999f244426cf480a967cb030e4e3e5c63e39c4fc7eb73e3c0e091b492b65f6aef2b66856ee9040a5d9d44efe72a136fea848479875a39eac37bc62dfaa294777 diff --git a/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild b/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild new file mode 100644 index 000000000000..2b7c38415a27 --- /dev/null +++ b/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P=${P/lib} + +inherit cmake + +DESCRIPTION="Functions for accessing ISO-IEC:14496-1:2001 MPEG-4 standard" +HOMEPAGE="https://mp4v2.org/" +SRC_URI="https://github.com/enzo1982/mp4v2/releases/download/v${PV}/${MY_P}.tar.bz2" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="utils" +# Tests need DejaGnu but are non-existent (just an empty framework) +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.0-unsigned-int-cast.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_UTILS=$(usex utils) + ) + cmake_src_configure +} diff --git a/media-libs/libmp4v2/metadata.xml b/media-libs/libmp4v2/metadata.xml index 2a7b78b4b273..64bc58b332fa 100644 --- a/media-libs/libmp4v2/metadata.xml +++ b/media-libs/libmp4v2/metadata.xml @@ -9,6 +9,6 @@ <flag name="utils">Install command-line utilities</flag> </use> <upstream> - <remote-id type="google-code">mp4v2</remote-id> + <remote-id type="github">enzo1982/mp4v2</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/libzen/Manifest b/media-libs/libzen/Manifest index b07e51977328..97b7627caf76 100644 --- a/media-libs/libzen/Manifest +++ b/media-libs/libzen/Manifest @@ -1,3 +1,5 @@ DIST libzen_0.4.39.tar.bz2 129816 BLAKE2B ff3ffe1b53234e567be12e86deb5dddd54584c112d297bd50764a980f4a3bcd51a08af630d482cca3157fcc9b8452f644807d6055d88420dcc6c311725ed402d SHA512 f261a676cbde9a877b85df536306a035ede1acdc5d827049698d19b3ecd8a65e5f6cfe66851fda034e1b31c95f6d6e82b78b0bc35989ec1568a010fb88a5a2d8 -EBUILD libzen-0.4.39.ebuild 1324 BLAKE2B c089f825190c8458651b5e8b5ae3bd599768357560c618b99c6a1d8c0944fafa78c56e18d6da43255e6cd3ab4f24a07d8467a283dbac2cf874b4ba2012ef150a SHA512 4babeaee0ff8a86d302e887d8df108ac5f9c0609b7bd8d81577143492e0ac8578c04a8f4c541ede83f8e24d400a50b18ec26d2efe9455fb68653174f6c535207 +DIST libzen_0.4.41.tar.bz2 129664 BLAKE2B 9e8f7fd77dfa0224c330a1c6c5e77e96e235b1119efc060ed9077d4dc00a6040c1ee8d8fba09f2bdb6bc9c964e3a4e703bd073d58d6a6366f84ff49f82102211 SHA512 a65bd9753a4d5676eaaf1c6d3e8d6fbd460b0dfee8a5a80708b3924ad1aa2ecfe0059b6d2c6f6e490a6367727f049cafd5d86fca584e11063cb1ca376e07e529 +EBUILD libzen-0.4.39.ebuild 1462 BLAKE2B dfe357023f8271e6bb256c3cf250546fb606f356d1fa337e7776533fcc149e51ff5293d4435394a29e3d37ddf57821cc893c05002faf8460e5f208f9aa4cfba0 SHA512 473ecd955afb67586ee15560197fcb2a8c5dc1eb7e9c837c0f919f46e796aa242d6d79818d3e766c795e50330a4c9544a95a58be94622d9be28c85b1d3645a4f +EBUILD libzen-0.4.41.ebuild 1473 BLAKE2B ab23aa59afc9b0f930a523ef581761a9957c6f461021d08130031036aba85159310173ac059eea7078786dccfe95cd0473d3b5026632faf4412032707d8f8b80 SHA512 8bb4e576ff8ef5c5dea3e07e896e6e890e9002477725e49aae16ebf87c33145baeccc09415f9a8d29644409a1b3d1df06334bc433feb5a947e41c76053b739bb MISC metadata.xml 392 BLAKE2B a57d4f857e1716b904183c862184654212a31e3d3ce089891f85c88b627b9a4b956d542c434e9565843b582e9f35c9e5fc8d4c14b647131c9bf239c383df9bba SHA512 77eff51f73560975ee03ea94a3d0880ad8adb4c6a2ae4930d986436562fcafa09677d18843c2dac366b74e8233f7a900f8ae74b7b82335c8b4067a703f6b3d6b diff --git a/media-libs/libzen/libzen-0.4.39.ebuild b/media-libs/libzen/libzen-0.4.39.ebuild index 76331527de04..dda2b416b06d 100644 --- a/media-libs/libzen/libzen-0.4.39.ebuild +++ b/media-libs/libzen/libzen-0.4.39.ebuild @@ -1,8 +1,13 @@ -# Copyright 1999-2022 Gentoo Authors +# 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 + inherit autotools MY_PN="ZenLib" diff --git a/media-libs/libzen/libzen-0.4.41.ebuild b/media-libs/libzen/libzen-0.4.41.ebuild new file mode 100644 index 000000000000..29ba280e9c20 --- /dev/null +++ b/media-libs/libzen/libzen-0.4.41.ebuild @@ -0,0 +1,73 @@ +# 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 + +inherit autotools + +MY_PN="ZenLib" +DESCRIPTION="Shared library for libmediainfo and mediainfo" +HOMEPAGE="https://github.com/MediaArea/ZenLib" +SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.bz2" +S="${WORKDIR}"/${MY_PN}/Project/GNU/Library + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc static-libs" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +src_prepare() { + default + + sed -i 's:-O2::' configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --enable-unicode \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_compile() { + default + + if use doc ; then + cd "${WORKDIR}"/${MY_PN}/Source/Doc + doxygen Doxyfile || die + fi +} + +src_install() { + default + + # remove since the pkgconfig file should be used instead + rm -f "${ED}"/usr/bin/libzen-config + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + for x in ./ Format/Html Format/Http HTTP_Client ; do + insinto /usr/include/${MY_PN}/${x} + doins "${WORKDIR}"/${MY_PN}/Source/${MY_PN}/${x}/*.h + done + + dodoc "${WORKDIR}"/${MY_PN}/History.txt + if use doc ; then + docinto html + dodoc "${WORKDIR}"/${MY_PN}/Doc/* + fi + + find "${ED}" -name '*.la' -delete || die +} |