diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
commit | 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf (patch) | |
tree | aa76c2f85f9c77c2f9a5af47ae0aa6509585770a /media-libs | |
parent | 280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (diff) |
gentoo auto-resync : 17:08:2023 - 09:31:54
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 68687 -> 68696 bytes | |||
-rw-r--r-- | media-libs/libuvc/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libuvc/libuvc-0.0.7.ebuild | 30 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 2 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.0.ebuild | 46 | ||||
-rw-r--r-- | media-libs/oneVPL/Manifest | 2 | ||||
-rw-r--r-- | media-libs/oneVPL/oneVPL-2023.3.1.ebuild | 82 |
7 files changed, 164 insertions, 0 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 5154ab24e7c0..739b0ae6117b 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/libuvc/Manifest b/media-libs/libuvc/Manifest index ba811b420ebf..add9236570ae 100644 --- a/media-libs/libuvc/Manifest +++ b/media-libs/libuvc/Manifest @@ -1,4 +1,6 @@ AUX libuvc-0.0.6-GNUInstallDirs.patch 1584 BLAKE2B cf4b7c747b1e4d2fb4ed54d7273aca710d9486c9f9348f104ca5ea6c4f2c4ecc7552fa4de2cbda7f64dd41f5d6526d83206f3cc45552c72a2b15be965f19cb3d SHA512 5f7dac19c337708385836a881837832cc1896aec424ef6ee9db1ef5c0f38815bbb75ea07bb29b24d8992686a4000e642cbc55aa72c7e38e48c2e92ac4fc64b14 DIST libuvc-0.0.6.tar.gz 95598 BLAKE2B 8c317068629512a699536d218401a4ab05925e43bb867ddd0c1b3c06f5b26e0291ad4c486a04f16f76ee03cf5d576b7387d4bde726acf105f7297372ec14b1ac SHA512 d8e52f5d062d2b4561562c9dc017d7f8d9d6734c4284e54b7bc58f9fc968cc8aec51dde938e8911a5c71d0c49fca4478c2fe08c9b7041d4fa26d7c6e1e653f1e +DIST libuvc-0.0.7.tar.gz 104376 BLAKE2B b49ed70fed0329dec1672e620dc8fef9e8de9f4d4da034028df9d1ac04d01893736a20c58a742357e1e905d21fb1bef65d1e389462fe8513a1a3b54a6a72df72 SHA512 cf2c0a6cc04717f284f25bed17f178a4b2b2a2bb3e5937e50be144e88db2c481c5ea763c164fe0234834fea4837f96fcc13bdbdafd4610d2985943562dfcc72f EBUILD libuvc-0.0.6-r2.ebuild 679 BLAKE2B f0022d44d61476528673970b2fc1bd85a8f9683f6351f71099efc26c7c2c453922a072a094a033e3886e2f03b4d2f524f53b0d488bab69a445266972bee85281 SHA512 27404bc76d36de06f3b54e94f0ab9cee421af5404515376a40d1f086146dd69751651d061f1450da249fb68ba4189d134e97340a20f3193473360858ae3c333c +EBUILD libuvc-0.0.7.ebuild 630 BLAKE2B d2ca2c0f583b51c17821bdbc77fec29e5576f431583312fbc0ca92a57cfc078115cebe5233bbfe9825e282bc4babb99801189e661640cbfe9edfed1337405712 SHA512 72f86029cc626404a250cee37cd81053021d4dd18cb48cb72cd7fc2e02e933488a379236fb4e94fb51f75b0e4772ebc546326736f49b6e1312cca1d867b00c20 MISC metadata.xml 248 BLAKE2B 789699e1ae4cbc3d004898beaa7302ddc39d94d3a4f8b760e81021aa7eb60c00155e8f30c57ad93cae31ae009884f11fa3910f9d5febeeb69a43f8c8fb077860 SHA512 be8666b7e7822cb47a497a4d80bb4a7559992681605afe1f54f39be54634ff7b418025c83de81117e226e3721c46a78d1ec85bda13b55ba5c8fd2f6c8412ba62 diff --git a/media-libs/libuvc/libuvc-0.0.7.ebuild b/media-libs/libuvc/libuvc-0.0.7.ebuild new file mode 100644 index 000000000000..f3cd27e28aee --- /dev/null +++ b/media-libs/libuvc/libuvc-0.0.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A cross-platform library for USB video devices, built atop libusb" +HOMEPAGE="https://int80k.com/libuvc/" +SRC_URI="https://github.com/ktossell/libuvc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + media-libs/libjpeg-turbo + virtual/libusb:1 + virtual/udev" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( changelog.txt README.md ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_BUILD_TARGET=Shared + ) + cmake_src_configure +} diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 6cc83e8715c8..95569ac43019 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,5 +1,7 @@ DIST oneVPL-intel-gpu-23.2.2.tar.gz 6989173 BLAKE2B 5e0d65f320df1b7c7bba4524b51f525a71595a33e6954b0f74e1b913e0e001e55321c93c43d18dc915fc29ae4c73d408852d993084564e74ea85a75d0e959fa9 SHA512 d419519c2369444ad0daf4ff6f12ddd57e4ffb6dcba05f686490adff65c693db563d306ab9ce76fa9d21d3c4b1b01717d0a8a1d63f595d6ceb43c11657dde7af DIST oneVPL-intel-gpu-23.2.3.tar.gz 6989464 BLAKE2B 3e58be00fec9c7c8bb296e79a8910035b3423ce2baea73f3f9b96c7b88e9df37e86f6622a97f6cbe234495f54db2b764edb5bd088168abb6e9b47f041b3f991a SHA512 45039f16116053ab4d7b0b2081f267187105ce728c15236b90b835e1f70f97c3d2905b04b42d5b7ea2147ad4a305e15c705935a93a3252afc57bafc865e425c2 +DIST oneVPL-intel-gpu-23.3.0.tar.gz 9025885 BLAKE2B 64346c71ddf24401445522390558ec8c0b354e2f609d45bd8528336b7be9199b0547076b326e5900caf2743349d04447e9c05025055a043fa34e0da6883974da SHA512 3fc4ebc0f1faade624e221e399716fa62b5e4baba4b134a7bb65e47812ee3cca64e1d1f3def3139f0aaa9bae35de3c44aaeb061a44c466af9268e12a5aa21a80 EBUILD oneVPL-intel-gpu-23.2.2.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 EBUILD oneVPL-intel-gpu-23.2.3.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 +EBUILD oneVPL-intel-gpu-23.3.0.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 MISC metadata.xml 434 BLAKE2B f5f6ea2e0ebac9ba06ebdb2a8469e99171f25ad08d8e992695e7d189f5c3f8fb3e966d710fe02cbd1f590f2137e265d9bf5014f0d9e7a492574b526360d70133 SHA512 713bf6044fd4d5606568af248dc0adf1a93c5917fb7d6d79c7a033a5b52a0164769b02086caa0a4492979c586511b5a4d7b85fe603ffe80d4884786e05dc520e diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.0.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.0.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="oneAPI Video Processing Library Intel GPU implementation" +HOMEPAGE="https://github.com/oneapi-src/oneVPL-intel-gpu" +SRC_URI="https://github.com/oneapi-src/oneVPL-intel-gpu/archive/refs/tags/intel-onevpl-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-intel-onevpl-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + media-libs/libva + x11-libs/libdrm[video_cards_intel] +" +# At runtime we need a dispatcher, oneVPL is preferred but mediasdk also works +RDEPEND="${DEPEND} + >=media-libs/libva-intel-media-driver-${PV} + || ( + media-libs/oneVPL[drm,vaapi] + media-libs/intel-mediasdk + ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DBUILD_RUNTIME=ON + # To build the kernels we need to package the cm-compiler, use pre-built instead + -DBUILD_KERNELS=OFF + -DBUILD_TESTS="$(usex test)" + # This only seems to do something if we BUILD_KERNELS=ON + #-DBUILD_TOOLS="$(usex tools)" + # OpenCL only has an effect if we build kernels + -DENABLE_OPENCL=OFF + ) + cmake_src_configure +} diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest index 31c4d3dd0329..251fadee82f7 100644 --- a/media-libs/oneVPL/Manifest +++ b/media-libs/oneVPL/Manifest @@ -1,5 +1,7 @@ DIST oneVPL-2023.2.1.tar.gz 6315268 BLAKE2B f5b5609c27f5f2eddd4533480e053bd6868eab736b88fca5b061311374d8a4f2cadec100ad313b8a062604c6b38848d33a26a775524c250dbef7e2930204d82f SHA512 333df9fc58b9d1d0c832241420321f8cbc84d722d1453f24b7f1990ae1e3065b103940d88f84d7d339b527c4cf5fe6e72c6eaa0b2c736d1b980e09228093f279 DIST oneVPL-2023.3.0.tar.gz 6310097 BLAKE2B 09d63cbed73a93727f770306ca4ee4b6418f87ffe2d0d6f53988569028ad8dba4226e5a4d19dedc4b5e10f037a798683e74acd456469413c9f7161c30bb5b010 SHA512 2f3b8f6b3bb26df062bf7e962ae45eb11f5a60d24f7a69e653e7afc9c0c7960b1c708a2d1c5bf18ad5e2981b01f877a08be2c7513bfc30b62574cd932ea9549b +DIST oneVPL-2023.3.1.tar.gz 6322962 BLAKE2B 3e688886d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c SHA512 1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed EBUILD oneVPL-2023.2.1.ebuild 2291 BLAKE2B 7626732399eaa222ca9b8067d5a9e3f00e3e108ee5ee68482090bd9bd17e57cfa8c2b494ad618fd565232a814bf00f231e1b743134cc482a8e3c525b320a6035 SHA512 41eb1ab0d5da32801d3cbc0251131eb928a3f843e4f6f870b23a51cd41db3e57e8dcdecaf04e31221cef40755ba2aa8fa3d3ddcb830bd2374592c5d489e75fa3 EBUILD oneVPL-2023.3.0.ebuild 2291 BLAKE2B 7626732399eaa222ca9b8067d5a9e3f00e3e108ee5ee68482090bd9bd17e57cfa8c2b494ad618fd565232a814bf00f231e1b743134cc482a8e3c525b320a6035 SHA512 41eb1ab0d5da32801d3cbc0251131eb928a3f843e4f6f870b23a51cd41db3e57e8dcdecaf04e31221cef40755ba2aa8fa3d3ddcb830bd2374592c5d489e75fa3 +EBUILD oneVPL-2023.3.1.ebuild 2291 BLAKE2B 7626732399eaa222ca9b8067d5a9e3f00e3e108ee5ee68482090bd9bd17e57cfa8c2b494ad618fd565232a814bf00f231e1b743134cc482a8e3c525b320a6035 SHA512 41eb1ab0d5da32801d3cbc0251131eb928a3f843e4f6f870b23a51cd41db3e57e8dcdecaf04e31221cef40755ba2aa8fa3d3ddcb830bd2374592c5d489e75fa3 MISC metadata.xml 633 BLAKE2B b53305f7c1127190352b5ba25b43411455eba014b85a2305abe07571c2d95c6e1a60b1f1872895b94b7e6292178966c5b3733d7c8b5b9d1c16925f153d60e00d SHA512 a1dcf8c3fe13311bd81d48c3afd76de850b7fc395ae89e2f5973811525e56e69c12de2c83ce8e25971ab4330ed80ba4794051e5826c271f62b86116bc520d81a diff --git a/media-libs/oneVPL/oneVPL-2023.3.1.ebuild b/media-libs/oneVPL/oneVPL-2023.3.1.ebuild new file mode 100644 index 000000000000..0758b6389a95 --- /dev/null +++ b/media-libs/oneVPL/oneVPL-2023.3.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib optfeature + +DESCRIPTION="oneAPI Video Processing Library, dispatcher, tools, and examples" +HOMEPAGE="https://github.com/oneapi-src/oneVPL" +SRC_URI="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="dri drm examples experimental tools test vaapi wayland X" +RESTRICT="!test? ( test )" +# Tools fails to compile on 32-bit +REQUIRED_USE=" + dri? ( X drm ) + X? ( vaapi ) + wayland? ( drm ) + abi_x86_32? ( !tools ) + abi_x86_x32? ( !tools ) +" + +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] + vaapi? ( media-libs/libva[X?,wayland?,drm(+)?,${MULTILIB_USEDEP}] ) + drm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] ) + wayland? ( + dev-libs/wayland[${MULTILIB_USEDEP}] + ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND} + wayland? ( + dev-libs/wayland-protocols + ) +" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_DISPATCHER=ON + # Headers, cmake and pkgconfig files + -DBUILD_DEV=ON + -DBUILD_EXAMPLES="$(usex examples)" + -DINSTALL_EXAMPLE_CODE="$(usex examples)" + -DBUILD_PREVIEW="$(usex experimental)" + -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL="$(usex experimental)" + # Fails to build with experimental tools off if tools on + -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL="$(usex tools)" + -DBUILD_TESTS="$(usex test)" + -DBUILD_TOOLS="$(usex tools)" + -DENABLE_WAYLAND="$(usex wayland)" + -DENABLE_X11="$(usex X)" + -DENABLE_DRI3="$(usex dri)" + -DENABLE_VA="$(usex vaapi)" + -DENABLE_DRM="$(usex drm)" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + ) + cmake_src_configure +} + +multilib_src_install() { + cmake_src_install + # Remove these license files + rm -r "${ED}/usr/share/vpl/licensing" || die +} + +pkg_postinst() { + optfeature_header "This package provides only the dispatcher, to use it install one or more implementations" + optfeature "CPUs" media-libs/oneVPL-cpu + optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu + optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk +} |