summaryrefslogtreecommitdiff
path: root/media-libs/libvpl
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libvpl')
-rw-r--r--media-libs/libvpl/Manifest2
-rw-r--r--media-libs/libvpl/libvpl-2.14.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/libvpl/Manifest b/media-libs/libvpl/Manifest
index a9cc63d79cd1..76edb41ffd31 100644
--- a/media-libs/libvpl/Manifest
+++ b/media-libs/libvpl/Manifest
@@ -1,4 +1,6 @@
AUX libvpl-2.13.0_do-not-fortify-source.patch 621 BLAKE2B f442e69117e900a7d68c62bd131ed4de0d714f3496eb392d15f0b75b9faa27f05d234a2afe9ce016d29876e5ef3ef8a1bbe55eeac2bb21a8348b36fd7604c1f8 SHA512 3c312dee1360882523dcc9e57290cc3b4857f0361578d289625d0dc7dad73b2618fa83c7a44d387c46bef83bbe7b41d30120e006876621e49d7c089470e17163
DIST libvpl-2.13.0.tar.gz 12952887 BLAKE2B e90bb3a99127b07dc29c9bf8ea2411f4b360344e11050c1e5821840eed9a54c0d73d88aabf425dbda7313b95e416f5323ee535b9c5e5f11d76c4e0465e1ca16e SHA512 22b9f409a9b8ed551847e1b5a94d0c48502b5fbf68ec28021ba36d3f851ef83896205977e6b7f52c102f747a8fbc793424181ecd7edaf6058a39dc15b78d19cd
+DIST libvpl-2.14.0.tar.gz 12958172 BLAKE2B 2aa47e076da70969233a47e79a3c92bb1c406221f8cf335f55745f7b3a25ea688d6a07d413a80afbab67d8576b7480472a319acdff452bec9a62ef67103f589f SHA512 7557f4054b84ba4425e6a50c4abd24594ef7c9a21c27137a971987634cdf5ed54e82c76d92b6740f3183a49b92edb6a5848f584c619bd30b2fbd821706bba1e4
EBUILD libvpl-2.13.0-r1.ebuild 1322 BLAKE2B cbe04b31cc052ac6e5974879ef5dd78914c7c6fcb034444dbdcdaa8f9f8280506b6c8a9bd48807f0ac77fabdc2ced6a2881ebb510fca5a3209ca10f209bd23f8 SHA512 1418264f49209f2873c1f574ee9e0d93453e909ead581e2a8a67d73f1b48d81decbce08876329199ba7c2d1a37bb65e1321c51ba4f18ca1a12a5d85610f22258
+EBUILD libvpl-2.14.0.ebuild 1322 BLAKE2B cbe04b31cc052ac6e5974879ef5dd78914c7c6fcb034444dbdcdaa8f9f8280506b6c8a9bd48807f0ac77fabdc2ced6a2881ebb510fca5a3209ca10f209bd23f8 SHA512 1418264f49209f2873c1f574ee9e0d93453e909ead581e2a8a67d73f1b48d81decbce08876329199ba7c2d1a37bb65e1321c51ba4f18ca1a12a5d85610f22258
MISC metadata.xml 547 BLAKE2B 92a2d90d5d73f9098394281434bc44090255debcb56b9cbf62922e2725a8411badeddd5066e1d23e008f2c197d5e05cf7d7ec1a332e98c7c8684b9260394ce85 SHA512 782288e953949c7e7d362df567e10ca784473975d470d2f0eca1ebba2fcca13f1521d52711acc3c74dd259a617c95d9c343de87ab8f573595950e26b8638090b
diff --git a/media-libs/libvpl/libvpl-2.14.0.ebuild b/media-libs/libvpl/libvpl-2.14.0.ebuild
new file mode 100644
index 000000000000..78694b54c476
--- /dev/null
+++ b/media-libs/libvpl/libvpl-2.14.0.ebuild
@@ -0,0 +1,53 @@
+# 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"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.13.0_do-not-fortify-source.patch )
+
+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/vpl-gpu-rt
+ optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk
+}