[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2024-05-17 Thread Andrew Ammerlaan
commit: 102e6c5a90703694378ff448e0f8531dce6a5cfd
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri May 17 14:27:25 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri May 17 14:27:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102e6c5a

media-libs/oneVPL-cpu: add MissingUseDepDefault

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
index a7a0d3f43f3f..4af580c27324 100644
--- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
@@ -22,7 +22,7 @@ RESTRICT="test"
 BDEPEND="virtual/pkgconfig"
 DEPEND="
media-libs/dav1d
-   media-libs/libvpl[experimental?]
+   media-libs/libvpl[experimental(-)?]
media-libs/svt-av1
media-libs/svt-hevc
media-video/ffmpeg



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-05-17 Thread Andrew Ammerlaan
commit: 1988170a786a10cc0c839b1824859147314cba1f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri May 17 13:52:34 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri May 17 14:12:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1988170a

media-libs/oneVPL-intel-gpu: add 24.2.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.2.2.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 0e89e3da082c..6baa87ded01c 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B 
a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf
 SHA512 
a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7
 DIST oneVPL-intel-gpu-24.2.1.tar.gz 9059246 BLAKE2B 
aea28ac95b9ae9634a97e27c94f6628e6a2dcce455a438851e29e7f9e5674f4ba22782773d3aeae34f315c5a95e6e07ef54d89951cfee0ec316e7a578ff56de9
 SHA512 
ace3abf923a89720520005d4b3cf90180e2d35713012ea223f6d35a0e9dc8b442bf80915bf2d3d86f5f95b426362df79d57d6da1f4962b31547d50b9e6d80a91
+DIST oneVPL-intel-gpu-24.2.2.tar.gz 9059065 BLAKE2B 
05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2
 SHA512 
47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild
new file mode 100644
index ..bcc124a916dc
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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}/vpl-gpu-rt-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, libvpl is preferred but mediasdk also works
+RDEPEND="${DEPEND}
+   >=media-libs/libva-intel-media-driver-${PV}
+   || (
+   media-libs/libvpl
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-05-17 Thread Andrew Ammerlaan
commit: 6b128e77e05fb2522f0b972af7ddaf676246
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri May 17 13:53:01 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri May 17 14:12:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b128e77

media-libs/oneVPL-intel-gpu: drop 24.2.0, 24.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-24.2.0.ebuild | 46 --
 .../oneVPL-intel-gpu-24.2.1.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 6baa87ded01c..1299126ae342 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1 @@
-DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B 
a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf
 SHA512 
a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7
-DIST oneVPL-intel-gpu-24.2.1.tar.gz 9059246 BLAKE2B 
aea28ac95b9ae9634a97e27c94f6628e6a2dcce455a438851e29e7f9e5674f4ba22782773d3aeae34f315c5a95e6e07ef54d89951cfee0ec316e7a578ff56de9
 SHA512 
ace3abf923a89720520005d4b3cf90180e2d35713012ea223f6d35a0e9dc8b442bf80915bf2d3d86f5f95b426362df79d57d6da1f4962b31547d50b9e6d80a91
 DIST oneVPL-intel-gpu-24.2.2.tar.gz 9059065 BLAKE2B 
05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2
 SHA512 
47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild
deleted file mode 100644
index 267fd4dabc9c..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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, libvpl is preferred but mediasdk also works
-RDEPEND="${DEPEND}
-   >=media-libs/libva-intel-media-driver-${PV}
-   || (
-   media-libs/libvpl[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-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild
deleted file mode 100644
index 68b91598a5a8..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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}/vpl-gpu-rt-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, libvpl is preferred but mediasdk also works
-RDEPEND="${DEPEND}
-   >=media-libs/libva-intel-media-driver-${PV}
-   || (
-   media-libs/libvpl[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)"
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-04-26 Thread Andrew Ammerlaan
commit: e14f8c7590066d3a161ea56f5c1c4ac646e01089
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Apr 26 10:24:19 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Apr 26 10:32:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14f8c75

media-libs/oneVPL-intel-gpu: add 24.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.2.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 747ddca464a1..26929f0d3f9f 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d
 DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 
28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4
 SHA512 
20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4
 DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B 
a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf
 SHA512 
a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7
+DIST oneVPL-intel-gpu-24.2.1.tar.gz 9059246 BLAKE2B 
aea28ac95b9ae9634a97e27c94f6628e6a2dcce455a438851e29e7f9e5674f4ba22782773d3aeae34f315c5a95e6e07ef54d89951cfee0ec316e7a578ff56de9
 SHA512 
ace3abf923a89720520005d4b3cf90180e2d35713012ea223f6d35a0e9dc8b442bf80915bf2d3d86f5f95b426362df79d57d6da1f4962b31547d50b9e6d80a91

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild
new file mode 100644
index ..68b91598a5a8
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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}/vpl-gpu-rt-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, libvpl is preferred but mediasdk also works
+RDEPEND="${DEPEND}
+   >=media-libs/libva-intel-media-driver-${PV}
+   || (
+   media-libs/libvpl[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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-04-26 Thread Andrew Ammerlaan
commit: ab28e7489e19d26012186a494c2f8f1e0554818f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Apr 26 10:25:05 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Apr 26 10:32:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab28e748

media-libs/oneVPL-intel-gpu: drop 24.1.3, 24.1.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-24.1.3.ebuild | 46 --
 .../oneVPL-intel-gpu-24.1.4.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 26929f0d3f9f..0e89e3da082c 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,2 @@
-DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d
-DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 
28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4
 SHA512 
20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4
 DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B 
a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf
 SHA512 
a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7
 DIST oneVPL-intel-gpu-24.2.1.tar.gz 9059246 BLAKE2B 
aea28ac95b9ae9634a97e27c94f6628e6a2dcce455a438851e29e7f9e5674f4ba22782773d3aeae34f315c5a95e6e07ef54d89951cfee0ec316e7a578ff56de9
 SHA512 
ace3abf923a89720520005d4b3cf90180e2d35713012ea223f6d35a0e9dc8b442bf80915bf2d3d86f5f95b426362df79d57d6da1f4962b31547d50b9e6d80a91

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
deleted file mode 100644
index 9df902c406a2..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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/libvpl[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-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild
deleted file mode 100644
index 9df902c406a2..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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/libvpl[drm,vaapi]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-04-04 Thread Andrew Ammerlaan
commit: 8c677a9aec5600b802458ad33825d4510f21f2e0
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Apr  4 09:18:34 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Apr  4 09:21:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c677a9a

media-libs/oneVPL-intel-gpu: add 24.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.2.0.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 7956e008e275..747ddca464a1 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d
 DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 
28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4
 SHA512 
20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4
+DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B 
a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf
 SHA512 
a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild
new file mode 100644
index ..267fd4dabc9c
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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, libvpl is preferred but mediasdk also works
+RDEPEND="${DEPEND}
+   >=media-libs/libva-intel-media-driver-${PV}
+   || (
+   media-libs/libvpl[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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-03-15 Thread Andrew Ammerlaan
commit: 3fb42e64722882814738f00253943468d44d5c4c
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Mar 15 10:35:37 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Mar 15 10:40:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb42e64

media-libs/oneVPL-intel-gpu: add 24.1.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.1.4.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index d716efac33d8..cd81ae9ad536 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
 DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a
 DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d
+DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 
28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4
 SHA512 
20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild
new file mode 100644
index ..9df902c406a2
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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/libvpl[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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-03-15 Thread Andrew Ammerlaan
commit: 038ca87e3f1c794b13aad9a4b15df7f007ec1541
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Mar 15 10:36:01 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Mar 15 10:40:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038ca87e

media-libs/oneVPL-intel-gpu: drop 23.4.3, 24.1.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-23.4.3.ebuild | 46 --
 .../oneVPL-intel-gpu-24.1.1.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index cd81ae9ad536..7956e008e275 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,2 @@
-DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
-DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a
 DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d
 DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 
28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4
 SHA512 
20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
deleted file mode 100644
index 9df902c406a2..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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/libvpl[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-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
deleted file mode 100644
index 9df902c406a2..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2022-2024 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/libvpl[drm,vaapi]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-03-07 Thread Andrew Ammerlaan
commit: 618c07f1236e007c126b9bfd008fbb173cf84957
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:42:45 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:55:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618c07f1

media-libs/oneVPL-intel-gpu: media-libs/oneVPL -> media-libs/libvpl

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild | 4 ++--
 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild | 2 +-
 media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
index 6d87d22aff64..9df902c406a2 100644
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ DEPEND="
 RDEPEND="${DEPEND}
>=media-libs/libva-intel-media-driver-${PV}
|| (
-   media-libs/oneVPL[drm,vaapi]
+   media-libs/libvpl[drm,vaapi]
media-libs/intel-mediasdk
)
 "

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
index faf2827d97cf..9df902c406a2 100644
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
@@ -25,7 +25,7 @@ DEPEND="
 RDEPEND="${DEPEND}
>=media-libs/libva-intel-media-driver-${PV}
|| (
-   media-libs/oneVPL[drm,vaapi]
+   media-libs/libvpl[drm,vaapi]
media-libs/intel-mediasdk
)
 "

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
index faf2827d97cf..9df902c406a2 100644
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
@@ -25,7 +25,7 @@ DEPEND="
 RDEPEND="${DEPEND}
>=media-libs/libva-intel-media-driver-${PV}
|| (
-   media-libs/oneVPL[drm,vaapi]
+   media-libs/libvpl[drm,vaapi]
media-libs/intel-mediasdk
)
 "



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2024-03-07 Thread Andrew Ammerlaan
commit: c5f4f224dca2f7c71a2ecdccadc9edfe100570c5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:41:56 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:55:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f4f224

media-libs/oneVPL-cpu: media-libs/oneVPL -> media-libs/libvpl

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
index 513675dc8a74..a7a0d3f43f3f 100644
--- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ RESTRICT="test"
 BDEPEND="virtual/pkgconfig"
 DEPEND="
media-libs/dav1d
-   media-libs/oneVPL[experimental?]
+   media-libs/libvpl[experimental?]
media-libs/svt-av1
media-libs/svt-hevc
media-video/ffmpeg



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2024-03-07 Thread Andrew Ammerlaan
commit: dec1097a31e440bec592599d3679d53f060b823c
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:38:41 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:54:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec1097a

media-libs/oneVPL: drop 2023.3.1, 2023.4.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  2 -
 media-libs/oneVPL/oneVPL-2023.3.1.ebuild | 82 
 media-libs/oneVPL/oneVPL-2023.4.0.ebuild | 82 
 3 files changed, 166 deletions(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 55e2cd4410de..1ab9b30a5434 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,3 +1 @@
 DIST oneVPL-2.10.2.tar.gz 11872075 BLAKE2B 
6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37
 SHA512 
e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d
-DIST oneVPL-2023.3.1.tar.gz 6322962 BLAKE2B 
3e66d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c
 SHA512 
1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed
-DIST oneVPL-2023.4.0.tar.gz 11592938 BLAKE2B 
e2f264a4729b6c2dd88cc690d78d4106112cc4957c216f52c1381ff3ff7b994e696c969adb6227422160950e4918f8e24c94346b1290515bcd951f814875876a
 SHA512 
240ebcee8c57699c6fdbaf5939ed059758dc9b7e2bd5631138a07b44e8f3007ebd99e7791e648f9ed2f08336063272ea157d55dfdde32bce8a88d62a1a34b1d7

diff --git a/media-libs/oneVPL/oneVPL-2023.3.1.ebuild 
b/media-libs/oneVPL/oneVPL-2023.3.1.ebuild
deleted file mode 100644
index 0758b6389a95..
--- a/media-libs/oneVPL/oneVPL-2023.3.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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
-}

diff --git a/media-libs/oneVPL/oneVPL-2023.4.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.4.0.ebuild
deleted file mode 100644
index a669bf8ca480..
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2024-03-07 Thread Andrew Ammerlaan
commit: 9f5a8cf91c3d46fba594bbaca7d9065f89335718
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:38:32 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:54:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5a8cf9

media-libs/oneVPL: add 2.10.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest |  1 +
 media-libs/oneVPL/oneVPL-2.10.2.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index d4bcb6871553..55e2cd4410de 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,2 +1,3 @@
+DIST oneVPL-2.10.2.tar.gz 11872075 BLAKE2B 
6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37
 SHA512 
e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d
 DIST oneVPL-2023.3.1.tar.gz 6322962 BLAKE2B 
3e66d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c
 SHA512 
1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed
 DIST oneVPL-2023.4.0.tar.gz 11592938 BLAKE2B 
e2f264a4729b6c2dd88cc690d78d4106112cc4957c216f52c1381ff3ff7b994e696c969adb6227422160950e4918f8e24c94346b1290515bcd951f814875876a
 SHA512 
240ebcee8c57699c6fdbaf5939ed059758dc9b7e2bd5631138a07b44e8f3007ebd99e7791e648f9ed2f08336063272ea157d55dfdde32bce8a88d62a1a34b1d7

diff --git a/media-libs/oneVPL/oneVPL-2.10.2.ebuild 
b/media-libs/oneVPL/oneVPL-2.10.2.ebuild
new file mode 100644
index ..8e0a5b5fde11
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2.10.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 2022-2024 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/intel/libvpl/;
+SRC_URI="https://github.com/intel/libvpl//archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/libvpl-${PV}"
+
+LICENSE="MIT"
+SLOT="0/2"
+KEYWORDS="~amd64"
+
+IUSE="dri drm examples experimental tools test vaapi wayland X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   dri? ( X drm )
+   X? ( vaapi )
+   wayland? ( drm )
+"
+
+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="$(multilib_native_usex 
tools)"
+   -DBUILD_TESTS="$(usex test)"
+   # Tools fails to compile for 32 bit
+   -DBUILD_TOOLS="$(multilib_native_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/, media-libs/libvpl/

2024-03-07 Thread Andrew Ammerlaan
commit: f259b085677a44a0c3d0ddf2cba95e4cdb427034
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:40:50 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:55:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f259b085

media-libs/oneVPL: move to media-libs/libvpl

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/{oneVPL => libvpl}/Manifest | 2 +-
 media-libs/{oneVPL => libvpl}/libvpl-2.10.2.ebuild | 0
 media-libs/{oneVPL => libvpl}/metadata.xml | 0
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/libvpl/Manifest
similarity index 79%
rename from media-libs/oneVPL/Manifest
rename to media-libs/libvpl/Manifest
index 1ab9b30a5434..91c8f3fb2356 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/libvpl/Manifest
@@ -1 +1 @@
-DIST oneVPL-2.10.2.tar.gz 11872075 BLAKE2B 
6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37
 SHA512 
e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d
+DIST libvpl-2.10.2.tar.gz 11872075 BLAKE2B 
6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37
 SHA512 
e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d

diff --git a/media-libs/oneVPL/libvpl-2.10.2.ebuild 
b/media-libs/libvpl/libvpl-2.10.2.ebuild
similarity index 100%
rename from media-libs/oneVPL/libvpl-2.10.2.ebuild
rename to media-libs/libvpl/libvpl-2.10.2.ebuild

diff --git a/media-libs/oneVPL/metadata.xml b/media-libs/libvpl/metadata.xml
similarity index 100%
rename from media-libs/oneVPL/metadata.xml
rename to media-libs/libvpl/metadata.xml



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2024-03-07 Thread Andrew Ammerlaan
commit: da0ff7030b9eaa1404d4d5c584028babf2a8baf4
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Mar  7 19:39:31 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Mar  7 19:55:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0ff703

media-libs/libvpl: add 2.10.2, drop 2.10.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/{oneVPL-2.10.2.ebuild => libvpl-2.10.2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/oneVPL/oneVPL-2.10.2.ebuild 
b/media-libs/oneVPL/libvpl-2.10.2.ebuild
similarity index 96%
rename from media-libs/oneVPL/oneVPL-2.10.2.ebuild
rename to media-libs/oneVPL/libvpl-2.10.2.ebuild
index 8e0a5b5fde11..c9eddbfedb17 100644
--- a/media-libs/oneVPL/oneVPL-2.10.2.ebuild
+++ b/media-libs/oneVPL/libvpl-2.10.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit cmake-multilib optfeature
 
-DESCRIPTION="oneAPI Video Processing Library, dispatcher, tools, and examples"
+DESCRIPTION="Intel Video Processing Library, dispatcher, tools, and examples"
 HOMEPAGE="https://github.com/intel/libvpl/;
 SRC_URI="https://github.com/intel/libvpl//archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/libvpl-${PV}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-02-14 Thread Andrew Ammerlaan
commit: 6af3d773b0ff1c17203387aa80f331c17149fd2d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Feb 14 12:46:55 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Feb 14 12:47:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af3d773

media-libs/oneVPL-intel-gpu: add 24.1.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.1.3.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index eb42bdb4c95d..57d3d37e192f 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e
 DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
 DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a
+DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
new file mode 100644
index ..faf2827d97cf
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-02-14 Thread Andrew Ammerlaan
commit: b98da75350c3479e6eadde043cf343878f0b65c5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Feb 14 12:47:06 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Feb 14 12:47:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98da753

media-libs/oneVPL-intel-gpu: drop 23.4.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 -
 .../oneVPL-intel-gpu-23.4.1.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 57d3d37e192f..d716efac33d8 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,3 @@
-DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e
 DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
 DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a
 DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 
63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c
 SHA512 
d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.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 )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-01-15 Thread Andrew Ammerlaan
commit: ad9df4319c4d14ae2b2e7c4e5a6d1b0f631d7015
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Jan 15 11:05:45 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Jan 15 11:14:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9df431

media-libs/oneVPL-intel-gpu: add 24.1.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-24.1.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 98916679354e..035a23fbaf47 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422
 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e
 DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
+DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
new file mode 100644
index ..faf2827d97cf
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2024-01-15 Thread Andrew Ammerlaan
commit: 7d1205faf62ebb8a5bb197e9169b146026659821
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Jan 15 11:06:08 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Jan 15 11:14:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1205fa

media-libs/oneVPL-intel-gpu: drop 23.3.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 -
 .../oneVPL-intel-gpu-23.3.4.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 035a23fbaf47..eb42bdb4c95d 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,3 @@
-DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422
 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e
 DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f
 DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 
3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e
 SHA512 
6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.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 )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-12-27 Thread Andrew Ammerlaan
commit: d082c2414d5fa6b2e8f004a680324357b3748f77
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Dec 27 09:31:24 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Dec 27 09:31:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d082c241

media-libs/oneVPL-intel-gpu: add 23.4.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.4.3.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 92c6226d90b7..98916679354e 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422
 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e
+DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B 
b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2
 SHA512 
7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-11-30 Thread Andrew Ammerlaan
commit: 87eeb740c755207bedf46b2b22fc9be079da
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Nov 30 09:55:39 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Nov 30 09:55:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87eeb740

media-libs/oneVPL: add 2023.4.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/metadata.xml   |  2 +-
 media-libs/oneVPL/oneVPL-2023.4.0.ebuild | 82 
 3 files changed, 84 insertions(+), 1 deletion(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 2c8be26baddd..d4bcb6871553 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1 +1,2 @@
 DIST oneVPL-2023.3.1.tar.gz 6322962 BLAKE2B 
3e66d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c
 SHA512 
1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed
+DIST oneVPL-2023.4.0.tar.gz 11592938 BLAKE2B 
e2f264a4729b6c2dd88cc690d78d4106112cc4957c216f52c1381ff3ff7b994e696c969adb6227422160950e4918f8e24c94346b1290515bcd951f814875876a
 SHA512 
240ebcee8c57699c6fdbaf5939ed059758dc9b7e2bd5631138a07b44e8f3007ebd99e7791e648f9ed2f08336063272ea157d55dfdde32bce8a88d62a1a34b1d7

diff --git a/media-libs/oneVPL/metadata.xml b/media-libs/oneVPL/metadata.xml
index a3315c4abeff..77f4c9b27db9 100644
--- a/media-libs/oneVPL/metadata.xml
+++ b/media-libs/oneVPL/metadata.xml
@@ -9,7 +9,7 @@
Andrew Ammerlaan


-   oneapi-src/oneVPL
+   intel/libvpl


Build with DRM support

diff --git a/media-libs/oneVPL/oneVPL-2023.4.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.4.0.ebuild
new file mode 100644
index ..a669bf8ca480
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.4.0.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/intel/libvpl/;
+SRC_URI="https://github.com/intel/libvpl//archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/libvpl-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="dri drm examples experimental tools test vaapi wayland X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   dri? ( X drm )
+   X? ( vaapi )
+   wayland? ( drm )
+"
+
+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="$(multilib_native_usex 
tools)"
+   -DBUILD_TESTS="$(usex test)"
+   # Tools fails to compile for 32 bit
+   -DBUILD_TOOLS="$(multilib_native_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-11-27 Thread Andrew Ammerlaan
commit: 37a8d1016f93723dbc77fa352550e77c74aa8791
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov 27 13:04:17 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov 27 13:04:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a8d101

media-libs/oneVPL-intel-gpu: add 23.4.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.4.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index a9a401c44277..7c9d0eafa6de 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f
 DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422
+DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-11-27 Thread Andrew Ammerlaan
commit: bc11b6bd4f3fab99ac9328652e4817b97c1f8d8b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov 27 13:05:00 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov 27 13:05:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc11b6bd

media-libs/oneVPL-intel-gpu: drop 23.3.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 -
 .../oneVPL-intel-gpu-23.3.2.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 7c9d0eafa6de..92c6226d90b7 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,2 @@
-DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f
 DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422
 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 
8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba
 SHA512 
ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.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 )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-10-20 Thread Andrew Ammerlaan
commit: 6e56f7d8b4b9053a8ca42191507984cf48bacaf9
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Oct 20 15:52:44 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Oct 20 15:53:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e56f7d8

media-libs/oneVPL-intel-gpu: drop 23.3.0, 23.3.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-23.3.0.ebuild | 46 --
 .../oneVPL-intel-gpu-23.3.1.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index e7dba4219e19..a9a401c44277 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,2 @@
-DIST oneVPL-intel-gpu-23.3.0.tar.gz 9025885 BLAKE2B 
64346c71ddf24401445522390558ec8c0b354e2f609d45bd8528336b7be9199b0547076b326e5900caf2743349d04447e9c05025055a043fa34e0da6883974da
 SHA512 
3fc4ebc0f1faade624e221e399716fa62b5e4baba4b134a7bb65e47812ee3cca64e1d1f3def3139f0aaa9bae35de3c44aaeb061a44c466af9268e12a5aa21a80
-DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B 
f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3
 SHA512 
a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c
 DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f
 DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422

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
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.0.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 )"
-
-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-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.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 )"
-
-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]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-10-20 Thread Andrew Ammerlaan
commit: 04760b621c7c31e611e711dbe15156cf64e18c33
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Oct 20 15:52:35 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Oct 20 15:53:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04760b62

media-libs/oneVPL-intel-gpu: add 23.3.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.3.4.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 8f861f7a0133..e7dba4219e19 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-23.3.0.tar.gz 9025885 BLAKE2B 
64346c71ddf24401445522390558ec8c0b354e2f609d45bd8528336b7be9199b0547076b326e5900caf2743349d04447e9c05025055a043fa34e0da6883974da
 SHA512 
3fc4ebc0f1faade624e221e399716fa62b5e4baba4b134a7bb65e47812ee3cca64e1d1f3def3139f0aaa9bae35de3c44aaeb061a44c466af9268e12a5aa21a80
 DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B 
f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3
 SHA512 
a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c
 DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f
+DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 
15f7075195a6b5d7048f6caa0ccdfee56ae2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d
 SHA512 
9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-10-20 Thread Andrew Ammerlaan
commit: 7ef2bc6b702556b219f57600d99f10ba19717189
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Oct 20 15:51:57 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Oct 20 15:53:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef2bc6b

media-libs/oneVPL: drop 2023.2.1, 2023.3.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  2 -
 media-libs/oneVPL/oneVPL-2023.2.1.ebuild | 82 
 media-libs/oneVPL/oneVPL-2023.3.0.ebuild | 82 
 3 files changed, 166 deletions(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 340f38acc48d..2c8be26baddd 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,3 +1 @@
-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 
3e66d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c
 SHA512 
1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed

diff --git a/media-libs/oneVPL/oneVPL-2023.2.1.ebuild 
b/media-libs/oneVPL/oneVPL-2023.2.1.ebuild
deleted file mode 100644
index 0758b6389a95..
--- a/media-libs/oneVPL/oneVPL-2023.2.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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
-}

diff --git a/media-libs/oneVPL/oneVPL-2023.3.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.3.0.ebuild
deleted file mode 100644
index 0758b6389a95..
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-09-06 Thread Andrew Ammerlaan
commit: 8252e9abf0f842e82bfe9ddc8bbafd499f477b12
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Sep  6 09:35:13 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Sep  6 09:35:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8252e9ab

media-libs/oneVPL-intel-gpu: drop 23.2.2, 23.2.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-23.2.2.ebuild | 46 --
 .../oneVPL-intel-gpu-23.2.3.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 7f0501cd6d60..8f861f7a0133 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,5 +1,3 @@
-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
 DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B 
f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3
 SHA512 
a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c
 DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.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 )"
-
-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-intel-gpu/oneVPL-intel-gpu-23.2.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.3.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.3.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 )"
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-09-06 Thread Andrew Ammerlaan
commit: b343d0d127303cfae4ae1f2afdcb92d87ea514cf
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Sep  6 09:34:51 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Sep  6 09:35:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b343d0d1

media-libs/oneVPL-intel-gpu: add 23.3.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.3.2.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index ce8370c033c2..7f0501cd6d60 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -2,3 +2,4 @@ DIST oneVPL-intel-gpu-23.2.2.tar.gz 6989173 BLAKE2B 
5e0d65f320df1b7c7bba4524b51f
 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
 DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B 
f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3
 SHA512 
a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c
+DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 
8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a
 SHA512 
87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-08-30 Thread Andrew Ammerlaan
commit: 00ccec604eafb03c032034a226a912ced2817599
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Aug 30 07:30:09 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Aug 30 07:30:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ccec60

media-libs/oneVPL-intel-gpu: add 23.3.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.3.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 62583371ca96..ce8370c033c2 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 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
+DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B 
f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3
 SHA512 
a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-08-17 Thread Andrew Ammerlaan
commit: 8e25a8edd34f3b51f99733baf8fafbb42fb5fcb1
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Aug 17 07:43:24 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Aug 17 07:48:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e25a8ed

media-libs/oneVPL-intel-gpu: add 23.3.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.3.0.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 79e4ed247858..62583371ca96 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 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

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-08-17 Thread Andrew Ammerlaan
commit: e3033ea4cf1baf5c67672f4ac547ace416417e7e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Aug 17 07:40:32 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Aug 17 07:48:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3033ea4

media-libs/oneVPL: add 2023.3.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.3.1.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 133b6bb7d53f..340f38acc48d 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,2 +1,3 @@
 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 
3e66d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c
 SHA512 
1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-06-14 Thread Andrew Ammerlaan
commit: 9d7543bb03fabec3af8096accd7f069fbe522fb2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun 14 20:06:19 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun 14 20:06:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d7543bb

media-libs/oneVPL-intel-gpu: drop 23.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 -
 .../oneVPL-intel-gpu-23.2.1.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 8689c26a37c7..79e4ed247858 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,2 @@
-DIST oneVPL-intel-gpu-23.2.1.tar.gz 6987103 BLAKE2B 
f4634aecfe3baba96b230d56915f864c1655c725fd05c72be9033406794afa7f501c42c13c442d676367a0ddbe176fcec9c1df6ec3013320fe3af2e348879ab8
 SHA512 
c097b0eb1879303d9138f8e92110216cd2e703ab3ad0ef2890678734b26b73037abc4724531f3ce4628993790f8de12bde82a9097df0f42e12a88b10ba5a9ae5
 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

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.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 )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-06-14 Thread Andrew Ammerlaan
commit: 7268dc6ab1c9a33ec2dc8c09eac2b98405f7b050
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun 14 20:04:28 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun 14 20:04:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7268dc6a

