diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-08 11:11:23 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-08 11:11:23 +0000 |
commit | 909e6f36d5376b253aba44edc8f2af1a5acd0c11 (patch) | |
tree | 048569e21e5eb27492bcd1fa73bbc1cc462b3ce5 /media-libs | |
parent | ac778f2cf394586c43beb5d753a19ff3f6063556 (diff) |
gentoo auto-resync : 08:12:2023 - 11:11:23
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69455 -> 69444 bytes | |||
-rw-r--r-- | media-libs/babl/Manifest | 2 | ||||
-rw-r--r-- | media-libs/babl/babl-0.1.106.ebuild | 2 | ||||
-rw-r--r-- | media-libs/gegl/Manifest | 2 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.4.46.ebuild | 2 | ||||
-rw-r--r-- | media-libs/nvidia-vaapi-driver/Manifest | 3 | ||||
-rw-r--r-- | media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.10-driverpath.patch | 49 | ||||
-rw-r--r-- | media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.10.ebuild | 29 | ||||
-rw-r--r-- | media-libs/openh264/Manifest | 2 | ||||
-rw-r--r-- | media-libs/openh264/openh264-2.3.1-r1.ebuild | 133 |
10 files changed, 4 insertions, 220 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex ef72b3bebe84..452d31fd1e8e 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest index 01690d5dbe03..bbd16202f6d3 100644 --- a/media-libs/babl/Manifest +++ b/media-libs/babl/Manifest @@ -2,7 +2,7 @@ DIST babl-0.1.102.tar.xz 313872 BLAKE2B b5720b256368c0d1cba5f6da98185bcad3770390 DIST babl-0.1.106.tar.xz 315068 BLAKE2B 560518beab77ec2f3fc50062bda80839f749992e4c61bef3badd4acfbc2a7bba6dce332ffabe65dcf18e4ba450d0ae1d261b5e34724a1309ea74e50ce3e452c7 SHA512 97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943 DIST babl-0.1.98.tar.xz 312516 BLAKE2B c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f SHA512 33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120 EBUILD babl-0.1.102.ebuild 1955 BLAKE2B 01813815a660c909c44be1deef9d569a6d42d31ed1f3a73d75607be1d575767b6229d0aeca9fefcdd428eb07f49ab822005fe19709a7d864dce5eefffb45183c SHA512 555fdfed03406d877a8144c808db6fcc80d4478b26fd6da9478df4f45bb7a204a4a4ae536e1189415e470ff2dab0b57c6cb765f95995757e326173c75e5a1cde -EBUILD babl-0.1.106.ebuild 1957 BLAKE2B 38700465f9216f35d6b957e2d7e8bc751a2f21478fedf2f29d5c5bfad634f97efa69ac3e2bd8e9584336e1ed4a10c3cb421c2c6d99ef484bbb0e612588df65cf SHA512 bcc68f900d6d05225ab84622a5bc208c8500362b59013a62ad00f28c398a552e946bd6e395a1707873eeab997380ff2426415be3ffd0d6b3fabc86a89c2a5fb1 +EBUILD babl-0.1.106.ebuild 1955 BLAKE2B 01813815a660c909c44be1deef9d569a6d42d31ed1f3a73d75607be1d575767b6229d0aeca9fefcdd428eb07f49ab822005fe19709a7d864dce5eefffb45183c SHA512 555fdfed03406d877a8144c808db6fcc80d4478b26fd6da9478df4f45bb7a204a4a4ae536e1189415e470ff2dab0b57c6cb765f95995757e326173c75e5a1cde EBUILD babl-0.1.98.ebuild 1903 BLAKE2B 85416421a0d21c565b8f80bbb8bcaee03c2f274a3e69e4c3d93b7b3755aa6af5ace07bf25a4df01a52422a8fdc74ef7de92cc5d8854559a667c6ce5ed7bb46da SHA512 cff863eaf3813c35e610fdeadc5970cadbb4c27c7f7002e1a48646589e728f71bfd9e018b182c5357c8d077a2f02e5f4b76288cb50b5eda9af43dd1f4f757492 EBUILD babl-9999.ebuild 1755 BLAKE2B 7a18f2904e9df87d69729b98ac8a3d64b26823310d009d058d58ea2c42500e3b9072718839dd29b050b96dfad0d257268afd3bfdc2ab6073f1ad6a92b762a417 SHA512 b5f31d5f02a6f8f48f658d3d4286150d36aa4e1f3a63ed9a0bf6383d379f0073914ae0b684c08f407d095670a889128dda33fbf9801ab2a83055c4b5f46840d1 MISC metadata.xml 482 BLAKE2B b87a2ff4b72fc2aeed91042dd7b6a65032aa4608c7079fbc94c1d1f85e681bc446aa1fcad5f14cba510febe1430b290417cd498ff09c797ec8b28c84e6451e4e SHA512 3345414f92106c39f8364c1554e0325cfd45cbf94f84315d809bb305faf4093b3b971c79f7c32ea998a8fd0c6c9369c249ce10063a1521690a624860e20de995 diff --git a/media-libs/babl/babl-0.1.106.ebuild b/media-libs/babl/babl-0.1.106.ebuild index 5fad3b4e8057..a773e323fecf 100644 --- a/media-libs/babl/babl-0.1.106.ebuild +++ b/media-libs/babl/babl-0.1.106.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then SRC_URI="" else SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="A dynamic, any to any, pixel format conversion library" diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest index dc103e3fc152..93901c1c2c36 100644 --- a/media-libs/gegl/Manifest +++ b/media-libs/gegl/Manifest @@ -7,6 +7,6 @@ DIST gegl-0.4.46.tar.xz 5799248 BLAKE2B 2fc9ccd0c711cc901abd50740a24d0f75b162cbb EBUILD gegl-0.4.40-r1.ebuild 5056 BLAKE2B 70db81c565564ce7330f36d1435b7abd2c368ac5e967cdb684784537e1752cc2f95453826fdb30d01d93bec5f5a5a94a1fe78cf8e1c57579aef56326d20d0f2d SHA512 3ce0f2aac7baaa4d654d7eaef917ff6c94fa2a4eca16ace26be6423c23facefce5de1e14e82496b9b32c20d12574aab62a3093d328b04308746117b6832b3fcf EBUILD gegl-0.4.42-r1.ebuild 5035 BLAKE2B a2140fa970486877e094de08d320f3efafbcb056d60832243744164b4fd2940ed7818c636d9e28249df40437cd2ad4a9a7c6b1351def2f9a8a3de3f8f6f6703a SHA512 49dfa07c3075c5cea33b36df23dcfd5063b5b912072e5ec3034ac44178305ad9ae42767e106b162c7fc0dc23d610abc2ff8ac6bdea49452cfa4e3c3f3b528fba EBUILD gegl-0.4.44.ebuild 4966 BLAKE2B 169d2b55625c4fdd9da3c8cf6bca5c29ab30b97b26e811ab5d578559e7db6bf88abb46e658818ffeb1363395f6d1bac7ab9f34e4e2bf6fc9b87707984d1ac2d9 SHA512 a149632eac40fb13edd0aa59bcf523dfedef408cbf2e09199d642735e42707d2d416272de46dcaf7c97978dfbc202e6d69e8ce810f75c9eb8faa4cfb4e7d5023 -EBUILD gegl-0.4.46.ebuild 4969 BLAKE2B e56d08015d85e40b3c7c3cf13b5af30bae153eb6d7c57dcc37c473da9e188372e88ff44fb13164218c552ae31ac3659ea49ded6e9bf4a1a879bb289952484631 SHA512 ecbba09b26b2f2b9065856cee032dd433a541d3c66acbbefb4a20dab75a633ba30f80dd7ccfac618b05c2fe373a130effc77def606d5be992bc2938537bcca35 +EBUILD gegl-0.4.46.ebuild 4967 BLAKE2B 0f54615a7897594c2eb174fe579632e442c6968c55e099a7ad4b0f0c19dbbd7fb7533fe052de20e96abb4435a860b79f7df088dc104ec94b1b42d0974b761afa SHA512 1c1c4990f3bd82d21507317ed541fc838d39a17c43693b280184039c38ad54a630f88d206ce7e9ca26f5a53f4d97adc4c8b6d906218a189c1e6da8e5baac56f8 EBUILD gegl-9999.ebuild 4750 BLAKE2B 731f5df46b7bb85f67955308cca358efd4e19da0d1cba2d8ac71bf5cb6927b0d8dfb79bc987370b39d347befd9b1c3a18c7d274cf127b8a3fd1ceba94c04d084 SHA512 825d5201ab3bb13df91d8f09c972b34033b5e965fe7f9e271c4e29eff2a41ce352f2946ca1ea491e5f9e174dd9b6ea90039881c01b93c090d2ec1aa1da60eabc MISC metadata.xml 761 BLAKE2B fa74f6ff5ae13c05793505d0a27b7bc8587748ad356fa4f3ec5b48bd2919c6197788ab02bdc02fbdbdfe2f376d93222b600e30915e50f4ee4643e973ce054d86 SHA512 8cf93e9c5130a017bb864144e88cd2a4f2eff17b5543514a3ca84066b90e394dda6ee64a5e49d8db3b48eb905df5eef815f3b2689bc2be9772a01dcd2cecad30 diff --git a/media-libs/gegl/gegl-0.4.46.ebuild b/media-libs/gegl/gegl-0.4.46.ebuild index a23f236c0eef..d579e46fee40 100644 --- a/media-libs/gegl/gegl-0.4.46.ebuild +++ b/media-libs/gegl/gegl-0.4.46.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then SRC_URI="" else SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="A graph based image processing framework" diff --git a/media-libs/nvidia-vaapi-driver/Manifest b/media-libs/nvidia-vaapi-driver/Manifest index ba3d19ef952d..99828d00c8e6 100644 --- a/media-libs/nvidia-vaapi-driver/Manifest +++ b/media-libs/nvidia-vaapi-driver/Manifest @@ -1,6 +1,3 @@ -AUX nvidia-vaapi-driver-0.0.10-driverpath.patch 1623 BLAKE2B 382f05be86c82d715d4558d2714541905830a37133aa144f97bae48096981f7cea24cdaf16dcea311944e2a13e7f82f21fb174240515ca9b18dd34f2e8422628 SHA512 f8d8ff9e284c7dc553120b3dc7e9a3f8b64d76f54bed921ffbd4fc18e6d8d1a416dcfc1acef07bf8d47406b21dcb55ac4fb9a2c5d8b431319aa93bc08107e5c1 -DIST nvidia-vaapi-driver-0.0.10.tar.gz 182313 BLAKE2B 45913c0ca29051d817513288041a73c2d65580ab5bb7f4d269c74ec5092460657eba30a0b6e38089dcb3966f9a01f71ca574c170cdcfe78ff6843a3dadc67a5e SHA512 0c0c718a452495b9750838f5625bce66be549aced165778ce2074becc95e4bb7f084d5af16000f61530c9b3059256cec5270759ffc2a53a35b5f237ab09a0ece DIST nvidia-vaapi-driver-0.0.11.tar.gz 182479 BLAKE2B d025473e200097e7370a8fb0892374d09aa3966cc788d9aa39a8fcaca790df22b13aed6dfe7a69f8a002883248a6a6cfd606fe7c64d0f4bb05f5d567a55934ff SHA512 87eed3d40c891793abccb753af50f0a0ef26bd7be1ccc851fe90657918d3c8440855b3f9bb58c6f44cb2e92eddf222350d26669360f5b8cfd46b80d5691c1a83 -EBUILD nvidia-vaapi-driver-0.0.10.ebuild 666 BLAKE2B e2fbfcace352e69f1b9c148717987c4da7a8943219f74e25b3f16b864ba737cd489e76c577a84b8741e953ec7da1824fd08c8904fe2998216321ff9c641295a8 SHA512 e8720a8641305529622c25889b88c30dcd846cde70e485e3c8f6b0f9d8991e59c720ad0109da54508286970eca2117501fb3b57a23a7a30b9073073a8c0d988a EBUILD nvidia-vaapi-driver-0.0.11.ebuild 592 BLAKE2B 4984edba177fc92539e6a1412c99748276e300e5bf2a27c8cb4f82d7ca97fb1770a237cc4a6bf99b3b8c24fa8cfd3a2674fe79e73769a85f8b13e79bc0238285 SHA512 457bbe279b05608190da81a114172a2ad940c6c49fd495dada0cd1f398f32b06d901a6c5c2803a81e6fe7f15177fee20a6e6d4046399db49435b5c4489ceaeea MISC metadata.xml 600 BLAKE2B 780e519992c02718417c1de7ca5c966c4795088bb649d862277959602ea6744c3d78589dc70e5c3eaefc989f9afd7eccded785b7e6e253fc8ae591731634c596 SHA512 5c43e6438c06d5631837711047ca2ccaccda39871af1eaef5ff997a5c35c2ec9f86a0188f44e961095c44823b11847289d04e16575e6061d4c894762a81b1c63 diff --git a/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.10-driverpath.patch b/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.10-driverpath.patch deleted file mode 100644 index bae86cb9a68f..000000000000 --- a/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.10-driverpath.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 60ab79608ae35bd929d3e1387d226547d18e6bed Mon Sep 17 00:00:00 2001 -From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> -Date: Tue, 11 Jul 2023 02:24:12 +0300 -Subject: [PATCH] Use libva's driverdir path instead hardcoded - -In some systems libva may expects driver location in different path. -Reusing driverdir variable from pkg-config to provide correct one. ---- - meson.build | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/meson.build b/meson.build -index 6fd72da..990c2b2 100644 ---- a/meson.build -+++ b/meson.build -@@ -18,10 +18,12 @@ deps = [ - cc.find_library('dl', required : false), - dependency('egl'), - dependency('ffnvcodec', version: '>= 11.1.5.1'), -- dependency('libva', version: '>= 1.8.0').partial_dependency(compile_args: true), - dependency('libdrm', version: '>=2.4.60').partial_dependency(compile_args: true), - dependency('threads'), - ] -+libva_deps = dependency('libva', version: '>= 1.8.0').partial_dependency(compile_args: true) -+deps += [libva_deps] -+ - gst_codecs_deps = dependency('gstreamer-codecparsers-1.0', required: false) - - if cc.get_argument_syntax() == 'gcc' -@@ -69,6 +71,7 @@ if gst_codecs_deps.found() - endif - - nvidia_incdir = include_directories('nvidia-include') -+nvidia_install_dir = libva_deps.get_variable(pkgconfig: 'driverdir') - - shared_library( - 'nvidia_drv_video', -@@ -77,7 +80,7 @@ shared_library( - dependencies: deps, - include_directories: nvidia_incdir, - install: true, -- install_dir: get_option('libdir') / 'dri', -+ install_dir: nvidia_install_dir, - gnu_symbol_visibility: 'hidden', - ) - --- -2.41.0 - diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.10.ebuild b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.10.ebuild deleted file mode 100644 index 3dda1c5670e0..000000000000 --- a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.10.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson-multilib - -DESCRIPTION="A VA-API implemention using NVIDIA's NVDEC" -HOMEPAGE="https://github.com/elFarto/nvidia-vaapi-driver" -SRC_URI="https://github.com/elFarto/nvidia-vaapi-driver/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - media-libs/gst-plugins-bad - media-libs/libglvnd - >=media-libs/libva-1.8.0 - >=x11-libs/libdrm-2.4.60 -" -DEPEND="${RDEPEND} - >=media-libs/nv-codec-headers-11.1.5.1 -" -BDEPEND="virtual/pkgconfig" - -PATCHES=" - ${FILESDIR}/nvidia-vaapi-driver-0.0.10-driverpath.patch -" diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest index 88cf13c47fca..3bd1e5d0ddee 100644 --- a/media-libs/openh264/Manifest +++ b/media-libs/openh264/Manifest @@ -1,10 +1,8 @@ AUX openh264-2.3.0-pkgconfig-pathfix.patch 2023 BLAKE2B 9d380302efe14b45959123f69591aed9f552a954dd9f2f079ba1dc95edfc59869db9ece0ea65d52e58201829e0e4bb791f0380b36b35d288b40769c1c144005e SHA512 24fb7e1bf54d5c1512dab9f5b6cbd61863022d99a1a5d07d5a69037ad3b3857f2ac01fdfae4a1477f1b200c8a4b107247fb9f46af1219e71220e55167f1620ec AUX openh264-2.3.1-pr3630.patch 5566 BLAKE2B 06e6ff75ccbcb287413752283d3b192ccd9ff6172bf2245f28eb219b3c8384f900a54e0d0992589b234e14080dfcdc3c026635ba6070597197f93e8514a77fd8 SHA512 7acc909c8d78e8b9cb366d822b970d4e164d40e0224fe3a07d7750b3b7c3a30ac40afc1bbaac4844d6fbdb6c144830004b12dc3bd64d2574338cebea952648a0 DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9 -DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874 DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1 DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1 -EBUILD openh264-2.3.1-r1.ebuild 3926 BLAKE2B e3acf06baa5bc7682aa84ea182ba2145c60592cbcbf7349305488a67cd4d8dc887eb7dc96d6dfe8d53a6bc58de788e5ed05cb9996a342c3440f316a07dc947f7 SHA512 78fe4cf84fc040496cc276d3c003d4042f353e8c1b0fec5697016616b826b53eebb952e660f1c012829e5631e1cbf85bd9a5ff28d68b812f1388f32725abaa09 EBUILD openh264-2.3.1-r3.ebuild 3949 BLAKE2B 68b79ae51de85dc5c4c19fe2f1d5460ce8d0a076e3201d68cafbe0155d9c2d49f127919e30b1d16ce6dc8b0b2359bcdbf8d586c42c95cef2b77afc072fb4f91b SHA512 50aec0bab131871d007a1915c5305b76ea3e1c1f91741ab3596d05a6ac8b0269e57243e4b0ed2a56464c5ddce8a95916a4f8035a1bf5440c4dab75ea09e404fb EBUILD openh264-2.4.0.ebuild 3955 BLAKE2B 6c1bf0aeb775ea849951b3357debc87ecc80887db474b954ed2eb9cdc17e24f2145eded1aa45aa70844726f529b5680b57310a28c6f774c79ea197b89f703921 SHA512 7c91350363615cc9327d6deba0433d4326a8686303763ff2aef19d83e36913f2b68d19c6e9709257e2f770e26cd05ff442c7d7d4c019f4c0b0e346d48c96e09f MISC metadata.xml 627 BLAKE2B aa6bcd394a1b792f8d0fc89030f34df7f0366f049f52ee11a90af301ca901a07acfc1d34a0d6d237a7d713db53b707b3b9f08d3c86574d6067f6ff7e8cf99c3a SHA512 55a7a5ee5f716e9eb1e5711d45a93fe27f057b54240511de72ade7f88c53eeac72f1bf1b524d22278c0fafbea70e1b5892262ee1b97370d70a0258bad7220e30 diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild deleted file mode 100644 index 25a7f600b016..000000000000 --- a/media-libs/openh264/openh264-2.3.1-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs multilib-minimal - -MOZVER=39 -MY_GMP_COMMIT="3a01c086d1b0394238ff1b5ad22e76022830625a" - -DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages" -HOMEPAGE="https://www.openh264.org/ https://github.com/cisco/openh264" -SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/mozilla/gmp-api/archive/${MY_GMP_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_GMP_COMMIT}.tar.gz" -LICENSE="BSD" - -# openh264 soname version. -# (2.2.0 needed a minor bump due to undocumented but breaking ABI changes, just to be sure. -# https://github.com/cisco/openh264/issues/3459 ) -SLOT="0/7" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils" - -RESTRICT="bindist !test? ( test )" - -BDEPEND=" - abi_x86_32? ( dev-lang/nasm ) - abi_x86_64? ( dev-lang/nasm ) - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" - -DOCS=( LICENSE CONTRIBUTORS README.md ) - -PATCHES=( - "${FILESDIR}"/openh264-2.3.0-pkgconfig-pathfix.patch - "${FILESDIR}"/${PN}-2.3.1-pr3630.patch -) - -src_prepare() { - default - - ln -svf "/dev/null" "build/gtest-targets.mk" || die - sed -i -e 's/$(LIBPREFIX)gtest.$(LIBSUFFIX)//g' Makefile || die - - sed -i -e 's/ | generate-version//g' Makefile || die - sed -e 's|$FULL_VERSION|""|g' codec/common/inc/version_gen.h.template > \ - codec/common/inc/version_gen.h - - multilib_copy_sources -} - -multilib_src_configure() { - ln -s "${WORKDIR}"/gmp-api-${MY_GMP_COMMIT} gmp-api || die -} - -emakecmd() { - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" AR="$(tc-getAR)" \ - emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \ - PREFIX="${EPREFIX}/usr" \ - LIBDIR_NAME="$(get_libdir)" \ - SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ - INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \ - HAVE_AVX2=$(usex cpu_flags_x86_avx2 Yes No) \ - HAVE_GTEST=$(usex test Yes No) \ - ARCH="$(tc-arch)" \ - $@ -} - -multilib_src_compile() { - local myopts="ENABLE64BIT=No" - case "${ABI}" in - s390x|alpha|*64) myopts="ENABLE64BIT=Yes";; - esac - - if use arm; then - myopts+=" USE_ASM=$(usex cpu_flags_arm_neon Yes No)" - fi - - emakecmd ${myopts} - use plugin && emakecmd ${myopts} plugin -} - -multilib_src_test() { - emakecmd test -} - -multilib_src_install() { - emakecmd DESTDIR="${D}" install-shared - - if use utils; then - newbin h264enc openh264enc - newbin h264dec openh264dec - fi - - if use plugin; then - local plugpath="${ROOT}/usr/$(get_libdir)/nsbrowser/plugins/gmp-gmp${PN}/system-installed" - insinto "${plugpath}" - doins libgmpopenh264.so* gmpopenh264.info - echo "MOZ_GMP_PATH=\"${plugpath}\"" >"${T}"/98-moz-gmp-${PN} - doenvd "${T}"/98-moz-gmp-${PN} - - cat <<PREFEOF >"${T}"/${P}.js -pref("media.gmp-gmp${PN}.autoupdate", false); -pref("media.gmp-gmp${PN}.version", "system-installed"); -PREFEOF - - insinto /usr/$(get_libdir)/firefox/defaults/pref - newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js - - insinto /usr/$(get_libdir)/seamonkey/defaults/pref - newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js - fi -} - -pkg_postinst() { - if use plugin; then - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "Please restart your login session, in order for the session's environment" - elog "to include the new MOZ_GMP_PATH variable." - elog "" - fi - elog "This package attempts to override the Mozilla GMPInstaller auto-update process," - elog "however even if it is not successful in doing so the profile-installed plugin" - elog "will not be used unless this package is removed. This package will take precedence" - elog "over any gmp-gmpopenh264 that may be installed in a user's profile." - elog "" - fi - - if use utils; then - elog "Utilities h264enc and h264dec are installed as openh264enc and openh264dec" - elog "to avoid file collisions with media-video/h264enc" - elog "" - fi -} |