diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 68061 -> 68082 bytes | |||
-rw-r--r-- | media-libs/embree/Manifest | 3 | ||||
-rw-r--r-- | media-libs/embree/embree-3.13.5.ebuild | 134 | ||||
-rw-r--r-- | media-libs/embree/files/embree-3.13.5-fix-openimageio-test.patch | 71 | ||||
-rw-r--r-- | media-libs/fontconfig/Manifest | 2 | ||||
-rw-r--r-- | media-libs/fontconfig/metadata.xml | 1 | ||||
-rw-r--r-- | media-libs/freetype/Manifest | 2 | ||||
-rw-r--r-- | media-libs/freetype/metadata.xml | 1 | ||||
-rw-r--r-- | media-libs/libffado/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libffado/libffado-2.4.7.ebuild | 2 | ||||
-rw-r--r-- | media-libs/libxtract/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libxtract/libxtract-0.6.6.ebuild | 4 | ||||
-rw-r--r-- | media-libs/osl/Manifest | 2 | ||||
-rw-r--r-- | media-libs/osl/osl-1.12.11.0.ebuild | 106 |
14 files changed, 325 insertions, 7 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex baa5e51238d8..d877f613de9f 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest index b3a375997d3c..6ca7ca0e6f92 100644 --- a/media-libs/embree/Manifest +++ b/media-libs/embree/Manifest @@ -1,4 +1,7 @@ AUX embree-3.13.4-fix-openimageio-test.patch 4663 BLAKE2B 2b6a5422f51977317c1149673bc8624f56d363d8362f2d3678c86e661d1f9eb6a2319df241d736a0da8e586d86fa6ff524c3fc98fe564f511551efe756b80d7c SHA512 b3b414f8068af8f45ceca91653b9e8cd2f06cfd7cafbd25a9b97ac6e3f30a27f22bbb121be34ee154e9910d3668f798d226199a843316762486ae85685a2ee9d +AUX embree-3.13.5-fix-openimageio-test.patch 4526 BLAKE2B c1560a8122df45ad860ac9d19108cdc4920ab2e4d06c6ba968d6c43e88e4c6d47c26a463abf0f21db8290572172b6448b4ec579b6df9875b4e55688191cfed13 SHA512 f40d3cbcd62f16aea89e3d1873dccf020a2aa07679f5f99ae47f3fcc9e66dab9f2422c713a8cbc39dd1c09a2a838e3dbb4b859c785f503a154eee4cc244a3cc8 DIST embree-3.13.4.tar.gz 13733908 BLAKE2B 4c6c24f62ee88a09149bd930716c71e91d54563eea5cc103c0346d3808c693e8470fc7ea98651e0df9e4423bda565d7ab1a23e16c9d0441c79e9ec9c8571b0fa SHA512 685c3935fabe1bfa7260ef148df26b686b085b75011d72011461471cbcef786a5ce7a0e85c57b2df05798489a2d4e80a8d3ee5df986029edad7df7511d99c0ca +DIST embree-3.13.5.tar.gz 13739115 BLAKE2B 52ad8e3520aa789f7987467c6979be06f883803757e842316ecf708deeed11214dd60570eda5708e701047b1a14ea37710d158df544817dc536bfda444a68218 SHA512 13ae19b1750197fb4887ba601c75d1b54b3c388224672b6561dd922bc9b9747139cf46ce554727e3afa13dcf152ce4d703935cb9105ced792b011f2d05fa3e95 EBUILD embree-3.13.4.ebuild 3739 BLAKE2B 329e06999f84678b02a2bee9476e737a21b69a77bb409a8517131df1c784c3dd1f21905c0a035f3749e5d535f54625ae351a0204fa8e46a7e93f899a597806ff SHA512 2c4f0b25a0f50106506dfe799239504bcb31233318c9d34ec409edc3a8a34387d3f11b30218ddbd6cc88ff80f5203e56f182ad29b606f6a9673816daddc7a217 +EBUILD embree-3.13.5.ebuild 3740 BLAKE2B 1132437172f41d2bd08c871067559e3e8943feebd780f7810b51970a46decdf0bcdeeb901c3a3b2d4112fe766e77dfb2a1e6432bfe66ed5855f7910fbb81b2c3 SHA512 927aec0f390a00cb772af279ffa0f5c45e9565ce4292f4eb7d2ba34c0db611a8658b3974bf0232749e29aa98c6d28817e1f3e2f9638319e537e024b2f8d4178e MISC metadata.xml 1705 BLAKE2B 2785c8b8752e5730e014ce6edfdd1702a20565ab12c9ebee14c3cf603e267a63360eaa0428afb9e178091edad40fe82ea55e2a872339da744113e480b4eda6c2 SHA512 ebfa1a6d3f8a8fe6acc0cc06f54ad62efb86942b55e985542a049fde421663adddcffe2a78c7309774df9bbc714a2bb11dad73c94b89bf2d1cdf56b69d334f59 diff --git a/media-libs/embree/embree-3.13.5.ebuild b/media-libs/embree/embree-3.13.5.ebuild new file mode 100644 index 000000000000..7b1ffb2691e9 --- /dev/null +++ b/media-libs/embree/embree-3.13.5.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic linux-info + +DESCRIPTION="Collection of high-performance ray tracing kernels" +HOMEPAGE="https://github.com/embree/embree" +SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq ) +CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) +IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}" +# Let's be explicit here even though we could simplify it. +REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) + x86? ( cpu_flags_x86_sse2 )" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + >=media-libs/glfw-3.2.1 + virtual/opengl + ispc? ( dev-lang/ispc ) + tbb? ( dev-cpp/tbb:= ) + tutorial? ( + media-libs/libjpeg-turbo + >=media-libs/libpng-1.6.34:0= + >=media-libs/openimageio-1.8.7:0= + ) +" +DEPEND="${RDEPEND}" + +DOCS=( CHANGELOG.md README.md readme.pdf ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.13.5-fix-openimageio-test.patch +) + +pkg_setup() { + CONFIG_CHECK="~TRANSPARENT_HUGEPAGE" + WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance." + + linux-info_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + # disable RPM package building + sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \ + -i CMakeLists.txt || die +} + +src_configure() { + # NOTE: You can make embree accept custom CXXFLAGS by turning off + # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use + # any "m*" compile flags. This is because embree builds modules for the + # different supported ISAs and picks the correct one at runtime. + # "m*" will pull in cpu instructions that shouldn't be in specific modules + # and it fails to link properly. + # https://github.com/embree/embree/issues/115 + + filter-flags -m* + + local mycmakeargs=( + # Currently Intel only host their test files on their internal network. + # So it seems like users can't easily get a hold of these and do + # regression testing on their own. + -DBUILD_TESTING:BOOL=OFF + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON + + # default + -DEMBREE_BACKFACE_CULLING=OFF + -DEMBREE_COMPACT_POLYS=$(usex compact-polys) + + # default + -DEMBREE_FILTER_FUNCTION=ON + # default + -DEMBREE_GEOMETRY_CURVE=ON + # default + -DEMBREE_GEOMETRY_GRID=ON + # default + -DEMBREE_GEOMETRY_INSTANCE=ON + # default + -DEMBREE_GEOMETRY_POINT=ON + # default + -DEMBREE_GEOMETRY_QUAD=ON + # default + -DEMBREE_GEOMETRY_SUBDIVISION=ON + # default + -DEMBREE_GEOMETRY_TRIANGLE=ON + # default + -DEMBREE_GEOMETRY_USER=ON + # default + -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF + # default + -DEMBREE_IGNORE_INVALID_RAYS=OFF + + # Set to NONE so we can manually switch on ISAs below + -DEMBREE_MAX_ISA:STRING="NONE" + -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx) + -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2) + -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq) + -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon) + -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2) + -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2) + -DEMBREE_ISPC_SUPPORT=$(usex ispc) + -DEMBREE_RAY_MASK=$(usex raymask) + # default + -DEMBREE_RAY_PACKETS=ON + -DEMBREE_STACK_PROTECTOR=$(usex ssp) + -DEMBREE_STATIC_LIB=OFF + -DEMBREE_STAT_COUNTERS=OFF + -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL") + -DEMBREE_TUTORIALS=$(usex tutorial)) + + # Disable asserts + append-cppflags -DNDEBUG + + if use tutorial; then + mycmakeargs+=( + -DEMBREE_TUTORIALS_LIBJPEG=ON + -DEMBREE_TUTORIALS_LIBPNG=ON + -DEMBREE_TUTORIALS_OPENIMAGEIO=ON + ) + fi + + cmake_src_configure +} diff --git a/media-libs/embree/files/embree-3.13.5-fix-openimageio-test.patch b/media-libs/embree/files/embree-3.13.5-fix-openimageio-test.patch new file mode 100644 index 000000000000..b5763e8c5dda --- /dev/null +++ b/media-libs/embree/files/embree-3.13.5-fix-openimageio-test.patch @@ -0,0 +1,71 @@ +diff --git a/common/cmake/FindOpenImageIO.cmake b/common/cmake/FindOpenImageIO.cmake +index 086b91183..5816f3bc5 100644 +--- a/common/cmake/FindOpenImageIO.cmake ++++ b/common/cmake/FindOpenImageIO.cmake +@@ -53,6 +53,7 @@ SET(OPENIMAGEIO_HINTS + ) + SET(OPENIMAGEIO_PATHS PATHS /usr/lib /usr/lib64 /lib /lib64) + FIND_LIBRARY(OPENIMAGEIO_LIBRARY OpenImageIO ${OPENIMAGEIO_HINTS} ${OPENIMAGEIO_PATHS}) ++FIND_LIBRARY(OPENIMAGEIO_UTIL_LIBRARY OpenImageIO_Util ${OPENIMAGEIO_HINTS} ${OPENIMAGEIO_PATHS}) + + SET(OPENIMAGEIO_ROOT_LAST ${OPENIMAGEIO_ROOT} CACHE INTERNAL "Last value of OPENIMAGEIO_ROOT to detect changes") + +@@ -68,8 +69,9 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenImageIO + + IF (OPENIMAGEIO_FOUND) + SET(OPENIMAGEIO_INCLUDE_DIRS ${OPENIMAGEIO_INCLUDE_DIR}) +- SET(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARY}) ++ SET(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARY} ${OPENIMAGEIO_UTIL_LIBRARY}) + ENDIF() + + MARK_AS_ADVANCED(OPENIMAGEIO_INCLUDE_DIR) + MARK_AS_ADVANCED(OPENIMAGEIO_LIBRARY) ++MARK_AS_ADVANCED(OPENIMAGEIO_UTIL_LIBRARY) +diff --git a/common/cmake/clang.cmake b/common/cmake/clang.cmake +index 01480ac73..4380823ed 100644 +--- a/common/cmake/clang.cmake ++++ b/common/cmake/clang.cmake +@@ -86,7 +86,6 @@ ELSE() + ENDIF() + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # generate position independent code suitable for shared libraries + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") # generate position independent code suitable for shared libraries +- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # enables C++11 features + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") # makes all symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") # makes all inline symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") # disables strict aliasing rules +diff --git a/common/cmake/dpcpp.cmake b/common/cmake/dpcpp.cmake +index aecb35169..fcdfb4ce4 100644 +--- a/common/cmake/dpcpp.cmake ++++ b/common/cmake/dpcpp.cmake +@@ -83,7 +83,6 @@ ELSE() + ENDIF() + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # generate position independent code suitable for shared libraries + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") # generate position independent code suitable for shared libraries +- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # enables C++11 features + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") # makes all symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") # makes all inline symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") # disables strict aliasing rules +diff --git a/common/cmake/gnu.cmake b/common/cmake/gnu.cmake +index 1b2682d9e..cb96ecb64 100644 +--- a/common/cmake/gnu.cmake ++++ b/common/cmake/gnu.cmake +@@ -44,7 +44,6 @@ IF (NOT APPLE) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") # generate position independent code suitable for shared libraries + ENDIF() + +-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # enables C++11 features + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") # makes all symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") # makes all inline symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") # disables strict aliasing rules +diff --git a/common/cmake/intel.cmake b/common/cmake/intel.cmake +index 2c8e86e6c..abdffba90 100644 +--- a/common/cmake/intel.cmake ++++ b/common/cmake/intel.cmake +@@ -120,7 +120,6 @@ ELSE() + ENDIF() + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # generate position independent code suitable for shared libraries + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") # generate position independent code suitable for shared libraries +- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # enables C++11 features + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") # makes all symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") # makes all inline symbols hidden by default + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-ansi-alias") # disables strict aliasing rules diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest index 8a025e94a7c4..bcc3de1ca580 100644 --- a/media-libs/fontconfig/Manifest +++ b/media-libs/fontconfig/Manifest @@ -10,4 +10,4 @@ EBUILD fontconfig-2.14.0-r1.ebuild 6742 BLAKE2B 27a4b527cadce296d9e221c395cacc4a EBUILD fontconfig-2.14.1-r1.ebuild 6669 BLAKE2B 15edcc9a23bf962f2de32be9afd712c846859bcd5969155f8d739d91e409f0ca0f540c0a9708d01053c13ad3512b6f64bbeef01a1f8c19167bbebf03f68fdc50 SHA512 28c1238f9128b0d058e92dcb749fcda4ff0b873b7e3c48c13da548a264202170a2d05e1150d555d2437ff9252b60ca0e41d7f1e3d7c4461e732d9d688a5d9548 EBUILD fontconfig-2.14.2-r2.ebuild 7185 BLAKE2B 5fb469d21eea54e6b5f03eccc56f2328e58d741d02f536fcef10641b4741a04d30e4169adb59c08123a08c13b99bc05272000ee723608c2e9384ed6beab916e6 SHA512 74405e5cf62d20901909b274102613a556713f42c56277c7cc850acbc29e0ac77c53eddfb435fd752e34e978d71770ac29ccddd932615d1c6aa9b7de6bc57825 EBUILD fontconfig-2.14.2.ebuild 6575 BLAKE2B 4fcaba1dd4d5a643a4b6e83080bf108667da2cb000581f05da4f4f1a0b6596c3571205002533992ddb02b3443435798dc30d7533e7f9ab6c259fe516e4f3f9c5 SHA512 6c138bfb68062dfd8737b949b21afacdc1a1abf0f2df99c0ef1d9ada970c5591c9a66164e5d9d3de8ed0c31c4484640595f1381eb6e49a2ffd9fae68bec7980a -MISC metadata.xml 599 BLAKE2B c83a7da35bf49bd9bdbcc0adbeed83781250873abf67a927a63fbeb76c4013582cc2363068380b95cb021368bbc0ce92e4dc101f75eb6e3405f07a14d6dc97c3 SHA512 9cc70ac770d70ceef0a24acea4089a949456e229242a2f33f35230505cfa7dc5d20fbf1f2b066c6a1bae53013db6dbabbd22304a3f2a358ec43b6843b22e0a66 +MISC metadata.xml 672 BLAKE2B d23112b5d408aed97ad68bc9a141a570c22fd6bbf0022e979b7006817ae27bcba21be43558cb42df06f3c280cbed5570c62805bb69be8a64b1f41bd90b200bc0 SHA512 1ff9c1f22b9766127692eec4824ce966f7a7305ddfae0dd1d8b0e5b432926508dd7a898eada6c182e02c985e11c2f9a22f13eac195333ed32952af0e89015e9a diff --git a/media-libs/fontconfig/metadata.xml b/media-libs/fontconfig/metadata.xml index 9d47487ee8ab..e01b392843dd 100644 --- a/media-libs/fontconfig/metadata.xml +++ b/media-libs/fontconfig/metadata.xml @@ -8,5 +8,6 @@ <longdescription>Fontconfig is a font configuration and customization library, which does not depend on the X Window System. It is designed to locate fonts within the system and select them according to requirements specified by applications.</longdescription> <upstream> <remote-id type="cpe">cpe:/a:fontconfig_project:fontconfig</remote-id> + <remote-id type="freedesktop-gitlab">fontconfig/fontconfig</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/freetype/Manifest b/media-libs/freetype/Manifest index 0380775dd0e1..5938d0f323a1 100644 --- a/media-libs/freetype/Manifest +++ b/media-libs/freetype/Manifest @@ -9,4 +9,4 @@ EBUILD freetype-2.12.1-r1.ebuild 7496 BLAKE2B fcc0d3e6f1653833dd198ef64b8963209b EBUILD freetype-2.12.1-r2.ebuild 7548 BLAKE2B ef9e1da55f4f3d104bf19c60889d3339091a9044dc531a06c073ab9721f9740c403c1bebeef4b72ae5e6b4886679ea0a85a0c39757878c42db1609844b89c179 SHA512 52c837f72616ebb22edcc224f5c28b8222ea2db344d4605fb80ba1dea9366a31c8f2712520be062a84dea91ccfe271223d3026cac341642a79ae65402f8f78cb EBUILD freetype-2.13.0.ebuild 7481 BLAKE2B b81b6aa04a44d6be5f21fdc2219cc4103ba10f503c07edcc448d1746a3bdb3ce3eb045e22513f37a2be5acd1c7464fbde36175ba5cd0d079fca8b13914f5f12b SHA512 b75cae9195bb8187d4d63cce410fc13ad09ca8ec08cc4d274f3a7f9bb072438e032a48a21e18edf43949579a5d304095f8cc710734e49877519164de81e31e56 EBUILD freetype-9999.ebuild 7489 BLAKE2B e95ed8a66be0b20ce00f8d226b888b1426e50c800fd66877e2d02b6b12e142ba6d0b58971b76b112a31897ded6b0ebbaa586b577d208e576825d89bfd50483b1 SHA512 6b3a761ccdbe54b1355287572d17465be7275a846c75aef4bbe31800de039cfc48e1b5a5c7da58510e1055b496e49d55fdfffb7d93915f8e801c7c204db986b9 -MISC metadata.xml 1306 BLAKE2B db0f9487a62f002883a1850bbf90f5df4007215ce432440023a9c637ec79333576db4ebe4d3275f088a9225848eb508ef1b409c4c67ade051663d822ad5cb9ec SHA512 464c6f6810572f9f9194adba7b85ed8dfbe1c1b3dccafd5370fb555547b7a708768e2f302baa437cd5ab06a9da34a00d5aec7a48bc2903b24b8dab9f42aaa493 +MISC metadata.xml 1375 BLAKE2B 2ac56e19982dfb2f1379303f0669e242e922b53372de015d21054b232942d53826bab4f4c2565ce3054e554992d461c23ccee9349b7c2033ee21e6f39c51f622 SHA512 4d86374e7c22e60bd14f56d9d93d38af5b21f1e082609a5b295d6672c7c1e633f50cee8ba277003b9348c3f240ba6c61e1acbb126f3ce1f3b08b0d415d6f6a84 diff --git a/media-libs/freetype/metadata.xml b/media-libs/freetype/metadata.xml index f20262b2294c..75daee30883a 100644 --- a/media-libs/freetype/metadata.xml +++ b/media-libs/freetype/metadata.xml @@ -24,5 +24,6 @@ <remote-id type="cpe">cpe:/a:freetype:freetype</remote-id> <remote-id type="github">freetype/freetype</remote-id> <remote-id type="sourceforge">freetype</remote-id> + <remote-id type="freedesktop-gitlab">FreeType/FreeType</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest index b0e06c1cf346..b237ff25d1bb 100644 --- a/media-libs/libffado/Manifest +++ b/media-libs/libffado/Manifest @@ -1,4 +1,4 @@ AUX libffado-2.4.7-fix-config-load-crash.patch 728 BLAKE2B 066910a52b054d423abfc2656e5b9499be7b03499a74bd8df97b99b83d7c14c68e5728a4608b5082a53bd0f6d174ef645c461139018d0110cdfc2f8ad6111214 SHA512 7fedd5157bd3fae9cb70de02b5883a69caea0c0a2b80a3d86fe66d57743e127c281922afdfdfcb8cc14e492dafcf814a230d70dad8601168c615d9daf719cdd0 DIST libffado-2.4.7.tgz 1231931 BLAKE2B 3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51 SHA512 424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075 -EBUILD libffado-2.4.7.ebuild 2910 BLAKE2B 1d93bb853d06afb07dae92dfaab52b1ed8ab008e58b1d26e107baf98560a9edf82f763c0b91810eb52d27d14fcfaec31366622d4ee83c057f8afc9a2e2e46e6a SHA512 266fe77f563f5cd0b98bd3b679c9c482012b82e764bef29bc9002d72858ad26349a6c115934eed7cd53ee3ddc7d1a44503d36eb353c4bbcad866577a9266b4b3 +EBUILD libffado-2.4.7.ebuild 2910 BLAKE2B 7bc847ab06720a19a14c463b89b65eee94c01f8835a7cfd6ded5a289e59ea5b1f88a5d7588c3cac2a059f063d4d304d56ab7f702b314ca224d72e5b6f1e15561 SHA512 9dfc974c63b9f868ea477722f223732d15343c472e31a753d3a6a9f77382554cfe8bb726a195ba265cb38f1c5867f8cccd7dc7b468a684af05d757af30a7b1ac MISC metadata.xml 344 BLAKE2B a7d2c27caa7e9fa72716534c406145b94bd8a13eadf57d06ea8e3148339857311bd7e8f0434edbf8a70a5e7bfec1726425e1d16734841b056caeee7754471666 SHA512 30d31f76c73ff218fa34e5f9d442e2366082bf4697038c804c093cac0e22720341691b732bf653466f8e5fc7e734c11b08a02cef7dd2a4bd93635968e2c29447 diff --git a/media-libs/libffado/libffado-2.4.7.ebuild b/media-libs/libffado/libffado-2.4.7.ebuild index 969307f6bb3e..559b64032697 100644 --- a/media-libs/libffado/libffado-2.4.7.ebuild +++ b/media-libs/libffado/libffado-2.4.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit desktop python-single-r1 scons-utils toolchain-funcs udev multilib-minimal diff --git a/media-libs/libxtract/Manifest b/media-libs/libxtract/Manifest index 011508450aac..994c8dbb5a17 100644 --- a/media-libs/libxtract/Manifest +++ b/media-libs/libxtract/Manifest @@ -1,3 +1,3 @@ DIST libxtract-0.6.6.tar.gz 479376 BLAKE2B ffabe928a2db09de7ad4700c175ab6d9d54bf8d46b4a75210d53f80a4b145b39bba1443b4b8f6644a02be545b42b99071e05c8820e27adc89b35d67a13bbfd42 SHA512 67dc1ac227ffaf3b78b21d14598e6510016a985558b7242ae28d1be7aa4502e841f186eefa71958c4d989ec4ac395dd5659e611c4284969090a9948a5f99a0d5 -EBUILD libxtract-0.6.6.ebuild 826 BLAKE2B 7f3ac658517c424ba55a6a5c42b367dde4bc34c048721c687a39d706ea68b06429af9b4f81954d5b01bd8f71cf878d066ac702a3c87181b97d540a28c0ac2d61 SHA512 11adc7e98ecc58c8a79f4403711392b555cabed99828a493463fbf54f784a44a308539a54180513557dcec0deb712d67da2000921b1311849e558bf911b9f3dc +EBUILD libxtract-0.6.6.ebuild 790 BLAKE2B b04a49929f211f1e4d9253719022d1baafd200a1654ca2b2d97cb80facfb0d0ec74fa872b2ba6d320ebf45e6cb910c601dba6f6ec2e219563a38a34f028b0483 SHA512 f4cc519f46fd9490a5fbc0a9a6d786a4234d3e89da29e6274eacd84e4dce56e719420a57f05ba72ad73bbf8628fffd5a140a7b42655843257e14ceb45586c48f MISC metadata.xml 347 BLAKE2B bfd7ec230bd0e6be5612d08792713fa94709615abe4e5fd51e3a1598446e385582e2c007e181d2eacbdfa2924b526a050b10e2e344cbd2f229d0fc8b523ebd08 SHA512 a3474c507c9d3406c91a85839843708bdece311355b7bffdc5adeac1d2a183bec29ca43a5648a79f2cfb0611028d8c755739afc5bc304eac148b81025fadd380 diff --git a/media-libs/libxtract/libxtract-0.6.6.ebuild b/media-libs/libxtract/libxtract-0.6.6.ebuild index ff32f55c5132..96b09eebbcd1 100644 --- a/media-libs/libxtract/libxtract-0.6.6.ebuild +++ b/media-libs/libxtract/libxtract-0.6.6.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="A simple, portable, lightweight library of audio feature extraction functions" HOMEPAGE="https://github.com/jamiebullock/LibXtract" -SRC_URI="https://github.com/downloads/jamiebullock/LibXtract/${P}.tar.gz" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/media-libs/osl/Manifest b/media-libs/osl/Manifest index 68cdcbcaa180..0c9cec8ee181 100644 --- a/media-libs/osl/Manifest +++ b/media-libs/osl/Manifest @@ -1,3 +1,5 @@ +DIST osl-1.12.11.0.tar.gz 20287156 BLAKE2B 178db816980929cc61a0deea63f715a9f10adc41c6dd264bca8df451ef9531c4ee9477f6374f160b2a7d6fb72289a3edcbe5a3e8050ff2fdcc6bfe57fda58626 SHA512 9cf7b08f43e66d280cb90bf8c579f3a7d949934ac8e7a9289113a4a34158a43e32c9b73863f2a94a628ebc1a988923c3a7d32f0944745ae7c74dc164fdd5125e DIST osl-1.12.7.0.tar.gz 20250356 BLAKE2B a9398243546b1bfc1e3f9602f6112a72a8e7cb6ace54e93d0e5f30d943474e82c3317596597d6a09e0f2cf04b1b21f05c31a2357e3d667d710cd2aa340f5fd63 SHA512 ec0391dfc95140fee4fa8332991cdcb0978dafc436f3e07d0293e2baa2014b8765e6b60631ae5a8bbd6e16dbcf37f04c076d7d6b2d8bfa58b78471f0d92c433f +EBUILD osl-1.12.11.0.ebuild 2647 BLAKE2B 7f1146518b01c44f1b6ead4c04f9b37dbe6f34d2e9320b2ffaa096a422ce9861539ab86ce0a53fe887623333bd8f851524acef57696ac6abd51e69e8264d6b89 SHA512 428043d93eaf902e6c06d43c2cb84d1f4f7595d51d2819c994ebf0b697ba3ad08e7164e0e8d536dc8a1a9c6bf858761303e78c378fb823aa2f06225f1079eeda EBUILD osl-1.12.7.0.ebuild 2754 BLAKE2B e1f3b29ef30df3be0d33200856b763cebfb4901dfd0a9a3c06a4f689d9262f17f86aeb5093c85a55bcf4d4ba8313ab00a2487adc2c47c64f634db303a8984033 SHA512 8d9b6cdbd60b85b0306cd54c161253858f88e6ea9bbc26773d9b73386f06e3d314c67700421a82970a5ddda651dcb6f6dde4f3ca05046e39af3dd21d5cee7c82 MISC metadata.xml 841 BLAKE2B a2574fca1885067bed78159a9feee75f1118b1d335568a2cbdba347bf62a0b3f75a510bca271c4ee94ca5ce0bb15dcf9bb699cfe7a385f404047da9fef2dcdc3 SHA512 19afc8e4b777384b3421a1a82ff8ae34a05074e5c55010a500b17cfab4b4ae930cfb633c3bdb8013a8dcb9b82bad8fc7d684ef3e4a85352ce0c49bfb26079dce diff --git a/media-libs/osl/osl-1.12.11.0.ebuild b/media-libs/osl/osl-1.12.11.0.ebuild new file mode 100644 index 000000000000..d9c353880f22 --- /dev/null +++ b/media-libs/osl/osl-1.12.11.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +# Check this on updates +LLVM_MAX_SLOT=15 + +inherit cmake llvm toolchain-funcs python-single-r1 + +DESCRIPTION="Advanced shading language for production GI renderers" +HOMEPAGE="http://opensource.imageworks.com/?p=osl" +# If a development release, please don't keyword! +SRC_URI="https://github.com/imageworks/OpenShadingLanguage/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/OpenShadingLanguage-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +X86_CPU_FEATURES=( + sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2 + avx:avx avx2:avx2 avx512f:avx512f f16c:f16c +) +CPU_FEATURES=( ${X86_CPU_FEATURES[@]/#/cpu_flags_x86_} ) + +IUSE="doc partio qt5 test ${CPU_FEATURES[@]%:*} python" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-libs/boost:= + dev-libs/pugixml + >=media-libs/openexr-3:0= + >=media-libs/openimageio-2.3.12.0:= + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= + sys-libs/zlib:= + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pybind11[${PYTHON_USEDEP}] + ') + ) + partio? ( media-libs/partio ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + virtual/pkgconfig +" + +llvm_check_deps() { + has_version -r "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + + use python && python-single-r1_pkg_setup +} + +src_configure() { + local cpufeature + local mysimd=() + for cpufeature in "${CPU_FEATURES[@]}"; do + use "${cpufeature%:*}" && mysimd+=("${cpufeature#*:}") + done + + # If no CPU SIMDs were used, completely disable them + [[ -z ${mysimd} ]] && mysimd=("0") + + local gcc="$(tc-getCC)" + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DINSTALL_DOCS=$(usex doc) + -DUSE_CCACHE=OFF + -DLLVM_STATIC=OFF + -DOSL_BUILD_TESTS=$(usex test) + -DSTOP_ON_WARNING=OFF + -DUSE_PARTIO=$(usex partio) + -DUSE_QT=$(usex qt5) + -DUSE_PYTHON=$(usex python) + -DPYTHON_VERSION="${EPYTHON/python}" + -DUSE_SIMD="$(IFS=","; echo "${mysimd[*]}")" + ) + + cmake_src_configure +} + +src_test() { + # TODO: investigate failures + local myctestargs=( + -E "(osl-imageio|osl-imageio.opt|render-background|render-bumptest|render-mx-furnace-burley-diffuse|render-mx-furnace-sheen|render-mx-burley-diffuse|render-mx-conductor|render-mx-generalized-schlick|render-mx-generalized-schlick-glass|render-microfacet|render-oren-nayar|render-uv|render-veachmis|render-ward|render-raytypes.opt|color|color.opt|example-deformer)" + ) + + cmake_src_test +} |