media-libs/oneVPL-intel-gpu: add 23.2.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.2.3.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index e6ef282b0c06..8689c26a37c7 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-23.2.1.tar.gz 6987103 BLAKE2B 
f4634aecfe3baba96b230d56915f864c1655c725fd05c72be9033406794afa7f501c42c13c442d676367a0ddbe176fcec9c1df6ec3013320fe3af2e348879ab8
 SHA512 
c097b0eb1879303d9138f8e92110216cd2e703ab3ad0ef2890678734b26b73037abc4724531f3ce4628993790f8de12bde82a9097df0f42e12a88b10ba5a9ae5
 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

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.3.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.3.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-06-14 Thread Andrew Ammerlaan
commit: eb5dca1dc744bf7f8a23c3201047fe8d0a001066
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun 14 20:01:36 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun 14 20:01:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5dca1d

media-libs/oneVPL: add 2023.3.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.3.0.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 535499882332..133b6bb7d53f 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1 +1,2 @@
 DIST oneVPL-2023.2.1.tar.gz 6315268 BLAKE2B 
f5b5609c27f5f2eddd4533480e053bd6868eab736b88fca5b061311374d8a4f2cadec100ad313b8a062604c6b38848d33a26a775524c250dbef7e2930204d82f
 SHA512 
333df9fc58b9d1d0c832241420321f8cbc84d722d1453f24b7f1990ae1e3065b103940d88f84d7d339b527c4cf5fe6e72c6eaa0b2c736d1b980e09228093f279
+DIST oneVPL-2023.3.0.tar.gz 6310097 BLAKE2B 
09d63cbed73a93727f770306ca4ee4b6418f87ffe2d0d6f53988569028ad8dba4226e5a4d19dedc4b5e10f037a798683e74acd456469413c9f7161c30bb5b010
 SHA512 
