diff options
Diffstat (limited to 'media-libs/libvpl')
-rw-r--r-- | media-libs/libvpl/Manifest | 6 | ||||
-rw-r--r-- | media-libs/libvpl/libvpl-2.10.2.ebuild | 84 | ||||
-rw-r--r-- | media-libs/libvpl/libvpl-2.12.0.ebuild | 51 | ||||
-rw-r--r-- | media-libs/libvpl/metadata.xml | 5 |
4 files changed, 54 insertions, 92 deletions
diff --git a/media-libs/libvpl/Manifest b/media-libs/libvpl/Manifest index 213e07e97ba4..6133f2f9db48 100644 --- a/media-libs/libvpl/Manifest +++ b/media-libs/libvpl/Manifest @@ -1,5 +1,5 @@ -DIST libvpl-2.10.2.tar.gz 11872075 BLAKE2B 6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37 SHA512 e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d DIST libvpl-2.11.0.tar.gz 11372299 BLAKE2B b9e95505468d8771ba9fa29c3024db2f3d2ad78d2be62c7b405c8cfd29cd5601ee10445de4ffb42c27c412760192c7505b6fb94391dddadf5118d5c785b8df74 SHA512 9b6be42fbf6c8ac48b6f04607b6c6acea7ba0ef8434b323cb1d307ac4e917144351ae9f64d2f8c5f9a5668b8623557e231b0aaf0d579cc9718c6113c37f81804 -EBUILD libvpl-2.10.2.ebuild 2380 BLAKE2B 6ec4c2f8810eff0bd37b9fd69bfd50e02fe7fda04dc91588e28c884e74306a280ddccfa29b4dc8e702ef634906a669a83eadc9a0f27ac6b024ca249317eb3d96 SHA512 d401d0529bd8eda7062f59b3222d82d88903ad3cdba06dba6926f4faa2c8d01c05f6f987640aa4320ad4050d8953e8b9bea56cdda69d44e03b5b663707075d25 +DIST libvpl-2.12.0.tar.gz 11398775 BLAKE2B e1f0a59f7261dae399eae39318b0c9c9fc671a013c4b7442af34025dce981112f6d254e39f1de432e4f4f155d00148ec9c89652e05734e1ba9cfd6e14f54d4c0 SHA512 4a9f0272684c896ca8a11c316fe05f7ea60c0cd402b0b474a90523f5aca1a16cffac84d89758c27d837ca6e7ac68b82d6aec028ee7aa237626a2194709f48782 EBUILD libvpl-2.11.0.ebuild 1261 BLAKE2B ba5b407e308945f7d6eb0919641d153181bc358571e353b17c3e14925624687ab432a610f044d941731d2ae1d3b21358f189f3697cdd8260820293f8123a4cbc SHA512 8e346e1b0757b1fe16b9897a659e90e2148e2981b3c1b53aff51712af8b16666c4860aefeadf9666e73f4faa6bad2f35a056cff7e34762a7a60733e114e4fd0a -MISC metadata.xml 628 BLAKE2B 6e1cb517bc3732e69840258317fc6c02db8ecf5c7ef9961cdd501a16cd93eece14372976f207d15bf4b89d3afc076ff5f0e073b8710bbf18b45fa108001b4520 SHA512 89108483f9020309cc4ba350c5671fe01abd13fd64d0f6accbe5f049b3b60fc312489b62dd8e9c2eac6b2310907ae61929307beadc8508e0a534003bf18d7a4a +EBUILD libvpl-2.12.0.ebuild 1261 BLAKE2B ba5b407e308945f7d6eb0919641d153181bc358571e353b17c3e14925624687ab432a610f044d941731d2ae1d3b21358f189f3697cdd8260820293f8123a4cbc SHA512 8e346e1b0757b1fe16b9897a659e90e2148e2981b3c1b53aff51712af8b16666c4860aefeadf9666e73f4faa6bad2f35a056cff7e34762a7a60733e114e4fd0a +MISC metadata.xml 419 BLAKE2B f0a67c2ef81927f664289847a3432021bc314b91e5544b046865388bd6c73defce5142e7308bc14b06b4c1fd081a12cb8991cd92e3a81849da3dad497ff73a93 SHA512 73b088bdb91a03118fee1e04ef2c403be4e50cd5460d67fdfef370e7f57dd5aab91364f0d002208fd1e2c48f9dee2bb8fe439f26410b750e231d1c01f0139589 diff --git a/media-libs/libvpl/libvpl-2.10.2.ebuild b/media-libs/libvpl/libvpl-2.10.2.ebuild deleted file mode 100644 index 43d03b86a016..000000000000 --- a/media-libs/libvpl/libvpl-2.10.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib optfeature - -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}" - -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 ) - tools? ( vaapi ) -" - -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)" - -DTOOLS_ENABLE_X11="$(multilib_native_usex tools $(usex X))" - -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/libvpl/libvpl-2.12.0.ebuild b/media-libs/libvpl/libvpl-2.12.0.ebuild new file mode 100644 index 000000000000..915dea848836 --- /dev/null +++ b/media-libs/libvpl/libvpl-2.12.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib optfeature flag-o-matic + +DESCRIPTION="Intel Video Processing Library dispatcher" +HOMEPAGE="https://github.com/intel/libvpl/" +SRC_URI="https://github.com/intel/libvpl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + filter-lto + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_TESTS="$(usex test)" + -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/libvpl/metadata.xml b/media-libs/libvpl/metadata.xml index 77f4c9b27db9..3414bc8c7e63 100644 --- a/media-libs/libvpl/metadata.xml +++ b/media-libs/libvpl/metadata.xml @@ -11,9 +11,4 @@ <upstream> <remote-id type="github">intel/libvpl</remote-id> </upstream> - <use> - <flag name="drm">Build with DRM support</flag> - <flag name="experimental">Build dispatcher with experimental APIs</flag> - <flag name="tools">Build decode/encode/analyse/inspect tools</flag> - </use> </pkgmetadata> |