summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69438 -> 69446 bytes
-rw-r--r--media-libs/fcft/Manifest2
-rw-r--r--media-libs/fcft/fcft-3.1.5.ebuild2
-rw-r--r--media-libs/harfbuzz/Manifest2
-rw-r--r--media-libs/harfbuzz/harfbuzz-8.2.2.ebuild2
-rw-r--r--media-libs/libmpg123/Manifest2
-rw-r--r--media-libs/libmpg123/libmpg123-1.32.3-r1.ebuild (renamed from media-libs/libmpg123/libmpg123-1.32.3.ebuild)9
-rw-r--r--media-libs/opencv/Manifest7
-rw-r--r--media-libs/opencv/files/opencv-4.8.0-fix-cuda-12.2.0.patch40
-rw-r--r--media-libs/opencv/opencv-4.8.0-r1.ebuild1
-rw-r--r--media-libs/opencv/opencv-4.8.0.ebuild1
-rw-r--r--media-libs/opencv/opencv-4.8.1.ebuild1
12 files changed, 52 insertions, 17 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 112a6bd96ec3..17e4dd8a1c56 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest
index 144c49f3dad0..d5c18e944b60 100644
--- a/media-libs/fcft/Manifest
+++ b/media-libs/fcft/Manifest
@@ -4,6 +4,6 @@ DIST fcft-3.1.5.tar.gz 742014 BLAKE2B 39266ab2a7ea422671414d97c21a90b0eeabe9ed74
DIST fcft-3.1.6.tar.gz 699121 BLAKE2B 597ce1a701db29d3a8b913d831f1847c9526c450352b565436c843388447d8203b54b3d24ab668690986488c102f281c46685a2072bf4afee2bf58465ab9d6c3 SHA512 4fe4e318561706bd446e79b0df8df4fa5b542b9d546aa7361a1523593c26040d827ce059658c0eac89a77b83c771fd43bc74e2fe29cd16b2846a2db7ec733f49
EBUILD fcft-3.1.2-r1.ebuild 2072 BLAKE2B 413f9b8ca65d8a4fee9f6dc06f6a82a5fd71c20e367b4c6d323c5884c716ecf564c6d5be2d711d716a594c6df12dba9674e003114b33ef7dc05bf41f03c4d84b SHA512 afc54726a34924b5b1f68f234598fdaf06ef60ebb66764a1d5304b1f4957e3b60125659a3c7c51d3039896c5bd24bacac74d684713c982c119c619d53a9218ec
EBUILD fcft-3.1.3.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9
-EBUILD fcft-3.1.5.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9
+EBUILD fcft-3.1.5.ebuild 2072 BLAKE2B 413f9b8ca65d8a4fee9f6dc06f6a82a5fd71c20e367b4c6d323c5884c716ecf564c6d5be2d711d716a594c6df12dba9674e003114b33ef7dc05bf41f03c4d84b SHA512 afc54726a34924b5b1f68f234598fdaf06ef60ebb66764a1d5304b1f4957e3b60125659a3c7c51d3039896c5bd24bacac74d684713c982c119c619d53a9218ec
EBUILD fcft-3.1.6.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9
MISC metadata.xml 485 BLAKE2B 6afa04131e16f8240d2a2d878dfa709b5c5458d5710de56691c39315e57b2b4219efc11f185e98341c5553334c5eb7c9bcbc723290e7613b20dfff0d066cacd5 SHA512 aa6e49b3cdaac9c16cdf9f213a0471aa11a304a15a9f3cd1ffd5e643b2ec00089eb2925d9fde235369b535a09992e71a2f2ae29f41bfa84277e1f47efbbe7d7c
diff --git a/media-libs/fcft/fcft-3.1.5.ebuild b/media-libs/fcft/fcft-3.1.5.ebuild
index 435d0ad9feb0..39a674f519c8 100644
--- a/media-libs/fcft/fcft-3.1.5.ebuild
+++ b/media-libs/fcft/fcft-3.1.5.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}"
# ZLIB for nanosvg
LICENSE="MIT ZLIB"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="examples +harfbuzz +libutf8proc test"
REQUIRED_USE="
libutf8proc? ( harfbuzz )
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 58e9dd0b120b..bc3530f1933f 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -4,7 +4,7 @@ DIST harfbuzz-8.2.2.tar.xz 18905228 BLAKE2B 5a26aa802b6e1afec734e59a9c280b4d336b
DIST harfbuzz-8.3.0.tar.xz 19002808 BLAKE2B 3749d2ff7955e135cf0d740bf6fe8b5c20a6bbf171480a29e6ae14fde8c26e1457506278b8c66e3b9630cbeb006874c19075c784a575e490c41297274a27fe59 SHA512 6b8753c0b55d34a1a46a64466b9b0de8bc4748c42b29fa9463616a5f48db08ceb4a80cce416e10861778b98dc96d0638d9dd8d7204e404662154f419f3f61f21
EBUILD harfbuzz-8.2.0.ebuild 2705 BLAKE2B 4d83ad53365051b51e22f35f0e7a9176de13f82cca53f3b47c875a52acbe7c39e84cd00faf42c99c8551d571cc9c2f550789c73b041288e44fd9e061df749ef7 SHA512 f4a7d0001b5d79051b3e8c716ec134a9ddc8c1c9e020946fe7280775fc5097c6455f6ab210e6c0bb25ff7663ebe58d0be6f8b087a3b3193d0490619d6c291996
EBUILD harfbuzz-8.2.1.ebuild 2713 BLAKE2B b72f5d07a27e84e98af56ff704a766cd1d19df6984eaf008255e88a9c413c6a3d4a2c0e977f2a522e80e2a064849843a30ad16e34bf07e1b64c5b5dee054374f SHA512 c176dd6d8c448ad34375e5991212896c33ab53c0eb6c983112e99e9f4d79e64fa6ac6c2ae9d51d11089d2c887235f847561dd0f873b206e51b1a1ebad99b1c25
-EBUILD harfbuzz-8.2.2.ebuild 2712 BLAKE2B d18fe86ab7d9c35db85f6f945004991065d2f59fcdd846c4bbbad90d4f49cdf27790b28ceda4c534906108d15d2f2a0c0f00dfabce1ccf2d9e47f54880db795d SHA512 6083124617ec6b5b0effa33485831544018a5862158c86a08a731795b1fc4ac145b4f7442900d44dbbd751b5759c398f9f7d43715fc9701cbfc55ccd8b4c3b88
+EBUILD harfbuzz-8.2.2.ebuild 2711 BLAKE2B d2b84ec1c9cbc0f50547e327e1ecaae26a726be44ec78e22afd8ff9630e5e15d6ba7855c9a731ed50eaf24e562380f227f0bebf87485dfb72973a0156ee35d46 SHA512 98b62f28b17e60af4b25b7306e23dacb42a8a63421c92de54d4662bdff027c77bf4de2169ec7dcc082441b60f0f5cb6cf0e8971270e3d420068663ab351db4ee
EBUILD harfbuzz-8.3.0.ebuild 2713 BLAKE2B b72f5d07a27e84e98af56ff704a766cd1d19df6984eaf008255e88a9c413c6a3d4a2c0e977f2a522e80e2a064849843a30ad16e34bf07e1b64c5b5dee054374f SHA512 c176dd6d8c448ad34375e5991212896c33ab53c0eb6c983112e99e9f4d79e64fa6ac6c2ae9d51d11089d2c887235f847561dd0f873b206e51b1a1ebad99b1c25
EBUILD harfbuzz-9999.ebuild 2713 BLAKE2B b72f5d07a27e84e98af56ff704a766cd1d19df6984eaf008255e88a9c413c6a3d4a2c0e977f2a522e80e2a064849843a30ad16e34bf07e1b64c5b5dee054374f SHA512 c176dd6d8c448ad34375e5991212896c33ab53c0eb6c983112e99e9f4d79e64fa6ac6c2ae9d51d11089d2c887235f847561dd0f873b206e51b1a1ebad99b1c25
MISC metadata.xml 649 BLAKE2B a03eb9e2b09fab01af900957a9f5d0a43836a77ce770bc2327bc8da299139d1175b59cc413d0a02d74d4fc4169ff3c9180a5c1cf8d6ff570b054bbceb55e89ba SHA512 94c0c007157e240abc17056e2efe877770ee0267bf9d710fdbac796110f4507d2bc628c3b22f74652a9c568e7c60fa513e680aeeb8895831aafede268c14be70
diff --git a/media-libs/harfbuzz/harfbuzz-8.2.2.ebuild b/media-libs/harfbuzz/harfbuzz-8.2.2.ebuild
index c50563c15f32..34fb1cd87dac 100644
--- a/media-libs/harfbuzz/harfbuzz-8.2.2.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-8.2.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz"
- 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"
+ 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
LICENSE="Old-MIT ISC icu"
diff --git a/media-libs/libmpg123/Manifest b/media-libs/libmpg123/Manifest
index 02e234a51ba1..1f9ae4667f50 100644
--- a/media-libs/libmpg123/Manifest
+++ b/media-libs/libmpg123/Manifest
@@ -1,5 +1,5 @@
AUX mpg123-1.32.3-build-programs-component.patch 1304 BLAKE2B f0e4694bba608c20ed0cb1db0cf5f1c90ec522fc2eee6c01e8440fd39351e7d6a3e4165bac3a0ea3c1355bd7351dd6fefec9a02f8925226064ff741f01e3033a SHA512 b049a1da5b0185637f07445bcb5a00d37ba8c51456f10ee555e73fcacde2a3227ec900eaa334f84605a6956610831df5fceedef6c078375a82a0808c492b46a6
AUX mpg123-1.32.3-build-with-installed-libs.patch 7957 BLAKE2B 668aecace3cde2acb25474ea235b20b7c81398c1e4c91216dc95acaa3961683e6f87c0e1b5b3ffec0486484de7c2cf9fb85a41549013698ce3734ac41dba952e SHA512 6e59255199c19b5f3ca4cc9c3175b0f3e01440d44820806c3b3ad37291afa771809c556ce5369b9df45d98c6e300576b55ef1c61668fd0286372cb0afcf550a4
DIST mpg123-1.32.3.tar.bz2 1111054 BLAKE2B 67f889403c2bb639d675ec5ebea5a19c4b7174971d62bdd8d940ad659e6b0c06dada38422fc9d71b878917aa89e305ec48c8faa78d65d507cd6a0c9a79951359 SHA512 946c1073b6eebfd65333ec543df1caeea25864479e9c8e153fb53d8b636cc756d8d81947f7b5cbedbbfb1ea664d3fb27562ed36e7726d95e80591bd2ad622afc
-EBUILD libmpg123-1.32.3.ebuild 2766 BLAKE2B de730a7d5dcbc365973090978d1cf3dd4107e448a42ef98c3ebada11051f2dbdf2adb31516a091b5aed90e4e75c56dfdfea617fd4761881426cdff6d2395fe7a SHA512 26043fbc612ab141ee704240eaa138260b4d349651a62e5511d577f812dbee65bc82671740d4f7ab3e423be6660957c891b8c50052b992deed2a9640eae5a14e
+EBUILD libmpg123-1.32.3-r1.ebuild 2629 BLAKE2B 3af23d9b824f2b7b54fb16e4c7c36f31682077bd065fcb0648e7bfdde3b6e967b0565097addbbc834e7ece53497782116d15a52290b89b5cd261172004249b3f SHA512 e21f077e78a1362583190afe9058787dccfadad964114885cb98bfa5ad42c6356adc17a743a420ce8d1022435ec8e3375f6b4b0263a04165a002d47089a56ba7
MISC metadata.xml 526 BLAKE2B 42eed8f068420cefea4cf3e75a880889be7abe182feec2aa95e0e7f550cf68eb2582460e43500d24b7ad189adb3e0e135da1079efb405957fe3dfc6b93a91ece SHA512 11e572b6ec77d6c971766e666db84ee4b605479c3f89ba639177de7fb109a8d9e38d1f5034a52554736e6bd0915aae84830169ba3580f6d64794adc4c8cb9d0e
diff --git a/media-libs/libmpg123/libmpg123-1.32.3.ebuild b/media-libs/libmpg123/libmpg123-1.32.3-r1.ebuild
index c431accb6960..a02cd6cb5043 100644
--- a/media-libs/libmpg123/libmpg123-1.32.3.ebuild
+++ b/media-libs/libmpg123/libmpg123-1.32.3-r1.ebuild
@@ -31,7 +31,6 @@ BDEPEND="
sys-devel/libtool
virtual/pkgconfig
"
-IDEPEND="app-eselect/eselect-mpg123"
DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
@@ -94,11 +93,3 @@ multilib_src_install_all() {
mv "${ED}"/usr/bin/mpg123{,-mpg123}
find "${ED}" -type f -name '*.la' -delete || die
}
-
-pkg_postinst() {
- eselect mpg123 update ifunset
-}
-
-pkg_postrm() {
- eselect mpg123 update ifunset
-}
diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest
index ed351ce2fcb6..e12cd8b94887 100644
--- a/media-libs/opencv/Manifest
+++ b/media-libs/opencv/Manifest
@@ -6,6 +6,7 @@ AUX opencv-4.5.0-link-with-cblas-for-lapack.patch 726 BLAKE2B adbffd961c88229bf8
AUX opencv-4.6.0-fix-build-examples.patch 700 BLAKE2B 4560255001cde7e8071d2ee93a437f01a9f745e825b92b1a9f66fab143f5e060a01c706d180e8ee5449e4ca1a0eec591c71215df18ba3f49fab683124f577007 SHA512 02c51e755c98b2b51f11f1d34a88ec77f727f91d5af91426a5c625215ccde28ca57de356f2187df003fa2bc97ef9304a2d95b8aca0e71b999341b0d258e8bc0b
AUX opencv-4.6.0-fix-ffmpeg-5.patch 547 BLAKE2B a1257e21f8c9ae5255c9155d913c304907e9af0ba8ca1d2d2bb10e2cbe54c9c98aa495f15c6c7b999bbfe2ee9c47c2898859ed84a121fcdd1549c1d122779cc4 SHA512 75961c301082e21839ade53a9ec3adb8d8f2b150e1a87effa7a0d7de3b30ccc7f1506d94311740fc2c933666317e32953626cdd38acecfaff854124b1f8d4163
AUX opencv-4.8.0-arm64-fp16.patch 12222 BLAKE2B 18803d74cb57bbc303c8159ca69d24dcc47d00a314bfdababeadd3b85306d289c8b35a1106011086931396e0ab82d98964434d0c0eaa34c25451c766ca9b9199 SHA512 1d9d42a711a1ae0ec7f1f641a68271d4b36f6b8701997a05d65c633d3531cad75e4edbf71c4f80cc59a9a14baa8ddebf19081dc67b99898dce13da8e3746227e
+AUX opencv-4.8.0-fix-cuda-12.2.0.patch 1920 BLAKE2B c43157c4859666a962fa40ed435aeab6b17ac01b9b67dbba0955fb7c009504b1780f5de2a40ee63db245cadf0da41b40fda0d7e06ad719071b12ba385f693ea2 SHA512 5ab0c15811748307971e8939a40c08c2c9cf3e38d2acafff72a3890f6d7c7133d8c7a087cf1a05b2dbe1907dd88911872c61c10f7638edb46ee679f658b265c6
AUX opencv-4.8.0-fix-flatbuffer.patch 1764 BLAKE2B 806f61bf7017fbcb5b5058686db9dd2272eb61d6a2952f0f029bc76d62172a18f9a21661426f13cfd5066fc60710b218bb9b2dfded61e33040469da0e0b72c94 SHA512 2679f52c3df16b7daac1fafa0b24796568a2555de03805ee6ee6b2e08a2be9f63fca44c1b472f5ffe2dfb7fe8b3d754b3ba39a71419974613a9b3de70a09cefb
AUX opencv-4.8.0-fix-protobuf.patch 543 BLAKE2B 2c3ac7ddeda366cb117d5deddefe732dd6918bc54e468b1cc8d95e40bb9e5cde1776046a894e8f26416edffa39dc6c97547cbd688e0566587f9690e721b4c1e1 SHA512 799e3f3d019624476a285c2795d28f022bb126e9b9f511b153aef131a7cae2e3fb6361bd21b7ea34dfea984e3ef9e1a0a40d09a5a72a808a31e1eb15548b15a7
DIST opencv-3.4.0-face_landmark_model.tar.gz 63299830 BLAKE2B 58f08cd8c030ee1c8b66e76a561fd625e112face427d001185f8d7c0eaace55adbd8474663021841a1382bfe393a210e64c51223441713cdb9156fac866a845c SHA512 2cd29ce42c08b2966db3ef4a2bc217ab3d07051819757ec6de8f3deea29e28f60abab39f101dba03f766f17018598e411bd687a7eaab0c681c113e10a2de2b23
@@ -23,7 +24,7 @@ DIST vgg_boostdesc-3.2.0.tar.gz 1867770 BLAKE2B 1fa5b58e73b6fa56ecf8d19af22298f7
EBUILD opencv-4.6.0-r4.ebuild 21277 BLAKE2B 458906fe516524a8d997e6645d16ca3621774795271cb06aa2bb414a5937139db84beffb1dfa39d96215f45aa56c93461463a62f5f771cfc16396b3d926e049b SHA512 2d2b557fe6b260cd4c3ffbd4159cac68dafb9fc22138ff2f119350723a44f3376ee39f20d8c8b2d61952d88d9a60b470d36477552f0a1eb9b12eccd690547e6e
EBUILD opencv-4.7.0-r1.ebuild 21289 BLAKE2B 0e2c1ac23fcd0ec261329eeeb73f035bb92bdd0d114b6123a9934d85937034e65e22a5264553cf294c66023a23e7bab7bb77560bb422a0d36ed726bc010afdd8 SHA512 332206b352f57fd16375b104f84e3019a8358ed174159f0827f51ac522ccdb62c360fcea1a94c2333adae5468acb95e78ad6897c3e8f9daa33292161794b737e
EBUILD opencv-4.7.0.ebuild 21242 BLAKE2B 930ce7cdb362134193217aced8fb53e6695cde0d2abf1582db923c5bad84c01189eea5d76dc6bfd81e1bbcd0e286f94c2d17b59bb3ace0dd2cdbf26e21be6d17 SHA512 43f45361d176e7f34dc0c1d98dc459b351215b9a2db8d76390b384e774a95db8792386fecd35007ffee90d2a275f3daea010da1cea5e9728221f71d6c6a44164
-EBUILD opencv-4.8.0-r1.ebuild 21498 BLAKE2B fdcc6acc16e49e2d7d612617b551e532612490b72a27b2aecd39d45d02164419aacea7fd13dc68ddcb1166b54dbdfb8cbf8167690071e353eba64c6a5173fcb9 SHA512 7532f01d5c725efd1c20019eab7879a8e31ba8b2194b4b0869971827512392145667f642cbc77672a82edd2f83cc77a0378386dbf1ac1cf1ba55aa388f97a196
-EBUILD opencv-4.8.0.ebuild 21266 BLAKE2B f7eef7599c1dba1eeafc61ff2717d47229c64ce3c9592da01a2ac8d0e75e6c7158c1b66346db77d969e573d5f7e50880b42827b185184c5fa571b7cc7b4dc747 SHA512 a47347e0966585c4b5789ddb11373e5b9b7559e26a8ab401de25b2f427b85cdbf7a9d47ea53d654e79bd44fece38d45f437ad91bdbe872410b9cd881192d3055
-EBUILD opencv-4.8.1.ebuild 21961 BLAKE2B bd26de4aff6ccfce3b9b1e19f21a17c18ade279734bb79a988d27b84e1f17e8c4a4804d7ccd1e7fd51d2ec627525d0feea73b91339d9dfa53b219cf8b2c5557f SHA512 686cebafbc8e3c0995ab210006a613feb5384bafbaf8368b7d6e21faec0aae68cef33f94e58a8327374f92536dda4394b5e25ec50b0e3f847cf1d5e3c9ef5915
+EBUILD opencv-4.8.0-r1.ebuild 21547 BLAKE2B b99ae2674efe89748d80fbdc59b54f48f71e4e992552cfc63dadcbf195d2418f01701873158c43417f03d7d055c187611b0b7a9d4a4ab800acfa4153c02f5911 SHA512 187cdc3fa84b29f5e59a136ade5bb6fb28c183140eb27ceff352ca928d29f7b2e6407445a58bc36b7770d36cda3595e66d86095e23cd53126786594111c5b48e
+EBUILD opencv-4.8.0.ebuild 21315 BLAKE2B 47d10c626c58b570d2decb6dcc387825c73ebeb1040f0301bc5d5763a19f0c85132ce521dc3425f9191ea086f0ecb6d309fb07cf8787de5d437f6c4dc3a409a8 SHA512 8c894c1d251090c1bb9a93c138103cd9f2049e633958f9cb7964f00ef0838b3d654cd89bcfce44027baff33c0b6cea21e6a47c816b67c501bd5da21dd88c66e3
+EBUILD opencv-4.8.1.ebuild 22010 BLAKE2B f45246f83b047a92b03a544571a50517e4c982fae42190afd01bc1d77e1c6aa40d157ea0d580ea570ab9871fccf3bb07755ea3730a88182a42ea66a411c66709 SHA512 78be48109a65ed6e0a648acbf87d11cc6183af1a701dcb186e806e367cff7e074ab4d90c2bcbeff60310064791c15bd2b43d9eb5b1ba9fdfc53bf6b3fe3de9e0
MISC metadata.xml 3380 BLAKE2B 7110d6b679cf07eab5c673fccdee71ac80bc0634209ab0cf711a31569163ba713679b0f708e6d3a1dafe54efaf9116bd2892417b276cc27f80b1af1ace5737b0 SHA512 81b1e28bf9a48457633547213c9df82ed3b54864681474692dc441f5006fefd6907c1d7a6a617e40a2e8d38c25ef90e0e79561e206b92ff92188005e24ac5759
diff --git a/media-libs/opencv/files/opencv-4.8.0-fix-cuda-12.2.0.patch b/media-libs/opencv/files/opencv-4.8.0-fix-cuda-12.2.0.patch
new file mode 100644
index 000000000000..fd7d12af2644
--- /dev/null
+++ b/media-libs/opencv/files/opencv-4.8.0-fix-cuda-12.2.0.patch
@@ -0,0 +1,40 @@
+https://github.com/opencv/opencv/pull/24104
+https://github.com/opencv/opencv/commit/5466fd2606ca6df57bbe43f064d2ae73fe4329eb
+https://bugs.gentoo.org/915775
+
+From ab8cb6f8a9034da2a289b84685c6d959266029be Mon Sep 17 00:00:00 2001
+From: cudawarped <12133430+cudawarped@users.noreply.github.com>
+Date: Tue, 1 Aug 2023 13:02:42 +0300
+Subject: [PATCH] cuda: fix for compatibility with CUDA Toolkit >= 12.2.0
+
+---
+ modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp | 2 +-
+ modules/dnn/src/cuda4dnn/primitives/region.hpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp b/modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp
+index f067dddaa701..91ff33f81718 100644
+--- a/modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp
++++ b/modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp
+@@ -111,7 +111,7 @@ namespace cv { namespace dnn { namespace cuda4dnn {
+ * or there might be several weights
+ * or we don't have to scale
+ */
+- if (weight != 1.0)
++ if (weight != static_cast<T>(1.0f))
+ {
+ kernels::scale1_with_bias1<T>(stream, output, input, weight, 1.0);
+ }
+diff --git a/modules/dnn/src/cuda4dnn/primitives/region.hpp b/modules/dnn/src/cuda4dnn/primitives/region.hpp
+index d22d44214e7b..3af05155feea 100644
+--- a/modules/dnn/src/cuda4dnn/primitives/region.hpp
++++ b/modules/dnn/src/cuda4dnn/primitives/region.hpp
+@@ -121,7 +121,7 @@ namespace cv { namespace dnn { namespace cuda4dnn {
+ new_coords
+ );
+
+- if (nms_iou_threshold > 0) {
++ if (nms_iou_threshold > static_cast<T>(0.0f)) {
+ auto output_mat = output_wrapper->getMutableHostMat();
+ CV_Assert(output_mat.type() == CV_32F);
+ for (int i = 0; i < input.get_axis_size(0); i++) {
diff --git a/media-libs/opencv/opencv-4.8.0-r1.ebuild b/media-libs/opencv/opencv-4.8.0-r1.ebuild
index 2910615c0b36..ad47071aba4d 100644
--- a/media-libs/opencv/opencv-4.8.0-r1.ebuild
+++ b/media-libs/opencv/opencv-4.8.0-r1.ebuild
@@ -295,6 +295,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.8.0-fix-protobuf.patch
"${FILESDIR}"/${PN}-4.8.0-fix-flatbuffer.patch
"${FILESDIR}"/${PN}-4.8.0-arm64-fp16.patch
+ "${FILESDIR}"/${PN}-4.8.0-fix-cuda-12.2.0.patch
)
pkg_pretend() {
diff --git a/media-libs/opencv/opencv-4.8.0.ebuild b/media-libs/opencv/opencv-4.8.0.ebuild
index 772cd8408d98..82322d2d67fb 100644
--- a/media-libs/opencv/opencv-4.8.0.ebuild
+++ b/media-libs/opencv/opencv-4.8.0.ebuild
@@ -290,6 +290,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.1.2-opencl-license.patch
"${FILESDIR}"/${PN}-4.4.0-disable-native-cpuflag-detect.patch
"${FILESDIR}"/${PN}-4.5.0-link-with-cblas-for-lapack.patch
+ "${FILESDIR}"/${PN}-4.8.0-fix-cuda-12.2.0.patch
)
pkg_pretend() {
diff --git a/media-libs/opencv/opencv-4.8.1.ebuild b/media-libs/opencv/opencv-4.8.1.ebuild
index 0bfc5cab4674..3f219f22a627 100644
--- a/media-libs/opencv/opencv-4.8.1.ebuild
+++ b/media-libs/opencv/opencv-4.8.1.ebuild
@@ -300,6 +300,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.8.0-fix-protobuf.patch
"${FILESDIR}"/${PN}-4.8.0-fix-flatbuffer.patch
"${FILESDIR}"/${PN}-4.8.0-arm64-fp16.patch
+ "${FILESDIR}"/${PN}-4.8.0-fix-cuda-12.2.0.patch
)
pkg_pretend() {