2f3b8f6b3bb26df062bf7e962ae45eb11f5a60d24f7a69e653e7afc9c0c7960b1c708a2d1c5bf18ad5e2981b01f877a08be2c7513bfc30b62574cd932ea9549b

diff --git a/media-libs/oneVPL/oneVPL-2023.3.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.3.0.ebuild
new file mode 100644
index ..0758b6389a95
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.3.0.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-05-31 Thread Andrew Ammerlaan
commit: 0561e1a7f57cad6537b3ef54926f26ec3f131913
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed May 31 06:55:17 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed May 31 06:55:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0561e1a7

media-libs/oneVPL-intel-gpu: drop 22.6.5, 23.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-22.6.5.ebuild | 46 --
 .../oneVPL-intel-gpu-23.2.0.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 56d7cb76766b..e6ef282b0c06 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,2 @@
-DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
-DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B 
b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f
 SHA512 
fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321
 DIST oneVPL-intel-gpu-23.2.1.tar.gz 6987103 BLAKE2B 
f4634aecfe3baba96b230d56915f864c1655c725fd05c72be9033406794afa7f501c42c13c442d676367a0ddbe176fcec9c1df6ec3013320fe3af2e348879ab8
 SHA512 
c097b0eb1879303d9138f8e92110216cd2e703ab3ad0ef2890678734b26b73037abc4724531f3ce4628993790f8de12bde82a9097df0f42e12a88b10ba5a9ae5
 DIST oneVPL-intel-gpu-23.2.2.tar.gz 6989173 BLAKE2B 
