From 9217a0cce81e89f5648599fcda4e549903c7b9bd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Feb 2023 15:45:01 +0000 Subject: gentoo auto-resync : 23:02:2023 - 15:45:01 --- media-libs/Manifest.gz | Bin 68220 -> 68219 bytes media-libs/oneVPL-cpu/Manifest | 4 +- media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild | 57 --------------- media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild | 57 +++++++++++++++ media-libs/oneVPL-intel-gpu/Manifest | 6 +- .../oneVPL-intel-gpu-22.6.3.ebuild | 46 ------------ .../oneVPL-intel-gpu-22.6.4.ebuild | 46 ------------ .../oneVPL-intel-gpu-22.6.5.ebuild | 46 ++++++++++++ media-libs/oneVPL/Manifest | 4 +- media-libs/oneVPL/oneVPL-2022.2.5.ebuild | 79 --------------------- media-libs/oneVPL/oneVPL-2023.1.2.ebuild | 79 +++++++++++++++++++++ 11 files changed, 188 insertions(+), 236 deletions(-) delete mode 100644 media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild create mode 100644 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild delete mode 100644 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild delete mode 100644 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild create mode 100644 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild delete mode 100644 media-libs/oneVPL/oneVPL-2022.2.5.ebuild create mode 100644 media-libs/oneVPL/oneVPL-2023.1.2.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index 9735d8e036fa..b371e950e9ca 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest index 9b0083767acd..0883dc922e82 100644 --- a/media-libs/oneVPL-cpu/Manifest +++ b/media-libs/oneVPL-cpu/Manifest @@ -1,7 +1,7 @@ AUX oneVPL-cpu-2022.2.5-respect-user-flags.patch 416 BLAKE2B c0ba2a7d75ab2d4ce93a472df09529536a141ff30563f0c6cc618a02d2766a1a88b5c3ab21fc6d02a4da6007e1b0c45df8b3c7bd206d2494200b8a835654315f SHA512 e5e7d762db4b45e84832cbee5f8e3e37e986bb0f73c07e792373c254e172fed0eb320ec58c3873aec071a51617682b0f4e2c299f701112094fec56ee74356986 AUX oneVPL-cpu-2022.2.5-use-system-libs.patch 1884 BLAKE2B c13fecb58e2692ae53c531fe3ca4199a381f170712777d2df9f5ddd334481238f48666636dced8d39213187d9e162915b62c641d9015afe1a8326fcdcb724c88 SHA512 bffcfcc4b17145d1b1f0b608b1451d8438a77254c389ed4542c0b457b6064ad85b646605ac9cd2c176d9480aa1136412a728b172e8d2c642f8aae77ff9d18703 -DIST oneVPL-cpu-2022.2.5.tar.gz 9917180 BLAKE2B 8e0beebc226a0984474ca6822769736c78e80959bd2df9fd4a34014a31e3439cd42b9a104dfefaa70043df03834246c973e1ba29cea3a9af94a48c2b1d08edcc SHA512 e79b0f396bfcdb7156f8ec5b3008ddd813a0a01ade8e319f78afd3c9d862b111531c42a65ba19ea396b51d3e298608da271894867297dc95f51e4bcc19e9029e DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2 SHA512 d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8 -EBUILD oneVPL-cpu-2022.2.5.ebuild 1350 BLAKE2B 39d7b66b53cd7f0c6a02a7f6626131adf78a176fbb270fdfd45853c99cf42655ac383feb4039d658d6ba8ff7601f0843ccac547d7116fa1e53ba98f9f05153ea SHA512 6d32c0ef1a0e77d75cc65a24c418b963be6daa2009aae32e6de92e579e81e7db302edf1ef811a0d5eea5b5474a78486b1df8d0be0aaddd812b0b36328194d45e +DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0 SHA512 e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af EBUILD oneVPL-cpu-2023.1.1.ebuild 1355 BLAKE2B 5722d49b8a2cc4a81e9349b072605149efa1cc90cd20d73315094920f8ab504f15cf443835e872015b6e23249b6dd686110d498ca97136b25e1da2190a91d53a SHA512 4969d207a4e58b03e3fcec68b828a5bcbeb1c7618889db3682272eeb3f1e682574257214b016efe1b1e9c314519a1ee41469e26f3dc0340ae373b1d1856104c7 +EBUILD oneVPL-cpu-2023.1.2.ebuild 1355 BLAKE2B 5722d49b8a2cc4a81e9349b072605149efa1cc90cd20d73315094920f8ab504f15cf443835e872015b6e23249b6dd686110d498ca97136b25e1da2190a91d53a SHA512 4969d207a4e58b03e3fcec68b828a5bcbeb1c7618889db3682272eeb3f1e682574257214b016efe1b1e9c314519a1ee41469e26f3dc0340ae373b1d1856104c7 MISC metadata.xml 606 BLAKE2B 470321a75d274c50d7480359081d67f9a4614549af06d0172f8211815d1d70edf73fd17ab576802294c375b7ddfff1849b63647894c7dca971e3b429236501cb SHA512 3e43d49860ee353cd16b6070ff358d3bef7ab404c55bd57f22e49e6aebf3b245930554884ecc490690512c92914fe04d40b35dbb6b339f46b5314d9e3545a92f diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild deleted file mode 100644 index 8243f74846b0..000000000000 --- a/media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Video Processing Library CPU implementation" -HOMEPAGE="https://github.com/oneapi-src/oneVPL-cpu" -SRC_URI="https://github.com/oneapi-src/oneVPL-cpu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT x264? ( GPL-2 )" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="experimental openh264 test +x264" -REQUIRED_USE="^^ ( openh264 x264 )" -# RESTRICT="!test? ( test )" -# Tests fail -RESTRICT="test" - -BDEPEND="virtual/pkgconfig" -DEPEND=" - media-libs/dav1d - media-libs/oneVPL[experimental?] - media-libs/svt-av1 - media-libs/svt-hevc - media-video/ffmpeg - x264? ( media-libs/x264 ) - openh264? ( media-libs/openh264 ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-2022.2.5-use-system-libs.patch" - "${FILESDIR}/${PN}-2022.2.5-respect-user-flags.patch" -) - -src_configure() { - # Use system libraries - export VPL_BUILD_DEPENDENCIES="${ESYSROOT}/usr" - local mycmakeargs=( - -DUSE_EXPERIMENTAL_API="$(usex experimental)" - -DBUILD_OPENH264="$(usex openh264)" - -DBUILD_TESTS="$(usex test)" - -DBUILD_GPL_X264="$(usex x264)" - # Use FHS instead - -DUSE_ONEAPI_INSTALL_LAYOUT=NO - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Remove these license files - rm -r "${ED}/usr/share/oneVPL-cpu/licensing" || die -} diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild new file mode 100644 index 000000000000..513675dc8a74 --- /dev/null +++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild @@ -0,0 +1,57 @@ +# 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 CPU implementation" +HOMEPAGE="https://github.com/oneapi-src/oneVPL-cpu" +SRC_URI="https://github.com/oneapi-src/oneVPL-cpu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT x264? ( GPL-2 )" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="experimental openh264 test +x264" +REQUIRED_USE="^^ ( openh264 x264 )" +# RESTRICT="!test? ( test )" +# Tests fail +RESTRICT="test" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + media-libs/dav1d + media-libs/oneVPL[experimental?] + media-libs/svt-av1 + media-libs/svt-hevc + media-video/ffmpeg + x264? ( media-libs/x264 ) + openh264? ( media-libs/openh264 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2022.2.5-use-system-libs.patch" + "${FILESDIR}/${PN}-2022.2.5-respect-user-flags.patch" +) + +src_configure() { + # Use system libraries + export VPL_BUILD_DEPENDENCIES="${ESYSROOT}/usr" + local mycmakeargs=( + -DUSE_EXPERIMENTAL_API="$(usex experimental)" + -DBUILD_OPENH264="$(usex openh264)" + -DBUILD_TESTS="$(usex test)" + -DBUILD_GPL_X264="$(usex x264)" + # Use FHS instead + -DUSE_ONEAPI_INSTALL_LAYOUT=NO + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + # Remove these license files + rm -r "${ED}/usr/share/oneVPL-cpu/licensing" || die +} diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 6a5f80144cdb..f68ea2876255 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,5 +1,3 @@ -DIST oneVPL-intel-gpu-22.6.3.tar.gz 6819100 BLAKE2B 9c87c41c072b7e7ef2dd8adcc6843eea564582f4070d452babb6b1eeadc13eb12dbe2e9d6075821954b7f7194f2ed814d3c1f6463c3b078912ee42cd684d1277 SHA512 56b29513142dc434732e646e3ec3e8d60db542f3be315190b06e9b532e4aef98423be9a0b6f35e65489085786446ecbd1c1774d06bea7552aaa7fb71517f4fb9 -DIST oneVPL-intel-gpu-22.6.4.tar.gz 6820037 BLAKE2B 0e91c91e31fbab69468f4ef351e6674551c02a7a42099b17b3e8fee07a2b8a1ea5884b2becee78d406cf881b3199a6b9823b690334dfd087b7e589309b382d17 SHA512 6d8c144e7efa0f900fab282fceb2d9f58e68212ed71c0e70ce3b9098f7dfba9f441d0ac181082387d254fcf171ef35746ac72edd7351a8065d0fd0f98e4b8ed6 -EBUILD oneVPL-intel-gpu-22.6.3.ebuild 1184 BLAKE2B 38714a7bf7d4c044540652f430378aa6930b65e7eab925941be748e1547519f78ee44b54a7c677e7325ccbe107bd04dd5a811d04c1a009cff3e27469ac03187a SHA512 1758be8b6e3ea52d174148df81a5970e4ccc2782ada6b03ea272eb7874c5b9956ef6b85110816378b0c780cc4805b19d0fec7d15c3c08b2ea36f9b7e3ce99d51 -EBUILD oneVPL-intel-gpu-22.6.4.ebuild 1189 BLAKE2B 8a6ed3716eb86c59cafe38febd015d9d66ed96f7db2397f9b3cf97283ed367d8d3ff49a764f97a0f59b831611576792df1398bd29d1cc740be7e0e6ccad8f62a SHA512 92c6095b06adfb4d3e697c8a2958d2afa9b5a50d13c1c16b870540be3356006a81913db012afbc8f5f9e0db96c29b95da6c547e9b9613666bbcdf932b33574db +DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200 SHA512 505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5 +EBUILD oneVPL-intel-gpu-22.6.5.ebuild 1189 BLAKE2B 8a6ed3716eb86c59cafe38febd015d9d66ed96f7db2397f9b3cf97283ed367d8d3ff49a764f97a0f59b831611576792df1398bd29d1cc740be7e0e6ccad8f62a SHA512 92c6095b06adfb4d3e697c8a2958d2afa9b5a50d13c1c16b870540be3356006a81913db012afbc8f5f9e0db96c29b95da6c547e9b9613666bbcdf932b33574db MISC metadata.xml 434 BLAKE2B f5f6ea2e0ebac9ba06ebdb2a8469e99171f25ad08d8e992695e7d189f5c3f8fb3e966d710fe02cbd1f590f2137e265d9bf5014f0d9e7a492574b526360d70133 SHA512 713bf6044fd4d5606568af248dc0adf1a93c5917fb7d6d79c7a033a5b52a0164769b02086caa0a4492979c586511b5a4d7b85fe603ffe80d4884786e05dc520e diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild deleted file mode 100644 index 7e2c69f5b324..000000000000 --- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022 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 )" - -BDEPEND="virtual/pkgconfig" -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 - ) -" - -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-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild deleted file mode 100644 index 1f7c7bcb5019..000000000000 --- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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 )" - -BDEPEND="virtual/pkgconfig" -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 - ) -" - -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-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild new file mode 100644 index 000000000000..1f7c7bcb5019 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.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 )" + +BDEPEND="virtual/pkgconfig" +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 + ) +" + +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 b973cc84a946..29b3a45ee2dc 100644 --- a/media-libs/oneVPL/Manifest +++ b/media-libs/oneVPL/Manifest @@ -1,5 +1,5 @@ -DIST oneVPL-2022.2.5.tar.gz 6517210 BLAKE2B 1da487e9a4fbaa171f14213d0828c7dbed91d1f92d9641f10d9ef8fc895b4d51b33f80485b16e41e2cb15cd8d771f5c5f84370268cb2c347dc8e19d90d91a759 SHA512 7d100a347a109720f37d86c6dd86c216a75e77b9f032f5c066835fb5a3c7c7312bca81ffd3a30836c59d20e10863567788a247b4daa57721b3ba011c4e0cd34d DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8 SHA512 a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa -EBUILD oneVPL-2022.2.5.ebuild 2131 BLAKE2B 99803b725c8b0b69626062f78b1bad90f70264588962931b54fb1285ac4a39b4d14edbc9d3873dc171891cadb9ee3bf39fc3fa8f78d6c38501a68a2998aab280 SHA512 373c1a9b2f0649d0a6db77066ea72126ef7224373558245efdeec70925242d96ed21ad30b29c310459436b3aaed1c7b7ac6d256d549bcefefbcef84026f7f58c +DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 3333d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2 SHA512 674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5 EBUILD oneVPL-2023.1.1.ebuild 2146 BLAKE2B c6e3e3ecae998581833b70616d81354e54d32869379632293d3c1a29e5e7ff8465ad98b14332ab9d2db6d92693ad4dc322858a71ef487e059f7c36187b9e9447 SHA512 e77ed4ba01e53f7055264f32c88455e6b87e931735dfbb94560e685fedb3ef913fec63fdc29d53346fce044f08247af300d46b58f8002e3603cbaa28e98f0c3c +EBUILD oneVPL-2023.1.2.ebuild 2146 BLAKE2B c6e3e3ecae998581833b70616d81354e54d32869379632293d3c1a29e5e7ff8465ad98b14332ab9d2db6d92693ad4dc322858a71ef487e059f7c36187b9e9447 SHA512 e77ed4ba01e53f7055264f32c88455e6b87e931735dfbb94560e685fedb3ef913fec63fdc29d53346fce044f08247af300d46b58f8002e3603cbaa28e98f0c3c MISC metadata.xml 633 BLAKE2B b53305f7c1127190352b5ba25b43411455eba014b85a2305abe07571c2d95c6e1a60b1f1872895b94b7e6292178966c5b3733d7c8b5b9d1c16925f153d60e00d SHA512 a1dcf8c3fe13311bd81d48c3afd76de850b7fc395ae89e2f5973811525e56e69c12de2c83ce8e25971ab4330ed80ba4794051e5826c271f62b86116bc520d81a diff --git a/media-libs/oneVPL/oneVPL-2022.2.5.ebuild b/media-libs/oneVPL/oneVPL-2022.2.5.ebuild deleted file mode 100644 index c8862a2292bb..000000000000 --- a/media-libs/oneVPL/oneVPL-2022.2.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake 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 )" -# Most of these flags only have an effect on the tools -REQUIRED_USE=" - dri? ( X drm ) - drm? ( tools ) - X? ( tools ) - wayland? ( tools ) - vaapi? ( tools ) -" - -BDEPEND="virtual/pkgconfig" -DEPEND=" - x11-libs/libpciaccess - vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] ) - drm? ( x11-libs/libdrm ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) - X? ( - x11-libs/libX11 - x11-libs/libxcb - ) -" -RDEPEND="${DEPEND}" - -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 -} - -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 -} diff --git a/media-libs/oneVPL/oneVPL-2023.1.2.ebuild b/media-libs/oneVPL/oneVPL-2023.1.2.ebuild new file mode 100644 index 000000000000..223184c18698 --- /dev/null +++ b/media-libs/oneVPL/oneVPL-2023.1.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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 )" +# Most of these flags only have an effect on the tools +REQUIRED_USE=" + dri? ( X drm ) + drm? ( tools ) + X? ( tools vaapi ) + wayland? ( tools drm ) + vaapi? ( tools ) +" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + x11-libs/libpciaccess + vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] ) + drm? ( x11-libs/libdrm ) + wayland? ( + dev-libs/wayland + dev-libs/wayland-protocols + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + ) +" +RDEPEND="${DEPEND}" + +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 +} + +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 +} -- cgit v1.2.3