diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-30 21:21:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-30 21:21:38 +0100 |
commit | 2f210c93c08515a806199783aabe37d12a0197cb (patch) | |
tree | 8b846898d136de0503e4ec3c2cf1f90660ee3336 /media-libs | |
parent | 1c19f0d8d940b35f723e28d8a6ebe388cfacd1d8 (diff) |
gentoo auto-resync : 30:05:2023 - 21:21:38
Diffstat (limited to 'media-libs')
25 files changed, 1325 insertions, 0 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex f7999599268c..6600b008a31d 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest index 73c7d579fd7f..109adbd8f256 100644 --- a/media-libs/fontconfig/Manifest +++ b/media-libs/fontconfig/Manifest @@ -3,11 +3,13 @@ AUX fontconfig-2.14.0-latin-update.patch 1889 BLAKE2B 42a5faab884bb47e645a8ee6f0 AUX fontconfig-2.14.0-skip-bubblewrap-tests.patch 408 BLAKE2B 911a87e91dcdf49088e9a684a9af753464211f18fd471989410a57363dd71b7cc0940c9a8e61095d901b4d7ee804536262ebc6afb1af3f470d8cd164d2fd2113 SHA512 8302a3ccf5918c8a4c3af3ab3601752c005c0361003281996eba469195127fab0e99c8d225dcb674a1bc198f2c15b982cce49c6bb3234307cf58e47c9206ff5a AUX fontconfig-2.14.1-gperf-meson-debugging.patch 879 BLAKE2B a9697083b74ae9d7e48af9bd51fca347ef81d01e99731c31ec0535d7c9ff026f2ec41d9ad40454c72c88751b63fca6a24983b58aeae761a1a763f525136836dd SHA512 7f5d816b48ce558e87fe902ce70f6159281a6b34e7c3639997781930e9577dadad2c4d6dd929f243a5704d51db32134b5241060042f098d49dec8d83f816bb38 AUX fontconfig-2.14.1-gperf-meson.patch 2559 BLAKE2B 203cdd0d208acaf417e81973810f2a1129f4e9ec75fb51addb36c29267943c4250d27926ab888cf339cf67e10c4ef7fd90d54990c819acfde796d4ec7dd8bd5a SHA512 b87e0506e374a04902a87bfa140fde9fcd4a1d769c249db8d218a32f0befcecca9ad7c7fe389806fc634b83d7a0100c568dba0e243f0a0c7f91e34ad6b5ac7d3 +AUX fontconfig-2.14.2-fix-sysroot-fc-cache.patch 2007 BLAKE2B 91a43c8aec698a9733020031bfded6871d379b20535f6c1291d0d3fa38faaef9e367f0958f6df2b88003190184988dc99f7fa7f013f6837f24b617b83a0d5546 SHA512 73e41f2f19f61514a271141ddb4b640ed3b6060c4ccdcc79a4eefa6a6b4ece0e718012bee4b4b7312561e39ca02cd9663084298000d9cc9aa210c81a16945572 DIST fontconfig-2.14.0.tar.xz 1431056 BLAKE2B 880f34d33ac30158ea61e922f6635900c5b244c2eb5d259f7947a364df86ee13f6190f651471b0a28bcd3c13f19c970783517903df374839e474921611dff1ff SHA512 a5257249d031b3cd1a7b1521cd58f48d235a970020da4136a727db5407ec98e74a3776bc467d7e39f30ec664f56ff9fe39068317744a5e737a65109f7a005bfc DIST fontconfig-2.14.1.tar.xz 1447044 BLAKE2B 4bee654f4196922fb07673f588b4bf8a651bbcc8b882b20712814ff253adf6457c3c4b4c2f5549bac37ed3f152e9993988f00d04e2516c911eb13747fc4a1c73 SHA512 ba42e6f90ec92914895d2157c872c373adfc17be791b92253bcc40e85674a84e43c08ab2b37c3ae85b53b2e7bd2a7847abb479043f303b732c08eeac3ee733db DIST fontconfig-2.14.2.tar.xz 1440844 BLAKE2B 4efeeb7f9a6705d493128d00b60e681a20a47556f4c0d7787a5c7a6d2cbbc22f150cad7988a9836a9e72aeb61e2b6a196c00a071c7042c62283c7720cdbb743d SHA512 23483e0ae6aa7589fd37f9949a4cf951c5bff981739dbb446881e4cea86a208c0ab31e2358666eac724af1dc6a689a42733a7ce91cd3e76d8d91eacedb318085 EBUILD fontconfig-2.14.0-r1.ebuild 6658 BLAKE2B 789ca6fe8b523d117859b571ac5ddc93454d3ec1b470abfea8a158bcb7de0f8ff747036dc60cea3ca9da52968a8a8a53acbcd66ccc8eb20d4eeb16677ffecb3a SHA512 a63db14fa658d93c404ea462bc5b37f537d4169d21a7820f394e7be475b9d4e4fb03146c2f1e85c95763b214bdd5dd17d9047f0e2304f23a78d59d8c437f6c65 EBUILD fontconfig-2.14.1-r1.ebuild 6585 BLAKE2B 9b9289946672a0f581dcaec83347bd150650576fa8386a2eb48129c704ef50e87bf550ee6e34ece86169df4a72829062ff8c8ad3505d5048984bb5fcd3b28c59 SHA512 9c5b0f3ee44eb5f46ca701f938a4fff341152d4175989a3f914bced0958ce1bcd61d8bb0d26b5378beaa8b1c5ad96551e0d3cdc0077e6e07c834535eb5e9ad6b EBUILD fontconfig-2.14.2-r2.ebuild 7101 BLAKE2B 1fcba14a5de5c24375d4f70ea41ed19a5d65f5b75731491e303431d040c9715477f2691104cfc5aa5aa9a0fa3449e25e716aacaef6d03b1d3cb8b861c2e69294 SHA512 2fd6d774118ecc162cd097a1a5349a1b09d3303ab2c9843fe05c0e7663680010e396dbb94beb434b4a389394559ddede55b925d6c0913782b22655df271e5c83 +EBUILD fontconfig-2.14.2-r3.ebuild 7149 BLAKE2B 85e77326f916ad3982d60d56861b3d1db1791d2ab48293d5f47820cb597d203a1a0158469a657c0b359be63415798f784f6d1bbd5286112a009bd8d0d89620be SHA512 d9b8f60ca8d4040e0edca8b1388b36ff95f6d61ea5537f6a76bc418e0cf330ac84e9811ab5d39ae687a9cbe00d751819507411a05d22088dfb4c7ee8cb09440c EBUILD fontconfig-2.14.2.ebuild 6491 BLAKE2B 0b29f10921cb1a49083b95e0a0184ca8b5fd062c89b3d3de537633c8ff5178b68653b516dd2b3bc006840447a9d74e843f4d44069d4ccbf73f31ce8e14a15977 SHA512 e1be93bfecbd156295e6ab41475083e4355f76618c077766ac45563f842c534849ea6c7c61cdd6816e95d09f680c76cf354c3ffeb136880ae8c21f6d71f373dd MISC metadata.xml 672 BLAKE2B d23112b5d408aed97ad68bc9a141a570c22fd6bbf0022e979b7006817ae27bcba21be43558cb42df06f3c280cbed5570c62805bb69be8a64b1f41bd90b200bc0 SHA512 1ff9c1f22b9766127692eec4824ce966f7a7305ddfae0dd1d8b0e5b432926508dd7a898eada6c182e02c985e11c2f9a22f13eac195333ed32952af0e89015e9a diff --git a/media-libs/fontconfig/files/fontconfig-2.14.2-fix-sysroot-fc-cache.patch b/media-libs/fontconfig/files/fontconfig-2.14.2-fix-sysroot-fc-cache.patch new file mode 100644 index 000000000000..8568d5f4a99f --- /dev/null +++ b/media-libs/fontconfig/files/fontconfig-2.14.2-fix-sysroot-fc-cache.patch @@ -0,0 +1,60 @@ +https://bugs.gentoo.org/907424 +https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/2ef790a0dbbab24235d1b8c0325ab4414de5f0a9 + +From 2ef790a0dbbab24235d1b8c0325ab4414de5f0a9 Mon Sep 17 00:00:00 2001 +From: Tom Anderson <thomasanderson@chromium.org> +Date: Thu, 9 Feb 2023 01:31:26 +0000 +Subject: [PATCH] Fix filepaths added when scanning with sysroot + +This fixes a regression introduced by 76f88e780. When +using FONTCONFIG_SYSROOT=/home/tom/test_fonts, strace +reveals that fontconfig attempted to open /test_fonts/Ahem.ttf +instead of /home/tom/test_fonts/Ahem.ttf. The fix is to use +`s_dir` instead of `dir` in `file_prefix`. +--- a/src/fcdir.c ++++ b/src/fcdir.c +@@ -201,7 +201,7 @@ FcDirScanConfig (FcFontSet *set, + DIR *d; + struct dirent *e; + FcStrSet *files; +- FcChar8 *file_prefix, *s_dir = NULL; ++ FcChar8 *file_prefix = NULL, *s_dir = NULL; + FcChar8 *base; + const FcChar8 *sysroot = FcConfigGetSysRoot (config); + FcBool ret = FcTrue; +@@ -213,16 +213,6 @@ FcDirScanConfig (FcFontSet *set, + if (!set && !dirs) + return FcTrue; + +- /* freed below */ +- file_prefix = (FcChar8 *) malloc (strlen ((char *) dir) + 1 + FC_MAX_FILE_LEN + 1); +- if (!file_prefix) { +- ret = FcFalse; +- goto bail; +- } +- strcpy ((char *) file_prefix, (char *) dir); +- strcat ((char *) file_prefix, FC_DIR_SEPARATOR_S); +- base = file_prefix + strlen ((char *) file_prefix); +- + if (sysroot) + s_dir = FcStrBuildFilename (sysroot, dir, NULL); + else +@@ -232,6 +222,16 @@ FcDirScanConfig (FcFontSet *set, + goto bail; + } + ++ /* freed below */ ++ file_prefix = (FcChar8 *) malloc (strlen ((char *) s_dir) + 1 + FC_MAX_FILE_LEN + 1); ++ if (!file_prefix) { ++ ret = FcFalse; ++ goto bail; ++ } ++ strcpy ((char *) file_prefix, (char *) s_dir); ++ strcat ((char *) file_prefix, FC_DIR_SEPARATOR_S); ++ base = file_prefix + strlen ((char *) file_prefix); ++ + if (FcDebug () & FC_DBG_SCAN) + printf ("\tScanning dir %s\n", s_dir); + +-- +GitLab diff --git a/media-libs/fontconfig/fontconfig-2.14.2-r3.ebuild b/media-libs/fontconfig/fontconfig-2.14.2-r3.ebuild new file mode 100644 index 000000000000..c4f8f60b690d --- /dev/null +++ b/media-libs/fontconfig/fontconfig-2.14.2-r3.ebuild @@ -0,0 +1,232 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +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="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) + "${FILESDIR}"/${P}-fix-sysroot-fc-cache.patch +) + +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 + + local ver + for ver in ${REPLACING_VERSIONS} ; do + # 2.14.2 and 2.14.2-r1 included the bad 10-sub-pixel-none.conf + if ver_test ${ver} -lt 2.14.2-r2 && ver_test ${ver} -ge 2.14.2 ; then + if [[ -e "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf ]] ; then + einfo "Deleting 10-sub-pixel-none.conf from bad fontconfig-2.14.2 (bug #900681)" + rm "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf || die + fi + fi + done + + 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/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest index e437983a5ffe..578470ac45c1 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -1,7 +1,11 @@ DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b DIST gst-plugins-bad-1.20.4.tar.xz 6229992 BLAKE2B 2cd276cec9991e2ca7367a43024d7aee43adaa185a4a06ec08d1e736e72333f7f38cb54257120b9a313feb1fdc285a50d456b4c1fb33627d83acfcd3ece20687 SHA512 31b28d4a1bbecf021a90f2aa49dd344ccea12533b65f3bf3a8426ca2175469fff7b7f8e08af7d3d22c18db2fe48b9d5fbea2b325d296aee04b019cebef1eaec4 DIST gst-plugins-bad-1.20.5.tar.xz 6237720 BLAKE2B bf379da420d1f7f148cf51373f6f2d0800685487c8bdb7a768e79e0a2e4f1721053922be9321958b4ce318de12ea390de4cd89c345329ac41dd0425815e0e7f6 SHA512 4b4603d755d17a0fa072d771521bdcbf554fc9abdc8105b9d9189062e5725ae2989f430e1de77363a69d8c969ecbf15e73e9c478fabe8efac83b2d9b1b0a4a0a +DIST gst-plugins-bad-1.20.6.tar.xz 6244344 BLAKE2B 50c8d62b486541c0ee71d69f1debb18c7dcd02afe562f6d337f8648cf69a492ac47dcf250e4e6b1c6a7d518237431639c25601f9935996724cb9f73beffa27e8 SHA512 c1f2be9351dc12d9290f715ac529dc03572617fb65c50755927e01cb9307b9e806b6204b5b2f85c29a8fc3d8ca7695767a316fb387eac465e9e93bcae5d39ff5 +DIST gst-plugins-bad-1.22.3.tar.xz 5523924 BLAKE2B 8015098ac2d19546de58cebdbe29fd7fbb2c7f076bf775564d7b862ed99a59968a2f751ff1137534d178fea5cf1c2022e53e4159ca2e5d3bf71c9fa4663be4f5 SHA512 1512e26111174ea4a9da26203a635e7ec7673ea5b6ca8dae8aaa8a20ffae36c9b68904d669344a8efc31f751093a00e22d2a1f1affcdd037f162493441c77628 EBUILD gst-plugins-bad-1.20.3.ebuild 2430 BLAKE2B 006eae0daba269614a14ec162d322ce46022ad2cc79ade6af833a629bde087f50aa6ecc0018eeb271fef749300c9c153c0e4201fb3533b9ed6db0e3ef4ca3a8f SHA512 55add597ac8545422522440794162394355fb79b67d0d4a0e63680f0fed8d4aeb57e996aa770fdbc7ede5a55cb0384791efb361f886d888cde90a46835adb1f9 EBUILD gst-plugins-bad-1.20.4-r1.ebuild 2672 BLAKE2B d3011a7758be33f43a3d91570f2448a9e0c2b71cf1b6ed45eecbbd98dbd9f784b7d89d1d97426290bf09704fcfc7403be365c14ebead6f2f0a53ff3f9e23537c SHA512 96eb63a43caaa8d58f747959568db9d54c67e08885ac6cd73693e4367d29ca873472f924daba0405e8d84aae1029eb65c59d23fdcfdce2f784fd36d29b84733f EBUILD gst-plugins-bad-1.20.5-r1.ebuild 2632 BLAKE2B 062319f500bbe90a592c31994d0eb0b8f88a51bf9c7c2c9dcecce9f105ce9930768a59b4954a5326936fc7ccf380d243975c80b7fc038aef6a136a45bb5d653e SHA512 bd36f2e05e26c9f110f45846e30f8a2ebba5655358ecfba232adf48d8edb771cf2be0ec8357760e25d7e497b0ab16b1947c75ff37c0c4266d496a08e645f26b4 +EBUILD gst-plugins-bad-1.20.6.ebuild 2632 BLAKE2B 062319f500bbe90a592c31994d0eb0b8f88a51bf9c7c2c9dcecce9f105ce9930768a59b4954a5326936fc7ccf380d243975c80b7fc038aef6a136a45bb5d653e SHA512 bd36f2e05e26c9f110f45846e30f8a2ebba5655358ecfba232adf48d8edb771cf2be0ec8357760e25d7e497b0ab16b1947c75ff37c0c4266d496a08e645f26b4 +EBUILD gst-plugins-bad-1.22.3.ebuild 2632 BLAKE2B 76b70496c6f8e18ff3a14c2eaa190c15746fc8b06e638d88b96c92c3d42547c8107e97c1e4e19c573053b0c186d7926e87e3733428821247dae95f9796f86e87 SHA512 b175ef63f5a56b7b23cd5888b955de2e9c0acef82b98f035ef5f8d021052e88925d3d11f65c0da68c68d28ea9f0697c45101749638fc25941a5fd77959fc05e2 MISC metadata.xml 546 BLAKE2B 423dd10a0ced2de218d8d97cf63adec1cfbabc238c10fdbab763e21255884e869104abf8c4e8e6500fad9190c0ca2b855af69525558a0e51ff57df45bf4da393 SHA512 42e02ef93d4d168d37250df7e5d8b07b6b2b2db7127b371082ce4910ef1b3b8c96ed979f06d83e90f7030a9d1ce0aef4c82591d862a90b1ffc2aa78d6a7fd5e3 diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.6.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.6.ebuild new file mode 100644 index 000000000000..9e09fc6de58e --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.6.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-bad" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# TODO: egl and gtk IUSE only for transition +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) +# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) +RDEPEND=" + !media-plugins/gst-transcoder + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.15 + ) + + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + + qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/glib-utils +" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) +RESTRICT="test" + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls" + + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + -Dhls=disabled + $(meson_feature vnc librfb) + + $(meson_feature wayland) + ) + + if use qsv; then + emesonargs+=( + -Dmsdk=enabled + -Dmfx_api=oneVPL + ) + else + emesonargs+=( -Dmsdk=disabled ) + fi + + if use opengl || use gles2; then + myconf+=( -Dgl=enabled ) + else + myconf+=( -Dgl=disabled ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_test() { + # Tests are slower than upstream expects + CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3.ebuild new file mode 100644 index 000000000000..2979eb705fca --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-bad" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# TODO: egl and gtk IUSE only for transition +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) +# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) +RDEPEND=" + !media-plugins/gst-transcoder + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.15 + ) + + orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) + + qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/glib-utils +" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) +RESTRICT="test" + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls" + + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + -Dhls=disabled + $(meson_feature vnc librfb) + + $(meson_feature wayland) + ) + + if use qsv; then + emesonargs+=( + -Dmsdk=enabled + -Dmfx_api=oneVPL + ) + else + emesonargs+=( -Dmsdk=disabled ) + fi + + if use opengl || use gles2; then + myconf+=( -Dgl=enabled ) + else + myconf+=( -Dgl=disabled ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_test() { + # Tests are slower than upstream expects + CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest index f34fc5ffdd0f..d7fdf042c461 100644 --- a/media-libs/gst-plugins-base/Manifest +++ b/media-libs/gst-plugins-base/Manifest @@ -1,7 +1,11 @@ DIST gst-plugins-base-1.20.3.tar.xz 3299976 BLAKE2B b397867561df763d5e762069c6ad20298857d4a30727a18a60e8df9a53658e52f6a189c3426d0f51a16e7cee1834b402470ecb0284aca65ecaa0300dc79d0c8a SHA512 258294291cb9b406c17dfe4e5c1ca9061580d0789293355c9b43d558630d360097b6867287edf1688f3edaf50b5900cdd177c1429c122a0415c56da8b0f21ed1 DIST gst-plugins-base-1.20.4.tar.xz 3307224 BLAKE2B f6e9bd3366a4a8213c1447433f13a8e432d749df250216fed37453ac291c35340114edf8113fb790d9c947793ac97185e44dd5f130be1cfc699800214e87dd87 SHA512 4a5d8ce8b2a530065e65842f7a0c7b6b63744e584baff0e795863d9967beb43c086a1d5f551702a9f1ac20e0ed4ce9bc4cf4e811a949c459c258ae5eee1426c9 DIST gst-plugins-base-1.20.5.tar.xz 3312340 BLAKE2B 299ecef5ee872a3ed9904faede8fa81eb25fd78912a66106787c5f0c64c25880ed606593276cb08717a2b4637a70c1815956bafb0139747ea6f2cef7abbefb76 SHA512 63710fd44b26c026d8c6a572df369593809adbe5484ae12774208efb3d335e9b79c512a324464a4b76607a7503b4b89fca7f10bbb07843b7c69d559fb760b550 +DIST gst-plugins-base-1.20.6.tar.xz 3320100 BLAKE2B e1e8508227c8f8f88f01fe16e8faa73ed92a3d2bb23656369b6bd9c4fcd4827cca062dbd8bccfc1669d0ab8096703981cace414f33aa594c5077af15f567f16b SHA512 ed212921636d9ed35ab18216a37ebddfcd4a3d9d27020648b358f6c8d5ab81a6cd87724b61881c292cb28e37b8de5b3e67c114d2ae692af79daf8e4d9416b260 +DIST gst-plugins-base-1.22.3.tar.xz 2353512 BLAKE2B 77b6b09b2a295a6f68b19c3e5ed2a1d96452806e6236d7e0da4a61b6a51eb93311fa6bfb89dcf7b9efbc4acd3cb5999d9b4d08a9e60de3544b3ecb22015a1540 SHA512 dbfca6114ce0c5b234b533c89fdfa957499ecb25bbb5156e2ee54610be42969b2cae9e74a8250eb8b07484c9767f8f1d00e88d6d04c5da5429d62d08c9fd2472 EBUILD gst-plugins-base-1.20.3.ebuild 5568 BLAKE2B a429af2eb73851f77393282ceea58b0d4b574df79fb7a4a8588476e39e1652375b4fe23963d0caef3b4b653d2b068c5549c4a42b527840f23586b1deba8a5204 SHA512 4a2ed8de621c4cc8365df59c2926cceec6f060b3bebd923363949f45e9c1159602069ac89a502c26e3258c61bd258b54a062948d42a10af787bb1824163d1254 EBUILD gst-plugins-base-1.20.4.ebuild 5728 BLAKE2B 87ec089d447b7365061d7d2324b2bb45988d605126f56316c75ff743d0ed721083162326f27fa8a2421e95a444e397a3e2db6f42a1b6726f99ddd86f4ff8bef8 SHA512 cbe3a93a1f04ad3aa2d73616bf3dfc1d8bdc9066bb793383baf3b04c1ae6061f76e30c1d12f58854d94765e8f04cd91a9912bce906a7a20a04d1bad1aed8ddeb EBUILD gst-plugins-base-1.20.5.ebuild 5734 BLAKE2B 9d68a2d4dacac44a8abc9183e867f3457d7a3c1d262261b881c00e90d9a5843b0175caeab1a6926dafba2ee60f648872b85e79cf22a1a3f7f667674d6eed92d6 SHA512 fb133b1bd7f0df056985f7d144e6d880ea71d700106bc94faffb3c95a5196d0537763a331530537a48aeadded8249d38fa1f84537a4db2e908a93ca3cd3d5c82 +EBUILD gst-plugins-base-1.20.6.ebuild 5734 BLAKE2B 9d68a2d4dacac44a8abc9183e867f3457d7a3c1d262261b881c00e90d9a5843b0175caeab1a6926dafba2ee60f648872b85e79cf22a1a3f7f667674d6eed92d6 SHA512 fb133b1bd7f0df056985f7d144e6d880ea71d700106bc94faffb3c95a5196d0537763a331530537a48aeadded8249d38fa1f84537a4db2e908a93ca3cd3d5c82 +EBUILD gst-plugins-base-1.22.3.ebuild 5574 BLAKE2B d25488ca77653ad749739081d173a5f10c6c2958a4a257cf204d2fa4f4a0a07ad83c3366c77755045c0e61f1c47b7fe003b4d7494e79c6a280585590bc85309f SHA512 b0afe1060fa1e441a84f9220bb0f8560b4c4ef7694e71f898103a7240b6aa8bfe37a580a24ba3b681d74701adb1fb077e9aeb8168bde2953ec61413e5741580b MISC metadata.xml 1066 BLAKE2B 1d67f7f75e3f44459adfce03a6ab85a8c7d6a0b24ae83ef48d6b80c1d64845edb1ec5e7cbbb002585eb91663210025707887f5eff66eee41b14e0afcbdc0b4fd SHA512 227960f7c740d5131c1006854273d4b1047a3ceba07d5eda3d60c0f5baba4e8ed9926fab1737e1f97c5745f87f80fcddbdc7e239f5f2942902c92f8053074931 diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.20.6.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.20.6.ebuild new file mode 100644 index 000000000000..b0cc01a91253 --- /dev/null +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.20.6.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-base" + +inherit flag-o-matic gstreamer-meson + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# For OpenGL we have three separate concepts, with a list of possibilities in each: +# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant +# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. +# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches +# With the following limitations: +# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl +# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case +# * glx platform requires opengl API +# * wayland, gbm and most other non-glx WSIs require egl platform +# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; +# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; +# and libpng/jpeg are required for gloverlay element; + +# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad +IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" +GL_REQUIRED_USE=" + || ( gbm wayland X ) + wayland? ( egl ) + gbm? ( egl ) +" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) + opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) + gles2? ( egl ${GL_REQUIRED_USE} ) +" + +# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) +# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options +GL_DEPS=" + >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] + egl? ( + x11-libs/libdrm + ) + gbm? ( + >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + ) + wayland? ( + >=dev-libs/wayland-1.20.0[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.15 + ) + + >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + media-libs/libpng:0[${MULTILIB_USEDEP}] + media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] +" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element +# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + +# The >=gstreamer-1.20.4 is a one-time need over eclass due to added API in upstream MR !3090, drop for 1.22 +RDEPEND=" + >=media-libs/gstreamer-1.20.4[${MULTILIB_USEDEP}] + app-text/iso-codes + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + ) + + gles2? ( ${GL_DEPS} ) + opengl? ( ${GL_DEPS} ) + + !<media-libs/gst-plugins-bad-1.15.0:1.0 +" +DEPEND="${RDEPEND} + dev-util/glib-utils + X? ( x11-base/xorg-proto ) +" + +DOCS=( AUTHORS NEWS README.md RELEASE ) + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +multilib_src_configure() { + filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 + + # opus: split to media-plugins/gst-plugins-opus + GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo" + + local emesonargs=( + -Dtools=enabled + + $(meson_feature alsa) + $(meson_feature ogg) + $(meson_feature orc) + $(meson_feature pango) + $(meson_feature theora) + $(meson_feature vorbis) + $(meson_feature X x11) + $(meson_feature X xshm) + $(meson_feature X xvideo) + ) + + if use opengl || use gles2; then + # because meson doesn't likes extraneous commas + local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) + local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) + local gl_winsys=( + $(use X && echo x11) + $(use wayland && echo wayland) + $(use egl && echo egl) + $(use gbm && echo gbm) + ) + + emesonargs+=( + -Dgl=enabled + -Dgl-graphene=enabled + -Dgl_api=$(IFS=, ; echo "${gl_api[*]}") + -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") + -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") + ) + else + emesonargs+=( + -Dgl=disabled + -Dgl_api= + -Dgl_platform= + -Dgl_winsys= + ) + fi + + # Workaround EGL/eglplatform.h being built with X11 present + use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" + + gstreamer_multilib_src_configure +} diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.22.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.22.3.ebuild new file mode 100644 index 000000000000..536b05b48c76 --- /dev/null +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.22.3.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-base" + +inherit flag-o-matic gstreamer-meson + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# For OpenGL we have three separate concepts, with a list of possibilities in each: +# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant +# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. +# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches +# With the following limitations: +# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl +# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case +# * glx platform requires opengl API +# * wayland, gbm and most other non-glx WSIs require egl platform +# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; +# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; +# and libpng/jpeg are required for gloverlay element; + +# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad +IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" +GL_REQUIRED_USE=" + || ( gbm wayland X ) + wayland? ( egl ) + gbm? ( egl ) +" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) + opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) + gles2? ( egl ${GL_REQUIRED_USE} ) +" + +# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) +# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options +GL_DEPS=" + >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] + egl? ( + x11-libs/libdrm + ) + gbm? ( + >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + ) + wayland? ( + >=dev-libs/wayland-1.20.0[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.15 + ) + + >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + media-libs/libpng:0[${MULTILIB_USEDEP}] + media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] +" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element +# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + +RDEPEND=" + app-text/iso-codes + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + ) + + gles2? ( ${GL_DEPS} ) + opengl? ( ${GL_DEPS} ) + + !<media-libs/gst-plugins-bad-1.15.0:1.0 +" +DEPEND="${RDEPEND} + dev-util/glib-utils + X? ( x11-base/xorg-proto ) +" + +DOCS=( AUTHORS NEWS README.md RELEASE ) + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +multilib_src_configure() { + filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 + + # opus: split to media-plugins/gst-plugins-opus + GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo" + + local emesonargs=( + -Dtools=enabled + + $(meson_feature alsa) + $(meson_feature ogg) + $(meson_feature orc) + $(meson_feature pango) + $(meson_feature theora) + $(meson_feature vorbis) + $(meson_feature X x11) + $(meson_feature X xshm) + $(meson_feature X xvideo) + ) + + if use opengl || use gles2; then + # because meson doesn't likes extraneous commas + local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) + local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) + local gl_winsys=( + $(use X && echo x11) + $(use wayland && echo wayland) + $(use egl && echo egl) + $(use gbm && echo gbm) + ) + + emesonargs+=( + -Dgl=enabled + -Dgl-graphene=enabled + -Dgl_api=$(IFS=, ; echo "${gl_api[*]}") + -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") + -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") + ) + else + emesonargs+=( + -Dgl=disabled + -Dgl_api= + -Dgl_platform= + -Dgl_winsys= + ) + fi + + # Workaround EGL/eglplatform.h being built with X11 present + use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" + + gstreamer_multilib_src_configure +} diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest index 291b6a9e2c5e..e5f173bfe58c 100644 --- a/media-libs/gst-plugins-good/Manifest +++ b/media-libs/gst-plugins-good/Manifest @@ -1,7 +1,11 @@ DIST gst-plugins-good-1.20.3.tar.xz 3417252 BLAKE2B 5f288541598d2c308fbb1d5e36e54e8dd4c6e9d7dd71f41b778fbdfe883ed48e8d13fa53d05518cc671de029d804f7dc1d93396de9d199d45ec131230926d33c SHA512 98bb2dd428edaa1a5846fb47b1f42a1e99541faf05cdb0fb632d4a1a1e4fb2c1f9d1229bf0aa2ddcbce139533e9fd51f8f9a1175cd8a8729c5179750ca84afa1 DIST gst-plugins-good-1.20.4.tar.xz 3424532 BLAKE2B 2b9fa0227c13c6a81a91b4d337c3d52d6e8bd63d04710ee6bc45ec7b70de3f35c57148786356e08a253b1bbc9473411d9b0f1346433396e2403680690823c06f SHA512 d1a1d3a161fc33ecfae2b1336391571210511926a5017ea512a0bef7ab3577fb98326a96b6c5a2ffb48c8e2c7c3bf8e957e489edd0cf44e8ed8518656768c7ce DIST gst-plugins-good-1.20.5.tar.xz 3439904 BLAKE2B 682f8577ad048d5db5a3517fa2d3615ea902507b9aedf45da9b12e77d993e2200fd85014fd0ed9a602dfae2a1cfc420158d7d309a4b4106ac1e7b3165ef73ec9 SHA512 d8a4f4605f1da9199a6fa3cde065f5d4c550772cf085e9e05ed5ff6e44b0375d72f473a9c73346ce329f924a0b58e386358f5045ac0bee767117ef28a9f1b394 +DIST gst-plugins-good-1.20.6.tar.xz 3438312 BLAKE2B dcb948a6ec357fe5bac3c5bcdf395dcec05634421d8bea125c89a4d47362a848890d451379b714f754094d763f68311a26b519ff503298aed3d04e6655c8588a SHA512 ee2463aa339baa2b8e52bba200c919871c4ce459b18ac74f998429ef55a41b34afdd2ba28b00810a5e508233ad79e6286d6b08c4755a29d0a2628ccf50bcedbf +DIST gst-plugins-good-1.22.3.tar.xz 2826224 BLAKE2B 5e1c19442ca25e81312f34c91c5154022b253b2223dcea8fb8f0351dc4d465663323aa69b534c1bd47b68ace9d33722923ffedef6b8e663beac37b2d8cf23877 SHA512 915352911f0ee2b1b15ff83514c6ca7e1ca8c2f122eac0c4c47539e8dcc2233a6f8478e083555af8b254d9a541923aa74e106a404b56fb8a732ea53421c3d6ca EBUILD gst-plugins-good-1.20.3.ebuild 1157 BLAKE2B daed9f4515c5ffea3aadaccebd4ccd0dc5fc876cc618aa15734064c25e949cfcb2e10980635376681b97dcbff504847a999468ad1daf33c589081d7e64d68f0a SHA512 abcb6a9cee9929b211b868a9e188b1d11b9caed3e47f80edb6a13f13c91eb77602bfad594560c9b35b145b0d822f14815b9139ac5eeb2ffdc79b96e61c3a108f EBUILD gst-plugins-good-1.20.4.ebuild 1157 BLAKE2B daed9f4515c5ffea3aadaccebd4ccd0dc5fc876cc618aa15734064c25e949cfcb2e10980635376681b97dcbff504847a999468ad1daf33c589081d7e64d68f0a SHA512 abcb6a9cee9929b211b868a9e188b1d11b9caed3e47f80edb6a13f13c91eb77602bfad594560c9b35b145b0d822f14815b9139ac5eeb2ffdc79b96e61c3a108f EBUILD gst-plugins-good-1.20.5.ebuild 1163 BLAKE2B cc12f96d8844aec5fd7a0d09da5ab84da6d6f20cb7b37c4b1a0c6be3cab23597a19e61fb87b52c1fd52c56646880f4fbbbbfd6a776ffc5f4f0de746d93b82eb6 SHA512 05f9b5b9ef9ef76f6d767e71ef33542218109a77ed90449cf2e90529b81140e6facdeebebb5ac1f7629c29f522fdf4d9f4a814a8d0d183421c79bb84777b6b99 +EBUILD gst-plugins-good-1.20.6.ebuild 1163 BLAKE2B cc12f96d8844aec5fd7a0d09da5ab84da6d6f20cb7b37c4b1a0c6be3cab23597a19e61fb87b52c1fd52c56646880f4fbbbbfd6a776ffc5f4f0de746d93b82eb6 SHA512 05f9b5b9ef9ef76f6d767e71ef33542218109a77ed90449cf2e90529b81140e6facdeebebb5ac1f7629c29f522fdf4d9f4a814a8d0d183421c79bb84777b6b99 +EBUILD gst-plugins-good-1.22.3.ebuild 1163 BLAKE2B 44cef010612153645b825ba37aa5b695b32c93cbb9ec576855c0793e8fe3e906db9149f8d14843018cd12e5cfec79bbe3183b72fccd8477dcd7ab77ac910c768 SHA512 e6a31a6d628af7dfd22ce0a0187f0988b5fb614ad557033e03001ac1c0d2212fdb568a2b70b1161e5673a2941f581d201f4486435afae7f5dc0d36ac57ec8c13 MISC metadata.xml 267 BLAKE2B 331be70b2fa90cce1bf91ded1dac141de6a9bec40c1736bcb90d280ac7fabf22cfd0a701c7fd5864f007d1159954f7ee55701d5e68b47a1a9a217ca34b7ee619 SHA512 4dcdd6bc6d148a0e02a0f1b766bd0c5712d373d898c06078d8630e0067e858b815117392a11332b257156e95da6337494d99c2724d24cadb97432089908644b5 diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.20.6.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.20.6.ebuild new file mode 100644 index 000000000000..5910475e4237 --- /dev/null +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.20.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-good" + +inherit gstreamer-meson + +DESCRIPTION="Basepack of plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+orc" + +RDEPEND=" + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="bz2" + + local emesonargs=( + -Dbz2=enabled + + # gst-plugins-ximagesrc + -Dximagesrc=disabled + -Dximagesrc-xshm=disabled + -Dximagesrc-xfixes=disabled + -Dximagesrc-xdamage=disabled + + # gst-plugins-v4l2 + -Dv4l2=disabled + ) + + gstreamer_multilib_src_configure +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.22.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.22.3.ebuild new file mode 100644 index 000000000000..2eb4e734bdc1 --- /dev/null +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.22.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-good" + +inherit gstreamer-meson + +DESCRIPTION="Basepack of plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+orc" + +RDEPEND=" + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="bz2" + + local emesonargs=( + -Dbz2=enabled + + # gst-plugins-ximagesrc + -Dximagesrc=disabled + -Dximagesrc-xshm=disabled + -Dximagesrc-xfixes=disabled + -Dximagesrc-xdamage=disabled + + # gst-plugins-v4l2 + -Dv4l2=disabled + ) + + gstreamer_multilib_src_configure +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest index 88eb3fd6423a..bfb1cf75b3e4 100644 --- a/media-libs/gst-plugins-ugly/Manifest +++ b/media-libs/gst-plugins-ugly/Manifest @@ -1,7 +1,11 @@ DIST gst-plugins-ugly-1.20.3.tar.xz 508272 BLAKE2B 6aa1859e89e40f1b9595ccf0b7db3b91dcf82f68c2f659c48987ac3144ff9a4aefc2fc37a3a0850f2487190f7ff957a44ab3d0333a33850c3ac36dbd0f7a2ade SHA512 6a18bcd8d90060d14f07dc9f3ac014f7a06a7da13568ddcf871916f3d47878ab73929b71a9863bc7ec08b3ff9418404703c9423100ee844fafd1026ea0be0fb8 DIST gst-plugins-ugly-1.20.4.tar.xz 511484 BLAKE2B 27f7079a975cf4231512d3597f47a308ebb72b0735dab571f6f3715cf86f746e2254688b566b61e1bc7eab8a2721eff89a83611313face2ed5f44ce832f9443a SHA512 08858d9a2c0a8ecb15acbb7e87c1bf505944887e08ac162f805612f94d34d040fb90bbf612c74e6d8749f0fd00aa30f8506efe8d4c4d6fbbb88a6e50d8a5e07a DIST gst-plugins-ugly-1.20.5.tar.xz 514168 BLAKE2B aac51e1494660b94d732ad5e6ef0a9bf7a3eadd07f22607ba41cde8fb70ef4fbc622abf8b782a76e027082da543835bd679e9ee01c20e7a32539647acc793e6f SHA512 071b9a1de3bf67554995a0a743cabf576be15d2f56d8d121473c5892c9c18211902c314567014242618b0f764356df0a66de9997bbb19265d047653b9ee0178d +DIST gst-plugins-ugly-1.20.6.tar.xz 515488 BLAKE2B 4c3bca3a27718d517078395554716219ed73bc4f254f3cc26e96eaee446834a40e020da0c1c5cf4ac7aa0a3ace1d8534b4865c21e9a3a8ffa08aabba87e60dbd SHA512 d65fb93c2cfccf050adf035fb640957fc24850caef972ab4284580a72c149cf616292333406f9e5d0a5334a5da779432c2ed9b700e558413073a3bca8860682b +DIST gst-plugins-ugly-1.22.3.tar.xz 246416 BLAKE2B 816a18b5ce7151d3125d8d17a4772690b806b227daa23d2238d502fab63213bd531682716952f7496c9456492157f28dbd1380b2a06f58a05e1898712ec32044 SHA512 a92c49ac2e9d31d518ecda8ae95a1b1040c4c828b0230d922b8d7cb926c8d3db534e94126aac5c3d8ce35e40c0e53ea334d7747bf9b6943529430f7a9bce5b31 EBUILD gst-plugins-ugly-1.20.3.ebuild 752 BLAKE2B d641efb6c437e649c29a291b34c8afc9ac057a4d8dde06cc34dd67e628a200d2d9443521373eb3d8505b033df58aba7fce3bdf8b185409805b667087cf5c7004 SHA512 6ea97d0dcff99a10535efcc836b131f60b04097434aa240210d8d566f02dcd22bd586b789108f42f7d16c8944433e805ce147944eaf951c78a1d001e781eb70b EBUILD gst-plugins-ugly-1.20.4.ebuild 755 BLAKE2B a4bbf2d15daf29019ae865d6942c556f1d3393f608afc3e982fef5517c1bdfa2a56e2541955f349190ae92e0970063681f2e43bea20221b1f2575a0bde7b7bed SHA512 8236de9d667c3f073d0a5042d2320193305006f127c9d46f8bdab2a164f7037a628ea246899de1364d606904cf524f86d2c7cd23e08bbff87cc3313d73883fa3 EBUILD gst-plugins-ugly-1.20.5.ebuild 763 BLAKE2B 88acd3cb70adeaa8c2cd9bff64de4de973df33af3ed163598717961a5d6ca62c6e646a4c7c24f8e294883026a444c45cd3623d3947e77b25a4a624c1a15fae76 SHA512 bd1d862a5f7901292ead587e6deedf9e28fd20c19712d2afe0c116daf98c7f361e2c75fe2af90489b84622b1df313ba29ac1496c4f5490cc66f857be9e731102 +EBUILD gst-plugins-ugly-1.20.6.ebuild 763 BLAKE2B 88acd3cb70adeaa8c2cd9bff64de4de973df33af3ed163598717961a5d6ca62c6e646a4c7c24f8e294883026a444c45cd3623d3947e77b25a4a624c1a15fae76 SHA512 bd1d862a5f7901292ead587e6deedf9e28fd20c19712d2afe0c116daf98c7f361e2c75fe2af90489b84622b1df313ba29ac1496c4f5490cc66f857be9e731102 +EBUILD gst-plugins-ugly-1.22.3.ebuild 763 BLAKE2B 88acd3cb70adeaa8c2cd9bff64de4de973df33af3ed163598717961a5d6ca62c6e646a4c7c24f8e294883026a444c45cd3623d3947e77b25a4a624c1a15fae76 SHA512 bd1d862a5f7901292ead587e6deedf9e28fd20c19712d2afe0c116daf98c7f361e2c75fe2af90489b84622b1df313ba29ac1496c4f5490cc66f857be9e731102 MISC metadata.xml 346 BLAKE2B 940d96d0ed61860085f5f6ef81706c4bda670dd1b6bf4947e29e636d180a9bdf02c42e33fed50975f7da608f048dbe0d578f1b76c8e73b233bd7ac6d291dc653 SHA512 57dfe4552e5fa65043a0e5efba15df272f21d7c6838d705a83959991ff30a71ebf38526b5891cba93e4d1256f446258abd18cb368ec9782481f791e4815bd3b6 diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.6.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.6.ebuild new file mode 100644 index 000000000000..784791da0427 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-ugly" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="" + +RDEPEND=" + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.22.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.22.3.ebuild new file mode 100644 index 000000000000..784791da0427 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.22.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-ugly" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="" + +RDEPEND=" + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest index f1f7f07bfdde..8e9482863f39 100644 --- a/media-libs/gst-rtsp-server/Manifest +++ b/media-libs/gst-rtsp-server/Manifest @@ -1,7 +1,11 @@ DIST gst-rtsp-server-1.20.3.tar.xz 362348 BLAKE2B 45d5ff58d76b9b83baa6e5956976e1fdc10dae3200d30a877a26ddafda4f919ecaeca85fceec6fb3b7802303d152087d3f5813f6e3bf36a941a0c46fceeb1292 SHA512 15baf83d77d57d1e2517feffad68b4508e7a959863b5e6fa3d0f564c81786df8d3c1e57d8b8a9f9b623e19212feb137dfe89d8e385f518c86f205c4461802007 DIST gst-rtsp-server-1.20.4.tar.xz 366208 BLAKE2B 0fec083dd18a2979a311dc69b54a580520e27fb11e35e529d2e1be2823c130ce6b2d27a715d67617fe04d81641e31d7fe8e3f6c38a3e17c4d4acee1415f33d60 SHA512 85952e5d8febb1df1a558a55bb3840a9574f5cbb83e777072b556b96a62dfaf83ccc9e3ed38604f07b7ff797da2b609d7ed9422f3b01faaf783709c012803b9a DIST gst-rtsp-server-1.20.5.tar.xz 368960 BLAKE2B f4e3bb1f7df79a631d39b459c43000a2185d81754fba48ef5e44c1786a2b67f03f4b9fce7c37c6301dd282e7784f3ff1ccb53b947719417c87adf8ed1cefd01d SHA512 826259c13610d61d07c5052d7601b3e6814604e81f47c0e5c0023ccc3b89da612f6d6e6c931b7e866ebc22fb4c4038734f8940b2573eca00a9185bd979256a15 +DIST gst-rtsp-server-1.20.6.tar.xz 370420 BLAKE2B f246041b113804ac2ddc28502fa1917c8e13bdc3b26272318153a58d97e0605393991e2f34fb48d91750e0a33f7358b3161b0fb7354f51ed8c7504d684d4e83b SHA512 9565905278e051cdbe1952fe2c62c1cd591a470c28113155f5333aa02a99ee729f542ad610dd5da71e75bc92a99eb4cdbdec438723a05844de7e58dae7b80919 +DIST gst-rtsp-server-1.22.3.tar.xz 271184 BLAKE2B 0ebb4ec470f36667b8fbf945a863e18e859e5a6dd96d59c2a4eedd9e2052759df65625049e36a99adb75a0eb701e4e1a1e0aad4e42fb0b9be6423a9f7b31f3f8 SHA512 79565a3064017435b039897d5908ad3ed3e48a92654ea24d7ee0f9ed04aa60618c281faa8c8cfda452132c690031b2388896013ffdbf7e68d7d0459f1506a664 EBUILD gst-rtsp-server-1.20.3.ebuild 1182 BLAKE2B 2b12602ed9f0fdf554d3b26c89d98b75f0e7a4218e431cd29af6a70e44cc6df201d1a68cb4863220b3a34d91320772c9fc738ee000c3f9282e76a460a422ca7c SHA512 72e7550b9be8447ccc4512ae707893a8b4e00d6bf1e85ba91bbf81f3ae0e1a5dec03f1d0fcb0443ab16406e923ab3a5f3b8d7e4cd4647bbac47efdd2f2b31ea0 EBUILD gst-rtsp-server-1.20.4.ebuild 1182 BLAKE2B 2b12602ed9f0fdf554d3b26c89d98b75f0e7a4218e431cd29af6a70e44cc6df201d1a68cb4863220b3a34d91320772c9fc738ee000c3f9282e76a460a422ca7c SHA512 72e7550b9be8447ccc4512ae707893a8b4e00d6bf1e85ba91bbf81f3ae0e1a5dec03f1d0fcb0443ab16406e923ab3a5f3b8d7e4cd4647bbac47efdd2f2b31ea0 EBUILD gst-rtsp-server-1.20.5.ebuild 1184 BLAKE2B f4b9bee17f4444acba0ae41d2b84deb39c45551bd0dd561178a9b5f0721da38fa65fea1169b524126f7a683a8bb9033150fa4a94ac0bb02a25cac39553888831 SHA512 ebc0bcfa2baf702785044273ba547f24ddb9df04e6d194a7831aba980b085a054e8bffa4eba35720149ab1983f0a5cf3ad77f2c4226370acbb8bd9872d78f8bd +EBUILD gst-rtsp-server-1.20.6.ebuild 1184 BLAKE2B f4b9bee17f4444acba0ae41d2b84deb39c45551bd0dd561178a9b5f0721da38fa65fea1169b524126f7a683a8bb9033150fa4a94ac0bb02a25cac39553888831 SHA512 ebc0bcfa2baf702785044273ba547f24ddb9df04e6d194a7831aba980b085a054e8bffa4eba35720149ab1983f0a5cf3ad77f2c4226370acbb8bd9872d78f8bd +EBUILD gst-rtsp-server-1.22.3.ebuild 1184 BLAKE2B f4b9bee17f4444acba0ae41d2b84deb39c45551bd0dd561178a9b5f0721da38fa65fea1169b524126f7a683a8bb9033150fa4a94ac0bb02a25cac39553888831 SHA512 ebc0bcfa2baf702785044273ba547f24ddb9df04e6d194a7831aba980b085a054e8bffa4eba35720149ab1983f0a5cf3ad77f2c4226370acbb8bd9872d78f8bd MISC metadata.xml 263 BLAKE2B dd46173106e3b1509b54acb2e1688a98d89f8f1fe255db2f2db9fc82021410df1139ebb7fe913acf44e64bb8ca4b00e8f71801b92f0adf3d4110f4a7f9226900 SHA512 53d4401737d15aac01f0b0cf65fb159908ccf3611604b38c28baaf5a5f4a290931a6cbfd735421dadd8f1114367cf2d79bf3f4b5473ba958bd46e0c1ee666454 diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.6.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.6.ebuild new file mode 100644 index 000000000000..03591f7468a1 --- /dev/null +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson + +DESCRIPTION="A GStreamer based RTSP server" +HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="examples +introspection static-libs" + +# gst-plugins-base for many used elements and API +# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more +# gst-plugins-srtp for srtpenc and srtpdec elements +RDEPEND=" + >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="" + +multilib_src_configure() { + local emesonargs=( + -Dintrospection=$(multilib_native_usex introspection enabled disabled) + ) + + gstreamer_multilib_src_configure +} + +multilib_src_install_all() { + einstalldocs + + if use examples ; then + docinto examples + dodoc "${S}"/examples/*.c + fi +} diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.22.3.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.22.3.ebuild new file mode 100644 index 000000000000..03591f7468a1 --- /dev/null +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.22.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson + +DESCRIPTION="A GStreamer based RTSP server" +HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="examples +introspection static-libs" + +# gst-plugins-base for many used elements and API +# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more +# gst-plugins-srtp for srtpenc and srtpdec elements +RDEPEND=" + >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="" + +multilib_src_configure() { + local emesonargs=( + -Dintrospection=$(multilib_native_usex introspection enabled disabled) + ) + + gstreamer_multilib_src_configure +} + +multilib_src_install_all() { + einstalldocs + + if use examples ; then + docinto examples + dodoc "${S}"/examples/*.c + fi +} diff --git a/media-libs/gstreamer-editing-services/Manifest b/media-libs/gstreamer-editing-services/Manifest index 365d49b4a590..0d0618510eb9 100644 --- a/media-libs/gstreamer-editing-services/Manifest +++ b/media-libs/gstreamer-editing-services/Manifest @@ -1,7 +1,11 @@ DIST gst-editing-services-1.20.3.tar.xz 979284 BLAKE2B 3d512a7bc17273dcb55c3a0dd18326fd8069c6eab9fe8c91e79b10b69000ab21ed3c7cffa0c480d2a047637cd84d5a6f08fea3c264ff5cab16a70c133a6c6223 SHA512 380cea0abda043a5aaee11981c85a03e59f4a5ac9221342c09d1875477dc327210ad0705e537538a981bef4de99b1aa7ac92fb37c77fc60b44219d673f97f56f DIST gst-editing-services-1.20.4.tar.xz 982400 BLAKE2B 00ce8918be05dd2a417eaa61ff7994b8ec169149e46fc90062a816bdf3680a6946cf04aed4867b00869fea3e533169335fbf247d0a061e6a214e0c6b7a2e47cb SHA512 6322f5da61a9004480392169a40790fb0e4b50350e960d5d6383dd431f58fe8452b9ab163cbf7307fe12fbdc5a6276f670af4ad02528799e689b490880f10a8c DIST gst-editing-services-1.20.5.tar.xz 985412 BLAKE2B 6fd98769889f7ba41927dcd5673b68dc1a24911e4c222088895739e5074ee589a8e7dc33ac753dbe1297a508037d8384bc5975f82b2606f6151b69b344a8c3f3 SHA512 947101969a9a6e458162a64ef857a1ec9aee39b7b7d42ab092cedaafcdc9d9e8dd85159f9f8a0280b17a52943598c90a6a79f638f825741ce411a8e407ea2408 +DIST gst-editing-services-1.20.6.tar.xz 986952 BLAKE2B 03606964ecdff2bdea66921ee4ab6545d552abcf73c2b55ca47e2794b5c8f9cdc0a2ad81b96d331c19cbcdd945ed77ecc026493c7f0f7ea5ad2c577f138d6620 SHA512 f95b2355754c305ec9370fe8deb4d6a239a1429ba776bedec0250ce67d54323a77150372eff22b57fe74707f0b6a52899c5f41436655837f0d39be713c713f3d +DIST gst-editing-services-1.22.3.tar.xz 825216 BLAKE2B 8b7f35d7d4638d6995a057eba2a2c6ec0331874e744484061ea874c278d614211cc18cb0ff3f25d4a7a4280162c581dd32aabf3d7db290755d152bddbe337dc4 SHA512 f4dd501bd8a40876e748b6b0475f85bfe3aae0650bd4bfd3623d485b0ffd32a01aa16ea01e1428c1735174f2609b380e81af366e0721e9cb360dc29a8f911104 EBUILD gstreamer-editing-services-1.20.3.ebuild 1335 BLAKE2B 6a82aaf73ecf6a3a30d1db5ed569229a8e2d11482b43f0e308096619a96a17877c39195389e1d493be870cfcdd7b201d9d8049c1462d32e4cd26ae5a9f3de435 SHA512 8b825791a2f576bb08b9593d356147143a5d15f326113a52600c1c7b1b5d3a4f674930b8b0e6d36a16b98f5112db2872c1e802638f8d5b464d486b3b2a3b4757 EBUILD gstreamer-editing-services-1.20.4.ebuild 1335 BLAKE2B 6cc32d2cd9ea590df422707dda587788597dc07622ac253b42bbe8946d752c229d39150bb38de8082908d075deeb1699fe1d839b228fff7bb0477668b1942a8b SHA512 73b779b68e3585b5f83a004212a58a2667ccf64ec0f6b7f2752f43aa4230590306a939b63caedeab29a1e5ee1c98ee9a1b30d1dc11c30b26eb83f8342f06689a EBUILD gstreamer-editing-services-1.20.5.ebuild 1337 BLAKE2B 1c0c4e5da58b7aee2a5a677c852fb2000773d990d5f3fa93534d0a1c10d2ab3e465560f81e807f5f59dc0a5c34a109480e849174d49f42f73fe18d4a3b173736 SHA512 8010a6246766aa5b39c522aef65c9396cdb66d345743b642328da01d6a54aecf7e596d323f6aa496c614d5b7be82aa068eb70f1b8dff8287e34c2376a9f42cdb +EBUILD gstreamer-editing-services-1.20.6.ebuild 1337 BLAKE2B 1c0c4e5da58b7aee2a5a677c852fb2000773d990d5f3fa93534d0a1c10d2ab3e465560f81e807f5f59dc0a5c34a109480e849174d49f42f73fe18d4a3b173736 SHA512 8010a6246766aa5b39c522aef65c9396cdb66d345743b642328da01d6a54aecf7e596d323f6aa496c614d5b7be82aa068eb70f1b8dff8287e34c2376a9f42cdb +EBUILD gstreamer-editing-services-1.22.3.ebuild 1337 BLAKE2B 1c0c4e5da58b7aee2a5a677c852fb2000773d990d5f3fa93534d0a1c10d2ab3e465560f81e807f5f59dc0a5c34a109480e849174d49f42f73fe18d4a3b173736 SHA512 8010a6246766aa5b39c522aef65c9396cdb66d345743b642328da01d6a54aecf7e596d323f6aa496c614d5b7be82aa068eb70f1b8dff8287e34c2376a9f42cdb MISC metadata.xml 263 BLAKE2B dd46173106e3b1509b54acb2e1688a98d89f8f1fe255db2f2db9fc82021410df1139ebb7fe913acf44e64bb8ca4b00e8f71801b92f0adf3d4110f4a7f9226900 SHA512 53d4401737d15aac01f0b0cf65fb159908ccf3611604b38c28baaf5a5f4a290931a6cbfd735421dadd8f1114367cf2d79bf3f4b5473ba958bd46e0c1ee666454 diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.6.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.6.ebuild new file mode 100644 index 000000000000..2498e8692838 --- /dev/null +++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit meson python-r1 + +DESCRIPTION="SDK for making video editors and more" +HOMEPAGE="http://wiki.pitivi.org/wiki/GES" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P/gstreamer/gst}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~amd64 ~x86" + +IUSE="+introspection test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.40.0:2 + dev-libs/libxml2:2 + >=media-libs/gstreamer-${PV}:1.0[introspection?] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection?] + >=media-libs/gst-plugins-bad-${PV}:1.0[introspection?] + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +# Some tests are failing +RESTRICT="test" + +S="${WORKDIR}"/${P/gstreamer/gst} + +src_configure() { + local emesonargs=( + -Ddoc=disabled # hotdoc not packaged + $(meson_feature introspection) + $(meson_feature test tests) + -Dbash-completion=disabled + -Dxptv=disabled + -Dpython=enabled + -Dvalidate=disabled + -Dexamples=disabled + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_moduleinto gi.overrides + python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py +} diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.22.3.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.22.3.ebuild new file mode 100644 index 000000000000..2498e8692838 --- /dev/null +++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.22.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit meson python-r1 + +DESCRIPTION="SDK for making video editors and more" +HOMEPAGE="http://wiki.pitivi.org/wiki/GES" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P/gstreamer/gst}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~amd64 ~x86" + +IUSE="+introspection test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.40.0:2 + dev-libs/libxml2:2 + >=media-libs/gstreamer-${PV}:1.0[introspection?] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection?] + >=media-libs/gst-plugins-bad-${PV}:1.0[introspection?] + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +# Some tests are failing +RESTRICT="test" + +S="${WORKDIR}"/${P/gstreamer/gst} + +src_configure() { + local emesonargs=( + -Ddoc=disabled # hotdoc not packaged + $(meson_feature introspection) + $(meson_feature test tests) + -Dbash-completion=disabled + -Dxptv=disabled + -Dpython=enabled + -Dvalidate=disabled + -Dexamples=disabled + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_moduleinto gi.overrides + python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py +} diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest index fdcf49c6e1e5..b106786394dc 100644 --- a/media-libs/gstreamer/Manifest +++ b/media-libs/gstreamer/Manifest @@ -2,7 +2,11 @@ AUX gstreamer-1.20.5-tests-race.patch 10870 BLAKE2B 42f92d42259690af57f9ef5781ee DIST gstreamer-1.20.3.tar.xz 2681088 BLAKE2B 423669ff2224cc5d9b979a1353eb1dbcaea5dacca374e83630abf23574f813cbecf5144cdd3209f638aeb50e6764004c3d8020db7f11b21726a9f4b56b513d10 SHA512 e93f9fbf2d7a839dcbe2030ed16dd53eb250741db7c2f1cea396c23e4fabf9a0caff6be4babf7c10aec4b56dc8319a970b1b0bfa6eea2e36aed3e6e1265d9278 DIST gstreamer-1.20.4.tar.xz 2686324 BLAKE2B b54da03f93f0062df0ada5534f3eff8a37e4b41f404b4bdd466bb6371e3db61a40741d723392bcc7cf7f46cded26c5d8ca625748670ac98daec136b0fb76a810 SHA512 33ba08e67b21a3e2e5dc5caeeae66e561b9d64ae863331a209e711f60a652ba38635e8bb963336e73b9afd5cf38e17139fbf933ca621d040f0d6e22a18ba7ad8 DIST gstreamer-1.20.5.tar.xz 2690968 BLAKE2B cca6385b1fcc10928ad19e587ebb6ce202097f4a33d79555c969d3906dacc7e5074fc8f42a0566e40aa333502764ad0b491d610c05ef1921ad370bf5f5883afd SHA512 90c5f5865877170bb0dc570e61c22c27dea5adae2d9c304227da266b5b5b2eccd98ed21943f14bb5dfe169f4e020b8ac457a5d540363dfe2547180f34a3c7b29 +DIST gstreamer-1.20.6.tar.xz 2699648 BLAKE2B e475a7ef419d1b3588bf37f3d5fadbe4ca307b6915496d8da9535a9586f24ddacd338e54001ce30c666786493b28c2841c8a7fc8a36e5a678d846eeccc3979dc SHA512 eefd2932feb6c6c50eb69dd4831f4e4fe63c7f852050ddce0f447b0b54df2e2e5f81b6c1fefe295e2c771f2accef62aaef6aef3bda8395a1b75c84b9916d7795 +DIST gstreamer-1.22.3.tar.xz 1785496 BLAKE2B 6de024992b38c66a0c5906cffae8df8ca85bc3d7554d323643ed0642a0e561cbf24a363d8acd2e9e540c5fecb07e4e59028cfb70d135c7e23e59c3dc004ccb73 SHA512 b316496f114acd687529cf71645fb75b8a4ac6baf01d9659e8ef8b22771b6c5ea8c5087a31ca633464ebd46656684ab382a15c2c11872ce5d218e726f4e56d09 EBUILD gstreamer-1.20.3.ebuild 1949 BLAKE2B 73213ed7e5924a16d9d1d5d9951d8c0a71cf179ca5f7b2d8893a3a4138c4eac3a2f2167b9c377d488e22b1aa80b8f8b6be00c048551b10bbfc96288c127a263e SHA512 02d21992b7d175eb6fe38553d266e7388a62776d773eda8238441b24c5fd43dbe2a1d8b350b18f9248052a99e2e2ffc6a19fa1b5fbff09da2f90444a20ba163c EBUILD gstreamer-1.20.4.ebuild 1949 BLAKE2B 73213ed7e5924a16d9d1d5d9951d8c0a71cf179ca5f7b2d8893a3a4138c4eac3a2f2167b9c377d488e22b1aa80b8f8b6be00c048551b10bbfc96288c127a263e SHA512 02d21992b7d175eb6fe38553d266e7388a62776d773eda8238441b24c5fd43dbe2a1d8b350b18f9248052a99e2e2ffc6a19fa1b5fbff09da2f90444a20ba163c EBUILD gstreamer-1.20.5.ebuild 1992 BLAKE2B 495064133991b0b3c66a29d9d65b8292b201e2dc6aaaaf4424d5e571c5dd7b32b4bc46079750eadf4bc97fee9e156708484073a10ca6c93ba989e094026a21f0 SHA512 78ce5068feb6bec2dfa6ec443854c299806e99b82abbb69219816e15dca0e1464dd0f04bfec467dbb917adece2772f79acbfe7bcf428bd9aaa3a9c20b89bdc48 +EBUILD gstreamer-1.20.6.ebuild 1942 BLAKE2B 972b120be7f9318526b6b54fb78ff932548fdacda2a7898cfccb3f95c0e0a44475e091e7e3abb10cb983e8a02c5938b21185654cb28184213dd91f41c89b9443 SHA512 afbd0add5863b6055f3868ac22e72a62b1451c30f08d7740c768bbba74fe647e4cb30346bf70f1b79934a1639f164ee117247248a2f0f932fc6f3e761ba278ee +EBUILD gstreamer-1.22.3.ebuild 2009 BLAKE2B aecb61f66f6df53f8b83552f0cc7ad344c75a9f08fd4da1907ac5bc91ce1053164a3f20164fed7e36e8f02cd43728c81159c1b92d94458eed1fdcaf3769d2e8e SHA512 8f78a1f6ade1e1a183b81d250e9db094026359dc9f513d78eaf5aeb9983d50a85e0882ecdf0cfc68393347219e4d32d6e928d10d0131febdb56deaca665c629f MISC metadata.xml 587 BLAKE2B 6fbb8876aa30451f9ed4851b8da1698371f1d546fa13674ef87acae0a73f85770e17a5cec2232fabae28fc7cd28e76fdc177b9d016ea35f20094b40aef6a25c2 SHA512 d28f3793ddc86087854b04a2330e158f521761a45192ee32ac947f9affb400443205a3c0911864474738e2494626ba4fea66dac6549934fd5cdb32af6fe2ad4c diff --git a/media-libs/gstreamer/gstreamer-1.20.6.ebuild b/media-libs/gstreamer/gstreamer-1.20.6.ebuild new file mode 100644 index 000000000000..3e5d7da09467 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.20.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson pax-utils + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+caps +introspection +orc unwind" + +RDEPEND=" + >=dev-libs/glib-2.56.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) + !<media-libs/gst-plugins-bad-1.13.1:1.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + sys-devel/bison + sys-devel/flex +" + +DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE ) + +multilib_src_configure() { + local emesonargs=( + -Dbenchmarks=disabled + -Dexamples=disabled + -Dcheck=enabled + $(meson_feature unwind libunwind) + $(meson_feature unwind libdw) + ) + + if use caps ; then + emesonargs+=( -Dptp-helper-permissions=capabilities ) + else + emesonargs+=( + -Dptp-helper-permissions=setuid-root + -Dptp-helper-setuid-user=nobody + -Dptp-helper-setuid-group=nobody + ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + DESTDIR="${D}" eninja install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}" +} diff --git a/media-libs/gstreamer/gstreamer-1.22.3.ebuild b/media-libs/gstreamer/gstreamer-1.22.3.ebuild new file mode 100644 index 000000000000..5feb391a8112 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.22.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson pax-utils + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+caps +introspection +orc unwind" + +# gstreamer-1.22.x requires 2.62, but 2.64 is strongly recommended +RDEPEND=" + >=dev-libs/glib-2.64.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) + !<media-libs/gst-plugins-bad-1.13.1:1.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + sys-devel/bison + sys-devel/flex +" + +DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE ) + +multilib_src_configure() { + local emesonargs=( + -Dbenchmarks=disabled + -Dexamples=disabled + -Dcheck=enabled + $(meson_feature unwind libunwind) + $(meson_feature unwind libdw) + ) + + if use caps ; then + emesonargs+=( -Dptp-helper-permissions=capabilities ) + else + emesonargs+=( + -Dptp-helper-permissions=setuid-root + -Dptp-helper-setuid-user=nobody + -Dptp-helper-setuid-group=nobody + ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + DESTDIR="${D}" eninja install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}" +} |