5e0d65f320df1b7c7bba4524b51f525a71595a33e6954b0f74e1b913e0e001e55321c93c43d18dc915fc29ae4c73d408852d993084564e74ea85a75d0e959fa9
 SHA512 
d419519c2369444ad0daf4ff6f12ddd57e4ffb6dcba05f686490adff65c693db563d306ab9ce76fa9d21d3c4b1b01717d0a8a1d63f595d6ceb43c11657dde7af

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
deleted file mode 100644
index 1f7c7bcb5019..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.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-23.2.0.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.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 )"
-
-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]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-05-31 Thread Andrew Ammerlaan
commit: d32263deaf6c9bd110902efbf76afc22d8da6d7e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed May 31 06:54:19 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed May 31 06:54:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32263de

media-libs/oneVPL-intel-gpu: add 23.2.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.2.2.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 218ab968b3a1..56d7cb76766b 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
 DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B 
b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f
 SHA512 
fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321
 DIST oneVPL-intel-gpu-23.2.1.tar.gz 6987103 BLAKE2B 
f4634aecfe3baba96b230d56915f864c1655c725fd05c72be9033406794afa7f501c42c13c442d676367a0ddbe176fcec9c1df6ec3013320fe3af2e348879ab8
 SHA512 
c097b0eb1879303d9138f8e92110216cd2e703ab3ad0ef2890678734b26b73037abc4724531f3ce4628993790f8de12bde82a9097df0f42e12a88b10ba5a9ae5
+DIST oneVPL-intel-gpu-23.2.2.tar.gz 6989173 BLAKE2B 
5e0d65f320df1b7c7bba4524b51f525a71595a33e6954b0f74e1b913e0e001e55321c93c43d18dc915fc29ae4c73d408852d993084564e74ea85a75d0e959fa9
 SHA512 
d419519c2369444ad0daf4ff6f12ddd57e4ffb6dcba05f686490adff65c693db563d306ab9ce76fa9d21d3c4b1b01717d0a8a1d63f595d6ceb43c11657dde7af

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-05-31 Thread Andrew Ammerlaan
commit: 315ecaf45e8dbb3f748090a53b795f53eb321f2b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed May 31 06:50:27 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed May 31 06:50:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315ecaf4

media-libs/oneVPL: drop 2023.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 -
 media-libs/oneVPL/oneVPL-2023.2.0.ebuild | 82 
 2 files changed, 83 deletions(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 09300603f332..535499882332 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,2 +1 @@
-DIST oneVPL-2023.2.0.tar.gz 6314718 BLAKE2B 
bf4f027e7533abcce1223f4211d893a137af85dd87cdea57f765d511e535e2fa57bd57fa7db04ae0d2ce4ccb02063d7d56976ec8e52dec9393a0f776446a7fc4
 SHA512 
d072906ab46a711513681bf70023f83e5c9bdd0999e65d1653e039c2d46aa0a66265812cba571be47c73310b831058984674c3d394bfd70f8b11df11e2f8e1d2
 DIST oneVPL-2023.2.1.tar.gz 6315268 BLAKE2B 
f5b5609c27f5f2eddd4533480e053bd6868eab736b88fca5b061311374d8a4f2cadec100ad313b8a062604c6b38848d33a26a775524c250dbef7e2930204d82f
 SHA512 
333df9fc58b9d1d0c832241420321f8cbc84d722d1453f24b7f1990ae1e3065b103940d88f84d7d339b527c4cf5fe6e72c6eaa0b2c736d1b980e09228093f279

diff --git a/media-libs/oneVPL/oneVPL-2023.2.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.2.0.ebuild
deleted file mode 100644
index 0758b6389a95..
--- a/media-libs/oneVPL/oneVPL-2023.2.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-05-11 Thread Andrew Ammerlaan
commit: d13df3db2bb502adff1713e163dcec1809324d73
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu May 11 15:21:27 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu May 11 15:26:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d13df3db

media-libs/oneVPL-intel-gpu: add 23.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.2.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 7b47b2e0206e..218ab968b3a1 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
 DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B 
b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f
 SHA512 
fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321
+DIST oneVPL-intel-gpu-23.2.1.tar.gz 6987103 BLAKE2B 
f4634aecfe3baba96b230d56915f864c1655c725fd05c72be9033406794afa7f501c42c13c442d676367a0ddbe176fcec9c1df6ec3013320fe3af2e348879ab8
 SHA512 
c097b0eb1879303d9138f8e92110216cd2e703ab3ad0ef2890678734b26b73037abc4724531f3ce4628993790f8de12bde82a9097df0f42e12a88b10ba5a9ae5

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-04-30 Thread Andrew Ammerlaan
commit: e58af635a86892e83e09257147eb490bc3ada3ac
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr 30 09:05:23 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 30 09:05:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58af635

media-libs/oneVPL-intel-gpu: drop 23.1.3, 23.1.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-23.1.3.ebuild | 46 --
 .../oneVPL-intel-gpu-23.1.5.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 6acb97411e93..7b47b2e0206e 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,2 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
-DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B 
a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f
 SHA512 
c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be
-DIST oneVPL-intel-gpu-23.1.5.tar.gz 6983380 BLAKE2B 
5eba00d2f02110d1fae9f5433c8ad63ec57b57a2374e9ea2a5b2ca3fb11a481c9181dda25fcc54e88d2d04b79b6f8d8d4c727235faceb66345a6780122f4c8b0
 SHA512 
5ccb786e3f9edde8255ab3b0161151428defbce8a465be7a2de0dfe7b6a8f91074e9bead4314aa2b81ca195b559ae97bba1e56f73c9bcf32d719f44cdf038362
 DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B 
b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f
 SHA512 
fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.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 )"
-
-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-intel-gpu/oneVPL-intel-gpu-23.1.5.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.5.ebuild
deleted file mode 100644
index 6d87d22aff64..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.5.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 )"
-
-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]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-04-30 Thread Andrew Ammerlaan
commit: 72c77935224d867e8833966f41c92d30114901c2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr 30 09:01:10 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 30 09:01:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c77935

