diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-06 03:03:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-06 03:03:24 +0000 |
commit | 2ceda67569b0a59d190a0f6afe73c18336b54268 (patch) | |
tree | b769c1b06703783b963015c2c528fd5a50d2046b /media-libs | |
parent | 564cd64dc5f2727c4df6aeb1bb51327503c84e78 (diff) |
gentoo auto-resync : 06:11:2024 - 03:03:24
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69572 -> 69569 bytes | |||
-rw-r--r-- | media-libs/harfbuzz/Manifest | 2 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-10.1.0.ebuild | 89 | ||||
-rw-r--r-- | media-libs/libcanberra-gtk3/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libcanberra-gtk3/libcanberra-gtk3-0.30.ebuild | 13 | ||||
-rw-r--r-- | media-libs/libdisplay-info/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libdisplay-info/libdisplay-info-0.2.0.ebuild | 2 | ||||
-rw-r--r-- | media-libs/libva-intel-media-driver/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.2.ebuild | 57 | ||||
-rw-r--r-- | media-libs/opencv/Manifest | 4 | ||||
-rw-r--r-- | media-libs/opencv/opencv-4.10.0.ebuild | 3 | ||||
-rw-r--r-- | media-libs/opencv/opencv-4.9.0-r2.ebuild | 2 |
12 files changed, 164 insertions, 14 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 4171eec0d549..8a3053f93f13 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 86a8bb4e9c1a..c5918fc7e108 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -1,7 +1,9 @@ DIST harfbuzz-10.0.1.tar.xz 17914712 BLAKE2B d1506658646a589c772d8efec1f40095ff8097f5d34c6498aa848027e71583c511d337ceea5005a4f5ce08f28c2d952fd3007383d701e957fb0c923edeba9466 SHA512 3fb7dda6e51496337698d46cebe623f678a4e5b0f006be6e1309143a82408a362c149812477e083e14811a5cba565d76eb2c0804f5e1bbea7e1bf83678176048 +DIST harfbuzz-10.1.0.tar.xz 17922136 BLAKE2B 7d78e31d045b984d8d1a8b1d1f8f282ff9b7dc748ffd65355266266e75064b14eb94ec6b1418e208ebb0fffb99ef174d1978ab14f0c318c1112c2d8005285979 SHA512 14b0e8fd417af9c78f36e532e3737c163902b85837be1028a8fd569508639b87afeb56f70a2313ba2f0f6d4b72bb6cee0bf50fb333dfc503c713e4d9cd86e9c3 DIST harfbuzz-8.5.0.tar.xz 19468172 BLAKE2B f598d7de953834499d1ab36c0fc9d95099fd7e99b87f630e1527aaa39deb2d339b9f3caaea3643238c6c1b321557f794f273929950b54fe9de2faa430d77855a SHA512 d5762f77b0913792d34596e6f3adb98ab693e2ef928396f997ca2e647ca7cad13fdd204fa15b49e2f7c33320ff210d7f078215d5765c9365571458b919a4f10c DIST harfbuzz-9.0.0.tar.xz 17895360 BLAKE2B fd35c41d25e77c96b1fc760b8ca0ffd1ac8f3382b51991bb28797d55c2171bf0700ac65266996bf5cab82b8e9c835c2fad9c8374d9c60d2a361c924d805afbf6 SHA512 2700b560727d9c4440ad9c74a170b857f20f9e553e5d98b0c4bcf086a25ba644149d7c89009a41d964af7a924efcc486da4dcbfa5cc4d47f9f10e9b6b8c689af EBUILD harfbuzz-10.0.1.ebuild 2420 BLAKE2B 9f13f312444fb438d920d46b82bcfa7fa3400dfb9064b9015efce564b21d69d6be7932e19042aa474b890170c5e8c3b24a0f05c49574f828d096b91d231003ad SHA512 986cdf49bb95513a02ad2e9bfe7399787aa5bb0c57eb964784d47f951dad66660221a49c3803a5eb7090f86a4a4e57721b086ec00b3663c5ff4061808b3b2883 +EBUILD harfbuzz-10.1.0.ebuild 2420 BLAKE2B 9f13f312444fb438d920d46b82bcfa7fa3400dfb9064b9015efce564b21d69d6be7932e19042aa474b890170c5e8c3b24a0f05c49574f828d096b91d231003ad SHA512 986cdf49bb95513a02ad2e9bfe7399787aa5bb0c57eb964784d47f951dad66660221a49c3803a5eb7090f86a4a4e57721b086ec00b3663c5ff4061808b3b2883 EBUILD harfbuzz-8.5.0.ebuild 2708 BLAKE2B 48104feaba9afb67c3953d0281bf20b13e2425c85a33a3170097e2befa258d1762806648a484731bcc8e8303e6bb6d77c21b4115665393ef1a2f0029fcb3a1ed SHA512 e29cde2c603081e591641e4e19174b881285a75c27fed455731d6a8cc62e3ae187ff2a553cc3fc14116fe35c547b962c549a207b97a1d8692fee693cd9e68f5d EBUILD harfbuzz-9.0.0.ebuild 2412 BLAKE2B c8dd2032d78c0af08f0b20b17c285c9b6a9d55550f951b5555f8b45e99884c08fdc7fae71e2c57f5d42e220566d1d8f52f5e0e7bb3501d3c52a80b8f65ac3b25 SHA512 21153ddb24dd2b80f14237d6667ff2f6f92f12da835d219a88733f15398f3d9212b1f638acf4f700201ae1876f99161ec37ad24dbc55236c4cf4d8e95cf2c4c3 EBUILD harfbuzz-9999.ebuild 2420 BLAKE2B 9f13f312444fb438d920d46b82bcfa7fa3400dfb9064b9015efce564b21d69d6be7932e19042aa474b890170c5e8c3b24a0f05c49574f828d096b91d231003ad SHA512 986cdf49bb95513a02ad2e9bfe7399787aa5bb0c57eb964784d47f951dad66660221a49c3803a5eb7090f86a4a4e57721b086ec00b3663c5ff4061808b3b2883 diff --git a/media-libs/harfbuzz/harfbuzz-10.1.0.ebuild b/media-libs/harfbuzz/harfbuzz-10.1.0.ebuild new file mode 100644 index 000000000000..7214ae683e59 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-10.1.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit flag-o-matic meson-multilib python-any-r1 xdg-utils + +DESCRIPTION="An OpenType text shaping engine" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git" + inherit git-r3 +else + SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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" +# 0.9.18 introduced the harfbuzz-icu split; bug #472416 +# 3.0.0 dropped some unstable APIs; bug #813705 +# 6.0.0 changed libharfbuzz-subset.so ABI +SLOT="0/6.0.0" + +IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype" +RESTRICT="!test? ( test )" +REQUIRED_USE="introspection? ( glib )" + +RDEPEND=" + cairo? ( x11-libs/cairo:=[${MULTILIB_USEDEP}] ) + glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) + introspection? ( dev-util/glib-utils ) +" + +src_prepare() { + default + + xdg_environment_reset + + # bug #790359 + filter-flags -fexceptions -fthreadsafe-statics + + if ! use debug ; then + append-cppflags -DHB_NDEBUG + fi +} + +multilib_src_configure() { + # harfbuzz-gobject only used for introspection, bug #535852 + local emesonargs=( + -Dcoretext=disabled + -Dchafa=disabled + -Dwasm=disabled + + $(meson_feature cairo) + $(meson_feature glib) + $(meson_feature graphite graphite2) + $(meson_feature icu) + $(meson_feature introspection gobject) + $(meson_feature test tests) + $(meson_feature truetype freetype) + + $(meson_native_use_feature doc docs) + $(meson_native_use_feature introspection) + # Breaks building tests.. + #$(meson_native_use_feature utilities) + + $(meson_use experimental experimental_api) + ) + + meson_src_configure +} + +multilib_src_test() { + # harfbuzz:src / check-static-inits times out on hppa + meson_src_test --timeout-multiplier 5 +} diff --git a/media-libs/libcanberra-gtk3/Manifest b/media-libs/libcanberra-gtk3/Manifest index 59fe7787d6e5..3c48594c9ba2 100644 --- a/media-libs/libcanberra-gtk3/Manifest +++ b/media-libs/libcanberra-gtk3/Manifest @@ -1,5 +1,5 @@ AUX libcanberra-0.30-wayland.patch 2382 BLAKE2B bc2be1eb32541c80483538b8e3105f281023cee22a2a0f67c8210b8cfc97273f5323cf31e3b7955e8b944af1a414b30554c9dff7d2de97cb1bcfb13f4cd56baa SHA512 9822e67dea1b541fedb0fa9779cfcb101ba8bd24d9ff238af59920b937cb1f5fbe5854ee5e642ff53e65f8d2d0996f2c46be67a51a211d2e76ae89ae98ec553a AUX libcanberra-gtk-module.sh 275 BLAKE2B d7f863f77983d4144035eefc7ce3abb4eb411ecc3aac5f5737b7ce0f44e42cf713b963a17c6a6afdaa95833eedaa510ccd9371056c2c6f0e805febf16c245e36 SHA512 6c945211ad9d461e5bdac209c83e0fc0c714eb194f6d57e4f18db1d904528fe845cd628572d0ab9eb4d53005c00073b376b6d718bcd0cddaeee83dc90042643d DIST libcanberra-0.30.tar.xz 318960 BLAKE2B c90c6863738b103c256eeb0907060a0f74b73ef50ac0728d2114aa558a7a1ad7cbae4184860573d3fac0032eba77327a4de94c459b99a81c3dc19da0e98adfda SHA512 f7543582122256826cd01d0f5673e1e58d979941a93906400182305463d6166855cb51f35c56d807a56dc20b7a64f7ce4391368d24990c1b70782a7d0b4429c2 -EBUILD libcanberra-gtk3-0.30.ebuild 2212 BLAKE2B c15369eec11e2e6a8aaa0ebe485995f2876544fef605e42857889bada5b30ec72312a240aaccac5656174b12649476079f996547124c4c8ade5475e2a6bbbaa6 SHA512 9e001687ad7f73dffd7249661c7ca566884ac9c61999b98541d96fe1318bd83cb6d6289d757fe73d93a11c9498f98eb44996ad04995ee343b820a7a36342a953 +EBUILD libcanberra-gtk3-0.30.ebuild 2185 BLAKE2B 950281190fcf9569961f436086e510172a1d3cd28e8de41ee21be09735ed477addd54929bbfec895e06c562267c58e679482b73306516c12dcaacd15a9a639af SHA512 45e8d60f2d4654bdfc8c495d5cc6b3ddf9c2657226c123ae2f092404dff4519b7403c17af5c42b52e2f1db1d96807a5d80d1c41d2c266325c5fcb408cc2a67ae MISC metadata.xml 368 BLAKE2B 191cf45377c726b49548737b12f971668c0e735f5226ee54fa9dde31c5575e29c9a5cb9d54bf9bc2f1aff6a565c4c7931928f5b6edb291781477464858edda39 SHA512 d227c9f4b6956e4e6c20004cfc93e54643fb94eaef0da7abc20e0489248747dae47eb7ceb0551c70c7c0cd3c5291b305b0a103fa2769144b6b6484212ed2bca0 diff --git a/media-libs/libcanberra-gtk3/libcanberra-gtk3-0.30.ebuild b/media-libs/libcanberra-gtk3/libcanberra-gtk3-0.30.ebuild index ec20d28ae8db..a8771a5d9054 100644 --- a/media-libs/libcanberra-gtk3/libcanberra-gtk3-0.30.ebuild +++ b/media-libs/libcanberra-gtk3/libcanberra-gtk3-0.30.ebuild @@ -69,19 +69,18 @@ multilib_src_configure() { multilib_src_install() { # Disable parallel installation until bug #253862 is solved emake DESTDIR="${D}" -j1 install - - rm "${D}"/usr/include/canberra.h \ - "${D}"/usr/lib64/libcanberra-0.30/libcanberra-{multi,null}.so \ - "${D}"/usr/lib64/libcanberra.so{,.0,.0.2.5} \ - "${D}"/usr/lib64/pkgconfig/libcanberra.pc \ - "${D}"/usr/share/vala/vapi/libcanberra.vapi \ - || die } multilib_src_install_all() { einstalldocs find "${ED}" -type f -name '*.la' -delete || die + rm "${ED}"/usr/include/canberra.h || die + + find "${ED}"/usr \( -iname libcanberra.pc -o -iname libcanberra.vapi \ + -o -iname libcanberra-multi.so -o -iname libcanberra-null.so \ + -o -iname libcanberra.so* \) -delete || die + # This is needed for desktops different than GNOME, bug #520550 exeinto /etc/X11/xinit/xinitrc.d newexe "${FILESDIR}"/${MY_PN}-gtk-module.sh 40-${MY_PN}-gtk-module diff --git a/media-libs/libdisplay-info/Manifest b/media-libs/libdisplay-info/Manifest index bedfcf89b085..e8d769e3fed0 100644 --- a/media-libs/libdisplay-info/Manifest +++ b/media-libs/libdisplay-info/Manifest @@ -1,5 +1,5 @@ DIST libdisplay-info-0.1.1.tar.xz 76864 BLAKE2B 262f275a61efefaa57ec48558c4b9f9dd9cb6d8012e50a9873e10a593e1b03e2cc37c2d690be392f26ded171be9dcc8a7e80139129d2b4d85ebc7f9ef0eedaf9 SHA512 95c199211504af96816d92ec8e531bea993dd5d4a2935f1977f1e665b924b1628df25b81cd20da29543d008a8e6d757bdbceb09c74e031c0c213d60be9a10d7a DIST libdisplay-info-0.2.0.tar.xz 95280 BLAKE2B bcfec916c1f30204e5e0af9e3e57a5ef9929c09912a5c1302fbfb76b54208ad4b96fe1c972afe1814c5762f9f78b0ff093f2249ee0dbf6f1b30202722bd05449 SHA512 6e910b832860d920a4be298a2b6925f701654bd7cdd8b3457e64663c25caa20a74b81b91f71878b9e7f5f70c5c067235f0c99293650231920c67d1241a61e1fb EBUILD libdisplay-info-0.1.1.ebuild 638 BLAKE2B 2377f2e2160d5fbaa0e68d89c45826731925ce2ca0caf827926be1e36aa38c8808981759e33e04a8c5254f0e5b26fa6003e922f297afc1fce0ef89c1e45147b3 SHA512 c62506b8ce12d7180c4ff9cb38b91d9d9123ef4b38266a55a634bcb2eb278a0915fc57189a6d061559d2093f86f0a9ffc9c32824224d17eb67538cc87f07da7d -EBUILD libdisplay-info-0.2.0.ebuild 558 BLAKE2B deebd396189da4b3113e996d4eacd1761f6013fb70e894a933535907b6e701951272baeddd89201da0cd7b44c21e4065b2d5ffcb9b39f0c5f5e25a568b7036e3 SHA512 024940429819adf78e96465a24bba22057bc5e6abeb9a4459a785f301e5c2237c32e9a7f4bc93dd28e9c7e1135d3f97a31dc777c7559ce874b4db1ff344a3b7d +EBUILD libdisplay-info-0.2.0.ebuild 563 BLAKE2B 2f2c5ba0d27f33b18fd1014d16f1c6ea150dad28bd70f6cf4deb8ac8b56bb5fa3daf1790e7b4c668ee27e9d69fcc9db2d7f831684ba1e55cc16081f3f506b4fe SHA512 a9324478c76b6c36c1ab2d78eb0694130b33d201bdc138db476fa189291ef0d089590f9aa9cd5db7e329961de1ed5f39bd578e4c78c7dc8569c8b6ad61dba48f MISC metadata.xml 349 BLAKE2B 0a82833d63b02c6572b7ee005a433ab4768fc3b6b4f6af5ef1bcbb2651d48bf8638cb32994c12370347302f0b8fb66e17b85b188177e1df8bb98e0a2bc65f920 SHA512 e5c06e09ec11cf204a2cf82176778d0fac91c658813d20e7da4e6dbb80ba6b2e27eb4a12b1daa244dceee894c24e9617c313a2d07732f5ca8ee2aa79cc162cf5 diff --git a/media-libs/libdisplay-info/libdisplay-info-0.2.0.ebuild b/media-libs/libdisplay-info/libdisplay-info-0.2.0.ebuild index 0f71c25d22ab..bd3f41f33877 100644 --- a/media-libs/libdisplay-info/libdisplay-info-0.2.0.ebuild +++ b/media-libs/libdisplay-info/libdisplay-info-0.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://gitlab.freedesktop.org/emersion/${PN}/-/releases/${PV}/download LICENSE="MIT" SLOT="0/2" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" RDEPEND="sys-apps/hwdata" DEPEND="${RDEPEND}" diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index e56ebc01c7fe..1ee742be44ed 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -1,6 +1,8 @@ AUX libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch 1530 BLAKE2B 732af31ff06fc92c7fa5375e767dfbcf52805baa52a71f26b9b2b9687eda9fe60cf9b618030040e5595aba24c9c781eb26243a257a2f025f2427a1a9d2cbafa4 SHA512 eeba11f6c4922c909aef909f145213418c32e28c19bab9b5c6051e51de9482562f1229f2236f1ed0e7365d59359827c889cabc7f81566205e47152bcea380313 AUX libva-intel-media-driver-23.3.4_testing_in_src_test.patch 2497 BLAKE2B 5db90e062447461d7310dc039f8969abd9618142b85b18d7b98dace6ef144df386f3cec3e3a1540588781ef1b92c7b6b276d8bddf30199cb0ff36dc3d7d88b3d SHA512 5a7b10a740e62c8729449d5f1d255621e5dadf944c3c9e13f8c8598c8e11c9b44b59844106825cc22d1fc30846e84539254a4c5b1295c5291638943cd314ca88 DIST intel-media-24.3.4.tar.gz 27623962 BLAKE2B 0f4eb4321db0b3f1ce05461d0321777918dbb7ac1e28dc916040ca252441c7682650c6af0224588c445ccb06cc1c28b8d5ff47b7a0b271e83b1a97cf3af6e67d SHA512 015915b4265fafa5cb619ac69e1cbd3f17ac22fc51dcb9455782cad097dd494c28cdcc9c4c184c739216b419a5b1ec5730ee19d9dedfc83e20761803a3e89d81 +DIST intel-media-24.4.2.tar.gz 27670782 BLAKE2B a89df89b15cb800fd9e90e8ffaee6ee76cdaa3b97d49feacb0c40e2ff7ac44db38dd2ef4fd65b25bdc4450d95c20559b1a9cb3f87e9f7916568ef7fdea631685 SHA512 63f68c2fec1608082b5e1892b7f0cfadbd9e7c2ccacf681e2e596d020d15dbd8dd95bbff353cf7e987dc9a2638b498594b42c36b366ba9bc8cdf5795f38b23fe EBUILD libva-intel-media-driver-24.3.4.ebuild 1512 BLAKE2B fbcaa3d74924d108719352a39e427cf67ac308f16c2241b72075651beebfb1a6b121c96f9c4e3866a5ebd5cbdafeee42f1cfa2cb01f76516bf86326133c99e67 SHA512 c24ac146c9bbd37b715697adfba21a486f3887197dde0d5bbd5362acdeddf88a540492b1d60720c96b3461da03b56b9b7de372f515b48898291f69b371ebbff0 +EBUILD libva-intel-media-driver-24.4.2.ebuild 1512 BLAKE2B f1b378ac51d69df8397517fe2d7429a93ff5e437748118686b9c2ad7c80d729093904569ae7ae1c2912c3a877525f21e59b6c3d518bf5effe431dc48dc4df9f8 SHA512 0f0eafab51e79227278db7286a8591c4e856f233336455299fdf4ef9542b69f3b32d50d4e0d260598d3a912a079aa8ed51b095c9e2c7683f2e0f5820c4937ece EBUILD libva-intel-media-driver-9999.ebuild 1513 BLAKE2B 12f5e2300d3fc0560a6bdbf73d15c3fe54eb71973912c93b089ad6700741f5dd2e180751d75c9f487462d3dd8ded18565c9268f1ed01118d0a8ddae2d2d345db SHA512 51fe6b32460a5d35466aceea3cdee22438bb0d4d2ecb1ea292158c4bf03db0c0e65d5333b1b228a0a92c8660b4e948559c761d240bcd00f5cd8636413d969c1a MISC metadata.xml 565 BLAKE2B e630d474342839898d53aef1849b002ef651c9f4fe3bfcfe72e809012e6c65153b1a6c14db922a45440ffd5717b90dddd6973185f8a625906e9d5571e50728d9 SHA512 22227f8a9cc39fff74f0bf2cdc8953f110e94ce0ab107076269d604c3cf8ae46c8496c9bcf47598e351cb9714e427f213ade5e446a5e8c67acfc87db5530b370 diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.2.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.2.ebuild new file mode 100644 index 000000000000..42f6583e9710 --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib flag-o-matic + +if [[ ${PV} == *9999 ]] ; then + : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +else + MY_PV="${PV%_pre}" + SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${MY_PV}" + if [[ ${PV} != *_pre* ]] ; then + KEYWORDS="~amd64" + fi +fi + +DESCRIPTION="Intel Media Driver for VA-API (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD redistributable? ( no-source-code )" +SLOT="0" +IUSE="+redistributable test X" + +RESTRICT="!test? ( test )" + +DEPEND=">=media-libs/gmmlib-22.5.0:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.22.0[X?,${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-23.3.4-Remove-unwanted-CFLAGS.patch + "${FILESDIR}"/${PN}-23.3.4_testing_in_src_test.patch +) + +multilib_src_configure() { + # https://github.com/intel/media-driver/issues/356 + append-cxxflags -D_FILE_OFFSET_BITS=64 + + local mycmakeargs=( + -DMEDIA_BUILD_FATAL_WARNINGS=OFF + -DMEDIA_RUN_TEST_SUITE=$(usex test) + -DBUILD_TYPE=Release + -DPLATFORM=linux + -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) + -DENABLE_NONFREE_KERNELS=$(usex redistributable) + -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now + ) + local CMAKE_BUILD_TYPE="Release" + cmake_src_configure +} diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index 98591a2e5b16..071c31f9e559 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -31,6 +31,6 @@ DIST opencv_contrib-4.10.0.tar.gz 55387316 BLAKE2B 5d6f884817b6d45b86833fcab1e31 DIST opencv_contrib-4.9.0.tar.gz 59803362 BLAKE2B e6b90e9bd462f96ef010490d45105d7125622d6c49912653c0d387568ae7109b1cbcac4cc0f52c1f997a45ed75923caea90bf4ad9336e689a56742b029789038 SHA512 ebaee3b88bd7ae246727e65a98d9fbc1d9772a4181a1926f3af742410b78dc87d2386bcd96ac67d7fb1a3020c3717a2cdebdcf9304d6dfd9ea494004791cf043 DIST opencv_extra-4.10.0.tar.gz 504349887 BLAKE2B 6e76860beb95cf00698980a19cfd2894e5bfe0d477d94352cbb2ff98688acbc1c404953cbc3baa95453588e7b9063175a067f24006c5d2719a6c75d15f2ef891 SHA512 1a581dad61bc1e5075af5afed2dd3d67793232a9e1219408448d08c518ae714cf0c4d5fec2c25791351a49a0d265fe051ea142b2170f82843e19e82f65abc8c6 DIST opencv_extra-4.9.0.tar.gz 502141517 BLAKE2B ed7351f29c6fb80d56d5ef383af68322fa805c7689132f7ca9bb43c9a1319c5876ce6d5c40d583c955eb255dd82b876c94ed42625cd71b13830ec94b2cc75dc2 SHA512 f05c1eaed491d15107c858af5b33d0d5856070dcb6f94491ba33a172b2f0caf34905eb5d1787e1247bc888626478647fce0db7f3ccbc6d6faba0ee43fd6b6bfa -EBUILD opencv-4.10.0.ebuild 43018 BLAKE2B 4ce9ffe0eb35067d65bdb67b4418c7e2c68509d12eef121bd22d61ed9386ace3987f3bbb40a7939d922c722b192022b94fcc7829270082cc6a217fe2b5ba1d86 SHA512 f231ca3339184935c09e15bfd071caab69fc7241e9193e433358d2c5e1c60bee8a61a39c7840376c10b93a2786c9de3fab995dfddddcc5ff02ec637360cc31b0 -EBUILD opencv-4.9.0-r2.ebuild 35017 BLAKE2B 841ae35a9a3b47a6d2ec7391f006fc8ae66ecdcd60e06a6e403efe3e9cb10b9f84ca50c299e152c2b1049fb3c9dc636deebfc3a8221f44a6aa00a5ef7b223175 SHA512 fe00ee7cfc840716aa2555c7da8f57230fcd2175db2c6b3051444304e906f73d36c3050694d145b74c1f5b96835f10164ad829d322ed5c402afff585e5e75ffc +EBUILD opencv-4.10.0.ebuild 43066 BLAKE2B 4b74dc6fe689664807d20ca681f27076e5a84ce0be2b2549088b74c37173a720b1908b4e6a0afcfefeee7eb5f2931094962e5cade920258eedd26c5ae4e4f435 SHA512 c2622a81820061b4c7efd5e38659f3ccae7673ed581e877fee4e5fcf0b13df66454c470f7eac52eea1eea854ef873c2d44109bc852311fdd9890db4b87fd23bd +EBUILD opencv-4.9.0-r2.ebuild 35016 BLAKE2B 2f355e13f1a13e8d6b039ac8dea37fae80e3a6b3464406a668d809cbadb046b34afa022240fdfe474106543e28686b7b8746a391e06807bf8656ee0cdb657ae9 SHA512 f65508a457c94c903b045384f6afe23ee3730cd92321d959c51525a7e9e2c5b18b48a5c5d1c7fec3621af5d5aad28c09ad31311a46504a6ed340bb39bc15ce9a MISC metadata.xml 3921 BLAKE2B 92f38794e008f13866e797ab3eeb3dbeffbba81412523f9c9590d3768e046565f651cf0c0b223c1a8b04a9ba38732dfecfeebc79b75a7c722af20cab03e22bd3 SHA512 088ea0cbfab7cdd3fa53fa1fd1907487e785159b5d443e4258a0470123587554c57eb4fb4cbebbb6fe610c03b002c5c45c1758f85ca699d6df97872a6e826e35 diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild index ea1242c5e0b7..34bfb33194a0 100644 --- a/media-libs/opencv/opencv-4.10.0.ebuild +++ b/media-libs/opencv/opencv-4.10.0.ebuild @@ -305,6 +305,7 @@ RDEPEND=" unset COMMON_DEPEND BDEPEND=" + dev-util/patchelf virtual/pkgconfig cuda? ( dev-util/nvidia-cuda-toolkit:= ) doc? ( @@ -458,7 +459,7 @@ src_prepare() { cd "${WORKDIR}/${PN}_contrib-${PV}" || die eapply "${FILESDIR}/${PN}_contrib-4.8.1-rgbd.patch" eapply "${FILESDIR}/${PN}_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch" - if ver_test "$(nvcc --version | tail -n 1 | cut -d '_' -f 2- | cut -d '.' -f 1-2)" -ge 12.4; then + if type -P nvcc &> /dev/null && ver_test "$(nvcc --version | tail -n 1 | cut -d '_' -f 2- | cut -d '.' -f 1-2)" -ge 12.4; then eapply "${DISTDIR}/${PN}_contrib-4.10.0-3607.patch" eapply "${FILESDIR}/${PN}_contrib-4.10.0-CUDA-12.6-tuple_size.patch" # 3785 fi diff --git a/media-libs/opencv/opencv-4.9.0-r2.ebuild b/media-libs/opencv/opencv-4.9.0-r2.ebuild index 4a0fbf062b69..971d60f16ecb 100644 --- a/media-libs/opencv/opencv-4.9.0-r2.ebuild +++ b/media-libs/opencv/opencv-4.9.0-r2.ebuild @@ -218,7 +218,7 @@ COMMON_DEPEND=" ) ) quirc? ( media-libs/quirc ) - tesseract? ( app-text/tesseract[opencl(+)=,${MULTILIB_USEDEP}] ) + tesseract? ( app-text/tesseract[opencl(+),${MULTILIB_USEDEP}] ) tbb? ( dev-cpp/tbb:=[${MULTILIB_USEDEP}] ) tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] ) v4l? ( >=media-libs/libv4l-0.8.3[${MULTILIB_USEDEP}] ) |