diff options
Diffstat (limited to 'media-libs/oneVPL-intel-gpu')
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 2 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 46bc3750ef23..6a5f80144cdb 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,5 @@ DIST oneVPL-intel-gpu-22.6.3.tar.gz 6819100 BLAKE2B 9c87c41c072b7e7ef2dd8adcc6843eea564582f4070d452babb6b1eeadc13eb12dbe2e9d6075821954b7f7194f2ed814d3c1f6463c3b078912ee42cd684d1277 SHA512 56b29513142dc434732e646e3ec3e8d60db542f3be315190b06e9b532e4aef98423be9a0b6f35e65489085786446ecbd1c1774d06bea7552aaa7fb71517f4fb9 +DIST oneVPL-intel-gpu-22.6.4.tar.gz 6820037 BLAKE2B 0e91c91e31fbab69468f4ef351e6674551c02a7a42099b17b3e8fee07a2b8a1ea5884b2becee78d406cf881b3199a6b9823b690334dfd087b7e589309b382d17 SHA512 6d8c144e7efa0f900fab282fceb2d9f58e68212ed71c0e70ce3b9098f7dfba9f441d0ac181082387d254fcf171ef35746ac72edd7351a8065d0fd0f98e4b8ed6 EBUILD oneVPL-intel-gpu-22.6.3.ebuild 1184 BLAKE2B 38714a7bf7d4c044540652f430378aa6930b65e7eab925941be748e1547519f78ee44b54a7c677e7325ccbe107bd04dd5a811d04c1a009cff3e27469ac03187a SHA512 1758be8b6e3ea52d174148df81a5970e4ccc2782ada6b03ea272eb7874c5b9956ef6b85110816378b0c780cc4805b19d0fec7d15c3c08b2ea36f9b7e3ce99d51 +EBUILD oneVPL-intel-gpu-22.6.4.ebuild 1189 BLAKE2B 8a6ed3716eb86c59cafe38febd015d9d66ed96f7db2397f9b3cf97283ed367d8d3ff49a764f97a0f59b831611576792df1398bd29d1cc740be7e0e6ccad8f62a SHA512 92c6095b06adfb4d3e697c8a2958d2afa9b5a50d13c1c16b870540be3356006a81913db012afbc8f5f9e0db96c29b95da6c547e9b9613666bbcdf932b33574db MISC metadata.xml 434 BLAKE2B f5f6ea2e0ebac9ba06ebdb2a8469e99171f25ad08d8e992695e7d189f5c3f8fb3e966d710fe02cbd1f590f2137e265d9bf5014f0d9e7a492574b526360d70133 SHA512 713bf6044fd4d5606568af248dc0adf1a93c5917fb7d6d79c7a033a5b52a0164769b02086caa0a4492979c586511b5a4d7b85fe603ffe80d4884786e05dc520e 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 000000000000..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 +} |