media-libs/oneVPL: add 2023.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.2.1.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index c356312d85f7..e508b51a9a02 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -2,3 +2,4 @@ DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd171
 DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5
 DIST oneVPL-2023.1.3.tar.gz 6326127 BLAKE2B 
ad09f6bb3eca51c11d921ffe89472f255413e2930da6de43d2130dea9629a1dd87ede2260acec20b056f3320f4c0db1911ece01dcdd83b514f8820b8befcd787
 SHA512 
e5241873447545f8cbfe27fcab07426234054300d1d0839aff85aeb64cd8fb75fc52f2dfe946aa7ea98b60f05121593bac9f38b5d5ebfc9d3cdfaa50644daa1a
 DIST oneVPL-2023.2.0.tar.gz 6314718 BLAKE2B 
bf4f027e7533abcce1223f4211d893a137af85dd87cdea57f765d511e535e2fa57bd57fa7db04ae0d2ce4ccb02063d7d56976ec8e52dec9393a0f776446a7fc4
 SHA512 
d072906ab46a711513681bf70023f83e5c9bdd0999e65d1653e039c2d46aa0a66265812cba571be47c73310b831058984674c3d394bfd70f8b11df11e2f8e1d2
+DIST oneVPL-2023.2.1.tar.gz 6315268 BLAKE2B 
f5b5609c27f5f2eddd4533480e053bd6868eab736b88fca5b061311374d8a4f2cadec100ad313b8a062604c6b38848d33a26a775524c250dbef7e2930204d82f
 SHA512 
333df9fc58b9d1d0c832241420321f8cbc84d722d1453f24b7f1990ae1e3065b103940d88f84d7d339b527c4cf5fe6e72c6eaa0b2c736d1b980e09228093f279

diff --git a/media-libs/oneVPL/oneVPL-2023.2.1.ebuild 
b/media-libs/oneVPL/oneVPL-2023.2.1.ebuild
new file mode 100644
index ..0758b6389a95
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.2.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, 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-04-30 Thread Andrew Ammerlaan
commit: 2b3f667ab3c59db49b4309998ee219e80fd10d79
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr 30 09:01:19 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 30 09:01:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3f667a

media-libs/oneVPL: drop 2023.1.1, 2023.1.2, 2023.1.3-r1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest  |  3 --
 media-libs/oneVPL/oneVPL-2023.1.1.ebuild| 79 ---
 media-libs/oneVPL/oneVPL-2023.1.2.ebuild| 79 ---
 media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild | 82 -
 4 files changed, 243 deletions(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index e508b51a9a02..09300603f332 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,5 +1,2 @@
-DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa
-DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5
-DIST oneVPL-2023.1.3.tar.gz 6326127 BLAKE2B 
ad09f6bb3eca51c11d921ffe89472f255413e2930da6de43d2130dea9629a1dd87ede2260acec20b056f3320f4c0db1911ece01dcdd83b514f8820b8befcd787
 SHA512 
e5241873447545f8cbfe27fcab07426234054300d1d0839aff85aeb64cd8fb75fc52f2dfe946aa7ea98b60f05121593bac9f38b5d5ebfc9d3cdfaa50644daa1a
 DIST oneVPL-2023.2.0.tar.gz 6314718 BLAKE2B 
bf4f027e7533abcce1223f4211d893a137af85dd87cdea57f765d511e535e2fa57bd57fa7db04ae0d2ce4ccb02063d7d56976ec8e52dec9393a0f776446a7fc4
 SHA512 
d072906ab46a711513681bf70023f83e5c9bdd0999e65d1653e039c2d46aa0a66265812cba571be47c73310b831058984674c3d394bfd70f8b11df11e2f8e1d2
 DIST oneVPL-2023.2.1.tar.gz 6315268 BLAKE2B 
f5b5609c27f5f2eddd4533480e053bd6868eab736b88fca5b061311374d8a4f2cadec100ad313b8a062604c6b38848d33a26a775524c250dbef7e2930204d82f
 SHA512 
333df9fc58b9d1d0c832241420321f8cbc84d722d1453f24b7f1990ae1e3065b103940d88f84d7d339b527c4cf5fe6e72c6eaa0b2c736d1b980e09228093f279

diff --git a/media-libs/oneVPL/oneVPL-2023.1.1.ebuild 
b/media-libs/oneVPL/oneVPL-2023.1.1.ebuild
deleted file mode 100644
index 223184c18698..
--- a/media-libs/oneVPL/oneVPL-2023.1.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-04-30 Thread Andrew Ammerlaan
commit: c86362f40329a974a0788ae6f5aff8f2b288ab03
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr 30 09:02:05 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 30 09:02:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86362f4

media-libs/oneVPL-cpu: drop 2023.1.1, 2023.1.2, 2023.1.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  3 --
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild | 57 
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild | 57 
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild | 57 
 4 files changed, 174 deletions(-)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index 7ba6d70948bc..0179b5977a6a 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,4 +1 @@
-DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 
2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2
 SHA512 
d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8
-DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 
4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0
 SHA512 
e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af
-DIST oneVPL-cpu-2023.1.3.tar.gz 10138929 BLAKE2B 
bbbe20e7434abcf713fe43d7c1974bba20864fc8ab9087d5e22f82483500738190aaa7a4204ba68c4bcdb1d11552156df97485da09ef9f1084d7c3c60797b178
 SHA512 
6b9f4a350c771ad5e509f1d39aee67acc5d6501f62741855d3a13f41c29ee1c06b8d885873db2373a5413a0efc349eceaf915ddc789b5ef7da8bf4dfe21ae0d6
 DIST oneVPL-cpu-2023.2.0.tar.gz 10140311 BLAKE2B 
eacd9bdc30939c7701453b6cff051de0fddf810792cd6f2db027342f7756fa289ddb2571fab920c87fa51b09241cbf65fd13cbcd3840080ba15917a90dd0e992
 SHA512 
1b2755e384c3cfb88e2046d02f4414a51485cbc6fa4ce9c9aa9b48c0eb21a96e49d21640bc259dc8b9dafa76afa4d1619c6660e0d1757fcd2625a27e46553328

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild
deleted file mode 100644
index 513675dc8a74..
--- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild
+++ /dev/null
@@ -1,57 +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 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
deleted file mode 100644
index 513675dc8a74..
--- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild
+++ /dev/null
@@ -1,57 +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 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?]
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-04-30 Thread Andrew Ammerlaan
commit: 1fc08a5041ba19b58798b55f66af83f740a5d5e2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr 30 09:04:20 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 30 09:04:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc08a50

media-libs/oneVPL-intel-gpu: add 23.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.2.0.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index ad959dfc38b1..6acb97411e93 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
 DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B 
a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f
 SHA512 
c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be
 DIST oneVPL-intel-gpu-23.1.5.tar.gz 6983380 BLAKE2B 
5eba00d2f02110d1fae9f5433c8ad63ec57b57a2374e9ea2a5b2ca3fb11a481c9181dda25fcc54e88d2d04b79b6f8d8d4c727235faceb66345a6780122f4c8b0
 SHA512 
5ccb786e3f9edde8255ab3b0161151428defbce8a465be7a2de0dfe7b6a8f91074e9bead4314aa2b81ca195b559ae97bba1e56f73c9bcf32d719f44cdf038362
+DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B 
b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f
 SHA512 
fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-04-11 Thread Andrew Ammerlaan
commit: 5ba13867b2677db4a60b7f43f8d97dc9be6ad804
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Apr 11 18:18:54 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Apr 11 18:19:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba13867

media-libs/oneVPL: add 2023.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.2.0.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 9b81869ae306..c356312d85f7 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa
 DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5
 DIST oneVPL-2023.1.3.tar.gz 6326127 BLAKE2B 
ad09f6bb3eca51c11d921ffe89472f255413e2930da6de43d2130dea9629a1dd87ede2260acec20b056f3320f4c0db1911ece01dcdd83b514f8820b8befcd787
 SHA512 
e5241873447545f8cbfe27fcab07426234054300d1d0839aff85aeb64cd8fb75fc52f2dfe946aa7ea98b60f05121593bac9f38b5d5ebfc9d3cdfaa50644daa1a
+DIST oneVPL-2023.2.0.tar.gz 6314718 BLAKE2B 
bf4f027e7533abcce1223f4211d893a137af85dd87cdea57f765d511e535e2fa57bd57fa7db04ae0d2ce4ccb02063d7d56976ec8e52dec9393a0f776446a7fc4
 SHA512 
d072906ab46a711513681bf70023f83e5c9bdd0999e65d1653e039c2d46aa0a66265812cba571be47c73310b831058984674c3d394bfd70f8b11df11e2f8e1d2

diff --git a/media-libs/oneVPL/oneVPL-2023.2.0.ebuild 
b/media-libs/oneVPL/oneVPL-2023.2.0.ebuild
new file mode 100644
index ..0758b6389a95
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.2.0.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 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-04-11 Thread Andrew Ammerlaan
commit: b65347933c8ac0c5a4abfa00a0d7bb001429b989
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Apr 11 18:19:00 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Apr 11 18:19:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6534793

media-libs/oneVPL-cpu: add 2023.2.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  1 +
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index 1977480f15b4..7ba6d70948bc 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 
2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2
 SHA512 
d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8
 DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 
4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0
 SHA512 
e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af
 DIST oneVPL-cpu-2023.1.3.tar.gz 10138929 BLAKE2B 
bbbe20e7434abcf713fe43d7c1974bba20864fc8ab9087d5e22f82483500738190aaa7a4204ba68c4bcdb1d11552156df97485da09ef9f1084d7c3c60797b178
 SHA512 
6b9f4a350c771ad5e509f1d39aee67acc5d6501f62741855d3a13f41c29ee1c06b8d885873db2373a5413a0efc349eceaf915ddc789b5ef7da8bf4dfe21ae0d6
+DIST oneVPL-cpu-2023.2.0.tar.gz 10140311 BLAKE2B 
eacd9bdc30939c7701453b6cff051de0fddf810792cd6f2db027342f7756fa289ddb2571fab920c87fa51b09241cbf65fd13cbcd3840080ba15917a90dd0e992
 SHA512 
1b2755e384c3cfb88e2046d02f4414a51485cbc6fa4ce9c9aa9b48c0eb21a96e49d21640bc259dc8b9dafa76afa4d1619c6660e0d1757fcd2625a27e46553328

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild
new file mode 100644
index ..513675dc8a74
--- /dev/null
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-04-01 Thread Andrew Ammerlaan
commit: b676b7f579216ae040bf167ec58b6cb5980c93fc
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Apr  1 15:38:01 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Apr  1 15:38:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b676b7f5

media-libs/oneVPL-intel-gpu: drop 23.1.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 -
 .../oneVPL-intel-gpu-23.1.2.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 46cc023b44cb..ad959dfc38b1 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,4 +1,3 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
-DIST oneVPL-intel-gpu-23.1.2.tar.gz 6974931 BLAKE2B 
82c3b0cf92f57d7dd4c46f51d27450b53bd9816786f45999bca41ac628c7f293708772580c4a01467519b02f67181203a28eba03e4e85846f993886898b75af9
 SHA512 
2053e5ec0560a93ae0bcf3d5d0269807d7925eb5b76cc32fc34d157b900c227a74584cd6f84bdcd653f70e0d3f068f5cb6e891a892e71caef5bb9b146a5571cd
 DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B 
a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f
 SHA512 
c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be
 DIST oneVPL-intel-gpu-23.1.5.tar.gz 6983380 BLAKE2B 
5eba00d2f02110d1fae9f5433c8ad63ec57b57a2374e9ea2a5b2ca3fb11a481c9181dda25fcc54e88d2d04b79b6f8d8d4c727235faceb66345a6780122f4c8b0
 SHA512 
5ccb786e3f9edde8255ab3b0161151428defbce8a465be7a2de0dfe7b6a8f91074e9bead4314aa2b81ca195b559ae97bba1e56f73c9bcf32d719f44cdf038362

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.ebuild
deleted file mode 100644
index 1f7c7bcb5019..
--- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-04-01 Thread Andrew Ammerlaan
commit: f366a94b471967737cccbc08dcf63f3425778184
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Apr  1 15:37:42 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Apr  1 15:38:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f366a94b

media-libs/oneVPL-intel-gpu: add 23.1.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.1.5.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 921a03aad6fb..46cc023b44cb 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1,4 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
 DIST oneVPL-intel-gpu-23.1.2.tar.gz 6974931 BLAKE2B 
82c3b0cf92f57d7dd4c46f51d27450b53bd9816786f45999bca41ac628c7f293708772580c4a01467519b02f67181203a28eba03e4e85846f993886898b75af9
 SHA512 
2053e5ec0560a93ae0bcf3d5d0269807d7925eb5b76cc32fc34d157b900c227a74584cd6f84bdcd653f70e0d3f068f5cb6e891a892e71caef5bb9b146a5571cd
 DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B 
a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f
 SHA512 
c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be
+DIST oneVPL-intel-gpu-23.1.5.tar.gz 6983380 BLAKE2B 
5eba00d2f02110d1fae9f5433c8ad63ec57b57a2374e9ea2a5b2ca3fb11a481c9181dda25fcc54e88d2d04b79b6f8d8d4c727235faceb66345a6780122f4c8b0
 SHA512 
5ccb786e3f9edde8255ab3b0161151428defbce8a465be7a2de0dfe7b6a8f91074e9bead4314aa2b81ca195b559ae97bba1e56f73c9bcf32d719f44cdf038362

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.5.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.5.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.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 )"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-03-21 Thread Andrew Ammerlaan
commit: da006362c0020391909a534316fddd4f4ec948ca
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Mar 21 09:41:14 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Mar 21 20:55:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da006362

media-libs/oneVPL-intel-gpu: add 23.1.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.1.3.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 1e30b1513735..921a03aad6fb 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
 DIST oneVPL-intel-gpu-23.1.2.tar.gz 6974931 BLAKE2B 
82c3b0cf92f57d7dd4c46f51d27450b53bd9816786f45999bca41ac628c7f293708772580c4a01467519b02f67181203a28eba03e4e85846f993886898b75af9
 SHA512 
2053e5ec0560a93ae0bcf3d5d0269807d7925eb5b76cc32fc34d157b900c227a74584cd6f84bdcd653f70e0d3f068f5cb6e891a892e71caef5bb9b146a5571cd
+DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B 
a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f
 SHA512 
c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.ebuild
new file mode 100644
index ..6d87d22aff64
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.3.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-03-21 Thread Andrew Ammerlaan
commit: dc3742d93a480dbd8e8e8eda0a53b1254bffdb28
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Mar 21 08:46:44 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Mar 21 20:54:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3742d9

media-libs/oneVPL: add multilib support

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 ...L-2023.1.3.ebuild => oneVPL-2023.1.3-r1.ebuild} | 41 --
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/media-libs/oneVPL/oneVPL-2023.1.3.ebuild 
b/media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
similarity index 74%
rename from media-libs/oneVPL/oneVPL-2023.1.3.ebuild
rename to media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
index 223184c18698..0758b6389a95 100644
--- a/media-libs/oneVPL/oneVPL-2023.1.3.ebuild
+++ b/media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake optfeature
+inherit cmake-multilib optfeature
 
 DESCRIPTION="oneAPI Video Processing Library, dispatcher, tools, and examples"
 HOMEPAGE="https://github.com/oneapi-src/oneVPL;
@@ -13,34 +13,37 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="dri drm examples experimental +tools test vaapi wayland X"
+IUSE="dri drm examples experimental tools test vaapi wayland X"
 RESTRICT="!test? ( test )"
-# Most of these flags only have an effect on the tools
+# Tools fails to compile on 32-bit
 REQUIRED_USE="
dri? ( X drm )
-   drm? ( tools )
-   X? ( tools vaapi )
-   wayland? ( tools drm )
-   vaapi? ( tools )
+   X? ( vaapi )
+   wayland? ( drm )
+   abi_x86_32? ( !tools )
+   abi_x86_x32? ( !tools )
 "
 
-BDEPEND="virtual/pkgconfig"
-DEPEND="
-   x11-libs/libpciaccess
-   vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
-   drm? ( x11-libs/libdrm )
+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
-   dev-libs/wayland-protocols
+   dev-libs/wayland[${MULTILIB_USEDEP}]
)
X? (
-   x11-libs/libX11
-   x11-libs/libxcb
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libxcb[${MULTILIB_USEDEP}]
)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+   wayland? (
+   dev-libs/wayland-protocols
+   )
+"
+BDEPEND="virtual/pkgconfig"
 
-src_configure() {
+multilib_src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DBUILD_DISPATCHER=ON
@@ -65,7 +68,7 @@ src_configure() {
cmake_src_configure
 }
 
-src_install() {
+multilib_src_install() {
cmake_src_install
# Remove these license files
rm -r "${ED}/usr/share/vpl/licensing" || die



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-03-07 Thread Andrew Ammerlaan
commit: 98654d04ef5ff36e536594bc8f92f828aa8fa1d3
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Mar  7 08:26:08 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Mar  7 08:27:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98654d04

media-libs/oneVPL: add 2023.1.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.1.3.ebuild | 79 
 2 files changed, 80 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index fc53b5e77e59..9b81869ae306 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa
 DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5
+DIST oneVPL-2023.1.3.tar.gz 6326127 BLAKE2B 
ad09f6bb3eca51c11d921ffe89472f255413e2930da6de43d2130dea9629a1dd87ede2260acec20b056f3320f4c0db1911ece01dcdd83b514f8820b8befcd787
 SHA512 
e5241873447545f8cbfe27fcab07426234054300d1d0839aff85aeb64cd8fb75fc52f2dfe946aa7ea98b60f05121593bac9f38b5d5ebfc9d3cdfaa50644daa1a

diff --git a/media-libs/oneVPL/oneVPL-2023.1.3.ebuild 
b/media-libs/oneVPL/oneVPL-2023.1.3.ebuild
new file mode 100644
index ..223184c18698
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.1.3.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-03-07 Thread Andrew Ammerlaan
commit: 6e5159fd33da52961a5eb91588983dc228f9cffd
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Mar  7 08:26:46 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Mar  7 08:27:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5159fd

media-libs/oneVPL-cpu: add 2023.1.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  1 +
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index 2208fcb9f814..1977480f15b4 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 
2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2
 SHA512 
d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8
 DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 
4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0
 SHA512 
e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af
+DIST oneVPL-cpu-2023.1.3.tar.gz 10138929 BLAKE2B 
bbbe20e7434abcf713fe43d7c1974bba20864fc8ab9087d5e22f82483500738190aaa7a4204ba68c4bcdb1d11552156df97485da09ef9f1084d7c3c60797b178
 SHA512 
6b9f4a350c771ad5e509f1d39aee67acc5d6501f62741855d3a13f41c29ee1c06b8d885873db2373a5413a0efc349eceaf915ddc789b5ef7da8bf4dfe21ae0d6

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild
new file mode 100644
index ..513675dc8a74
--- /dev/null
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-03-06 Thread Andrew Ammerlaan
commit: 09d78c1e17bb37462144816e4f0327e995133900
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Mar  6 10:18:15 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Mar  6 10:21:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d78c1e

media-libs/oneVPL-intel-gpu: add 23.1.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-23.1.2.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 30aa1ccee98d..1e30b1513735 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1 +1,2 @@
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
+DIST oneVPL-intel-gpu-23.1.2.tar.gz 6974931 BLAKE2B 
82c3b0cf92f57d7dd4c46f51d27450b53bd9816786f45999bca41ac628c7f293708772580c4a01467519b02f67181203a28eba03e4e85846f993886898b75af9
 SHA512 
2053e5ec0560a93ae0bcf3d5d0269807d7925eb5b76cc32fc34d157b900c227a74584cd6f84bdcd653f70e0d3f068f5cb6e891a892e71caef5bb9b146a5571cd

diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.ebuild 
b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.ebuild
new file mode 100644
index ..1f7c7bcb5019
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.1.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-02-23 Thread Andrew Ammerlaan
commit: 8736794cf7deb8cf66d5bfb9ca869b6ee5a9f8ee
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 08:06:55 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8736794c

media-libs/oneVPL-intel-gpu: add 22.6.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-22.6.5.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 34cb25d3e02c..66c305731ddc 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +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
+DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-02-23 Thread Andrew Ammerlaan
commit: cc8d7ee09a4f678d4d16eb430fa746089ebd017c
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 08:07:05 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8d7ee0

media-libs/oneVPL-intel-gpu: drop 22.6.3, 22.6.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  2 -
 .../oneVPL-intel-gpu-22.6.3.ebuild | 46 --
 .../oneVPL-intel-gpu-22.6.4.ebuild | 46 --
 3 files changed, 94 deletions(-)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index 66c305731ddc..30aa1ccee98d 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,3 +1 @@
-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
 DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 
73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200
 SHA512 
505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5

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..
--- 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..
--- 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)"
- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-02-23 Thread Andrew Ammerlaan
commit: f80107404af9d16132388c4fe00a11bb5239526b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 08:00:33 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8010740

media-libs/oneVPL-cpu: drop 2022.2.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  1 -
 media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild | 57 
 2 files changed, 58 deletions(-)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index fa0ca5f1efb4..2208fcb9f814 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,3 +1,2 @@
-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
 DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 
4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0
 SHA512 
e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af

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..
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-02-23 Thread Andrew Ammerlaan
commit: f55f23c96ea54f9411b69003f658e5a8fff753ee
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 07:58:40 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55f23c9

media-libs/oneVPL: add 2023.1.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.1.2.ebuild | 79 
 2 files changed, 80 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 8706a1f7dd1d..836fa8b41796 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,2 +1,3 @@
 DIST oneVPL-2022.2.5.tar.gz 6517210 BLAKE2B 
1da487e9a4fbaa171f14213d0828c7dbed91d1f92d9641f10d9ef8fc895b4d51b33f80485b16e41e2cb15cd8d771f5c5f84370268cb2c347dc8e19d90d91a759
 SHA512 
7d100a347a109720f37d86c6dd86c216a75e77b9f032f5c066835fb5a3c7c7312bca81ffd3a30836c59d20e10863567788a247b4daa57721b3ba011c4e0cd34d
 DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa
+DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-02-23 Thread Andrew Ammerlaan
commit: dd6bb44e0fe8a9a3d696fdcac53d352d4c443f3a
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 08:00:25 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd6bb44e

media-libs/oneVPL-cpu: add 2023.1.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  1 +
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.2.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index fd2ffc221a50..fa0ca5f1efb4 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,2 +1,3 @@
 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
+DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 
4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0
 SHA512 
e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-02-23 Thread Andrew Ammerlaan
commit: 1bf2a214006d58eeb1933523da6bdcbc1404ef20
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 07:58:50 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 09:27:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf2a214

media-libs/oneVPL: drop 2022.2.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 -
 media-libs/oneVPL/oneVPL-2022.2.5.ebuild | 79 
 2 files changed, 80 deletions(-)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index 836fa8b41796..fc53b5e77e59 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1,3 +1,2 @@
-DIST oneVPL-2022.2.5.tar.gz 6517210 BLAKE2B 
1da487e9a4fbaa171f14213d0828c7dbed91d1f92d9641f10d9ef8fc895b4d51b33f80485b16e41e2cb15cd8d771f5c5f84370268cb2c347dc8e19d90d91a759
 SHA512 
7d100a347a109720f37d86c6dd86c216a75e77b9f032f5c066835fb5a3c7c7312bca81ffd3a30836c59d20e10863567788a247b4daa57721b3ba011c4e0cd34d
 DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa
 DIST oneVPL-2023.1.2.tar.gz 6317287 BLAKE2B 
d32eb5370ac32136337dae122238ddc9c8ccf2a3634f27d79ccb375a62e79054af8e1ad20677c2e11d522bd6978deeeb2ba04e1876cc1dd130f22ff2e9d2
 SHA512 
674e352375efcb8cce88965bfed33642c1bbfb707e6d26522b48ac670d7f1467b07b66f881b2d83a7f919f707f1782ecda709d5775545c5a87bb0058daa005c5

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..
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/

2023-01-03 Thread Andrew Ammerlaan
commit: a737f96d61c7f55fdd0789caa8f82b152c6924bd
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan  3 19:31:53 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan  3 19:32:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a737f96d

media-libs/oneVPL-cpu: add 2023.1.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest   |  1 +
 media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index de3a169e49f9..fd2ffc221a50 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1 +1,2 @@
 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

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild 
b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild
new file mode 100644
index ..513675dc8a74
--- /dev/null
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2023-01-03 Thread Andrew Ammerlaan
commit: 9a1670d3e031083028b4df70593d95c57cab5bcb
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan  3 19:30:10 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan  3 19:32:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1670d3

media-libs/oneVPL: add 2023.1.1

Closes: https://bugs.gentoo.org/888785
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/oneVPL-2023.1.1.ebuild | 79 
 2 files changed, 80 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
index c54912389c92..8706a1f7dd1d 100644
--- a/media-libs/oneVPL/Manifest
+++ b/media-libs/oneVPL/Manifest
@@ -1 +1,2 @@
 DIST oneVPL-2022.2.5.tar.gz 6517210 BLAKE2B 
1da487e9a4fbaa171f14213d0828c7dbed91d1f92d9641f10d9ef8fc895b4d51b33f80485b16e41e2cb15cd8d771f5c5f84370268cb2c347dc8e19d90d91a759
 SHA512 
7d100a347a109720f37d86c6dd86c216a75e77b9f032f5c066835fb5a3c7c7312bca81ffd3a30836c59d20e10863567788a247b4daa57721b3ba011c4e0cd34d
+DIST oneVPL-2023.1.1.tar.gz 6346209 BLAKE2B 
043064fb5781ec0f23cbc2eedb5371bdd1718ae862bd9ae492529ab501b034d2a8d5c4814c5ce219bd15894bc6139dd3b2bef7c7ac4b8a5e9cd37502f022faf8
 SHA512 
a3df5ebafd748a887cb581525d07af930d3e3b4930d5d2adc5bc2629e385d1802b3315b8f02a3c66956a3dbb46b008e680687ebf125b344a34e86b9cc0910faa

diff --git a/media-libs/oneVPL/oneVPL-2023.1.1.ebuild 
b/media-libs/oneVPL/oneVPL-2023.1.1.ebuild
new file mode 100644
index ..223184c18698
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2023.1.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2023-01-03 Thread Andrew Ammerlaan
commit: f718b98027723bd622ec58b8b48431963e1e9616
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan  3 19:23:32 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan  3 19:32:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f718b980

media-libs/oneVPL-intel-gpu: add 22.6.4

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 .../oneVPL-intel-gpu-22.6.4.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
index c6372d256f43..34cb25d3e02c 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1 +1,2 @@
 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

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
new file mode 100644
index ..1f7c7bcb5019
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/

2022-12-06 Thread Andrew Ammerlaan
commit: e729b3cd5338d75fa01f64730eda23ca7a09f628
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov 21 11:05:56 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec  6 18:00:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e729b3cd

media-libs/oneVPL-intel-gpu: new package, add 22.6.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-intel-gpu/Manifest   |  1 +
 media-libs/oneVPL-intel-gpu/metadata.xml   | 14 +++
 .../oneVPL-intel-gpu-22.6.3.ebuild | 46 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/oneVPL-intel-gpu/Manifest 
b/media-libs/oneVPL-intel-gpu/Manifest
new file mode 100644
index ..c6372d256f43
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -0,0 +1 @@
+DIST oneVPL-intel-gpu-22.6.3.tar.gz 6819100 BLAKE2B 
9c87c41c072b7e7ef2dd8adcc6843eea564582f4070d452babb6b1eeadc13eb12dbe2e9d6075821954b7f7194f2ed814d3c1f6463c3b078912ee42cd684d1277
 SHA512 
56b29513142dc434732e646e3ec3e8d60db542f3be315190b06e9b532e4aef98423be9a0b6f35e65489085786446ecbd1c1774d06bea7552aaa7fb71517f4fb9

diff --git a/media-libs/oneVPL-intel-gpu/metadata.xml 
b/media-libs/oneVPL-intel-gpu/metadata.xml
new file mode 100644
index ..1d48ba0cbeed
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/metadata.xml
@@ -0,0 +1,14 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   media-vi...@gentoo.org
+   
+   
+   andrewammerl...@gentoo.org
+   Andrew Ammerlaan
+   
+   
+   oneapi-src/oneVPL-intel-gpu
+   
+

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
new file mode 100644
index ..7e2c69f5b324
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild
@@ -0,0 +1,46 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/, media-libs/oneVPL-cpu/files/

2022-12-06 Thread Andrew Ammerlaan
commit: 93eeaafc69b6f4b7b62c329d2f86ef0b54eae7e3
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov 21 11:04:52 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec  6 18:00:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93eeaafc

media-libs/oneVPL-cpu: new package, add 2022.2.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL-cpu/Manifest |  1 +
 .../oneVPL-cpu-2022.2.5-respect-user-flags.patch   | 13 +
 .../oneVPL-cpu-2022.2.5-use-system-libs.patch  | 49 +++
 media-libs/oneVPL-cpu/metadata.xml | 18 +++
 media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild   | 57 ++
 5 files changed, 138 insertions(+)

diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
new file mode 100644
index ..de3a169e49f9
--- /dev/null
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -0,0 +1 @@
+DIST oneVPL-cpu-2022.2.5.tar.gz 9917180 BLAKE2B 
8e0beebc226a0984474ca6822769736c78e80959bd2df9fd4a34014a31e3439cd42b9a104dfefaa70043df03834246c973e1ba29cea3a9af94a48c2b1d08edcc
 SHA512 
e79b0f396bfcdb7156f8ec5b3008ddd813a0a01ade8e319f78afd3c9d862b111531c42a65ba19ea396b51d3e298608da271894867297dc95f51e4bcc19e9029e

diff --git 
a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch 
b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch
new file mode 100644
index ..59aad21af7f3
--- /dev/null
+++ b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 981574e..7bdf346 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -72,8 +72,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE true)
+ # Keep executable bits on shared objects when installing regardless of distro
+ set(CMAKE_INSTALL_SO_NO_EXE 0)
+ 
+-include(cmake/CompileOptions.cmake)
+-
+ if(NOT BUILD_GPL_X264)
+   if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(BUILD_OPENH264 ON)

diff --git 
a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch 
b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch
new file mode 100644
index ..aa9363a65e83
--- /dev/null
+++ b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch
@@ -0,0 +1,49 @@
+diff --git a/cpu/ext/ffmpeg-codecs/CMakeLists.txt 
b/cpu/ext/ffmpeg-codecs/CMakeLists.txt
+index 7bde28b..c8067c4 100644
+--- a/cpu/ext/ffmpeg-codecs/CMakeLists.txt
 b/cpu/ext/ffmpeg-codecs/CMakeLists.txt
+@@ -38,9 +38,9 @@ endif()
+ 
+ # Set basic FFmpeg and codec libs
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
+-  set(SVTHEVCENC_LIB ${VPL_DEP_DIR}/lib/libSvtHevcEnc.a)
+-  set(SVTAV1ENC_LIB ${VPL_DEP_DIR}/lib/libSvtAv1Enc.a)
+-  set(DAV1D_LIB ${VPL_DEP_DIR}/lib/libdav1d.a)
++  set(SVTHEVCENC_LIB ${VPL_DEP_DIR}/lib64/libSvtHevcEnc.so)
++  set(SVTAV1ENC_LIB ${VPL_DEP_DIR}/lib64/libSvtAv1Enc.so)
++  set(DAV1D_LIB ${VPL_DEP_DIR}/lib64/libdav1d.so)
+ 
+   if(NOT EXISTS ${SVTHEVCENC_LIB}
+  OR NOT EXISTS ${SVTAV1ENC_LIB}
+@@ -49,10 +49,10 @@ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
+   endif()
+ endif()
+ 
+-set(AVCODEC_LIB ${VPL_DEP_DIR}/lib/libavcodec.a)
+-set(AVUTIL_LIB ${VPL_DEP_DIR}/lib/libavutil.a)
+-set(AVFILTER_LIB ${VPL_DEP_DIR}/lib/libavfilter.a)
+-set(SWSCALE_LIB ${VPL_DEP_DIR}/lib/libswscale.a)
++set(AVCODEC_LIB ${VPL_DEP_DIR}/lib64/libavcodec.so)
++set(AVUTIL_LIB ${VPL_DEP_DIR}/lib64/libavutil.so)
++set(AVFILTER_LIB ${VPL_DEP_DIR}/lib64/libavfilter.so)
++set(SWSCALE_LIB ${VPL_DEP_DIR}/lib64/libswscale.so)
+ 
+ if(NOT EXISTS ${AVCODEC_LIB}
+OR NOT EXISTS ${AVUTIL_LIB}
+@@ -135,14 +135,14 @@ endif()
+ 
+ # Set AVC encoder lib name
+ if(BUILD_GPL_X264)
+-  set(H264_ENC_LIB ${VPL_DEP_DIR}/lib/libx264.a)
++  set(H264_ENC_LIB ${VPL_DEP_DIR}/lib64/libx264.so)
+   if(NOT EXISTS ${H264_ENC_LIB})
+ message(FATAL_ERROR "Could not find x264 libraries")
+   else()
+ message(STATUS "Building with GPL x264 for AVC implementation")
+   endif()
+ elseif(BUILD_OPENH264)
+-  set(H264_ENC_LIB ${VPL_DEP_DIR}/lib/libopenh264.a)
++  set(H264_ENC_LIB ${VPL_DEP_DIR}/lib64/libopenh264.so)
+   if(NOT EXISTS ${H264_ENC_LIB})
+ message(FATAL_ERROR "Could not find openh264 libraries")
+   else()

diff --git a/media-libs/oneVPL-cpu/metadata.xml 
b/media-libs/oneVPL-cpu/metadata.xml
new file mode 100644
index ..d738daf38bf1
--- /dev/null
+++ b/media-libs/oneVPL-cpu/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   media-vi...@gentoo.org
+   
+   
+   andrewammerl...@gentoo.org
+   Andrew Ammerlaan
+   
+   
+   oneapi-src/oneVPL-cpu
+   
+   
+   Enable experimental API
+   Use media-libs/openh264 
instead of media-libs/x264
+   
+

diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild 

[gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/

2022-12-06 Thread Andrew Ammerlaan
commit: 419fd60938b5731671f4d7431abde910662cb682
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov 21 11:02:39 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec  6 17:40:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=419fd609

media-libs/oneVPL: new package, add 2022.2.5

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/oneVPL/Manifest   |  1 +
 media-libs/oneVPL/metadata.xml   | 19 
 media-libs/oneVPL/oneVPL-2022.2.5.ebuild | 79 
 3 files changed, 99 insertions(+)

diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest
new file mode 100644
index ..c54912389c92
--- /dev/null
+++ b/media-libs/oneVPL/Manifest
@@ -0,0 +1 @@
+DIST oneVPL-2022.2.5.tar.gz 6517210 BLAKE2B 
1da487e9a4fbaa171f14213d0828c7dbed91d1f92d9641f10d9ef8fc895b4d51b33f80485b16e41e2cb15cd8d771f5c5f84370268cb2c347dc8e19d90d91a759
 SHA512 
7d100a347a109720f37d86c6dd86c216a75e77b9f032f5c066835fb5a3c7c7312bca81ffd3a30836c59d20e10863567788a247b4daa57721b3ba011c4e0cd34d

diff --git a/media-libs/oneVPL/metadata.xml b/media-libs/oneVPL/metadata.xml
new file mode 100644
index ..a3315c4abeff
--- /dev/null
+++ b/media-libs/oneVPL/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   media-vi...@gentoo.org
+   
+   
+   andrewammerl...@gentoo.org
+   Andrew Ammerlaan
+   
+   
+   oneapi-src/oneVPL
+   
+   
+   Build with DRM support
+   Build dispatcher with experimental 
APIs
+   Build decode/encode/analyse/inspect 
tools
+   
+

diff --git a/media-libs/oneVPL/oneVPL-2022.2.5.ebuild 
b/media-libs/oneVPL/oneVPL-2022.2.5.ebuild
new file mode 100644
index ..c8862a2292bb
--- /dev/null
+++ b/media-libs/oneVPL/oneVPL-2022.2.5.ebuild
@@ -0,0 +1,79 @@
+# 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
+}