From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ED3DD15802F for ; Mon, 6 Mar 2023 10:22:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D238E08F1; Mon, 6 Mar 2023 10:22:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8182E08F1 for ; Mon, 6 Mar 2023 10:22:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2A7A3412B8 for ; Mon, 6 Mar 2023 10:22:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8222089F for ; Mon, 6 Mar 2023 10:22:05 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1678098118.aa7f953c1cf5f55973df1c10a11902c4497c3c18.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/intel-mediasdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/intel-mediasdk/Manifest media-libs/intel-mediasdk/intel-mediasdk-23.1.2.ebuild X-VCS-Directories: media-libs/intel-mediasdk/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: aa7f953c1cf5f55973df1c10a11902c4497c3c18 X-VCS-Branch: master Date: Mon, 6 Mar 2023 10:22:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b8b4638-00b3-4962-a3bf-73d4d7107270 X-Archives-Hash: c10288ded86f5d8f5a033f93a6b2ce5f commit: aa7f953c1cf5f55973df1c10a11902c4497c3c18 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Mar 6 10:21:27 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Mar 6 10:21:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa7f953c media-libs/intel-mediasdk: add 23.1.2 Signed-off-by: Andrew Ammerlaan gentoo.org> media-libs/intel-mediasdk/Manifest | 1 + .../intel-mediasdk/intel-mediasdk-23.1.2.ebuild | 82 ++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/media-libs/intel-mediasdk/Manifest b/media-libs/intel-mediasdk/Manifest index fbd85b044d4f..fc4891fc145d 100644 --- a/media-libs/intel-mediasdk/Manifest +++ b/media-libs/intel-mediasdk/Manifest @@ -1 +1,2 @@ DIST intel-mediasdk-22.6.5.tar.gz 11657890 BLAKE2B 53b38f7b3757895f65badb7e43e5d1f1112f744dd4a43ea9313f7bfbdf889088310b2093ccd45794426f0ac5e38ca8d901790d4963945648a3b99922476d02e0 SHA512 af9a59a9a7e9477672a875f454988cc49d8b782b32701ba681efa6dda445239e133b00f9366fc58ddadf79beef0ee74f1165990f0b8194124a841b36d5dca6bc +DIST intel-mediasdk-23.1.2.tar.gz 11658547 BLAKE2B fb4314bb539630090594835b869c19c639097305cb3b72a14fca2c8b0e429c1c73a9736460db5852d4e2899efbca9aac076f8ff37da0851ac078ece913dab6ad SHA512 1f6a31197fc1f2670f36e1602cc7a194a02cd809470c7f4de630d68f0cbf9b643207491ce2f3c5b2d94af8843bfb9383d202e0f2ea8552e48307b7ad15a0cbb6 diff --git a/media-libs/intel-mediasdk/intel-mediasdk-23.1.2.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-23.1.2.ebuild new file mode 100644 index 000000000000..27755b2b6e96 --- /dev/null +++ b/media-libs/intel-mediasdk/intel-mediasdk-23.1.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature + +if [[ ${PV} == *9999 ]] ; then + : ${EGIT_REPO_URI:="https://github.com/Intel-Media-SDK/MediaSDK"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +fi + +DESCRIPTION="Intel Media SDK" +HOMEPAGE="https://github.com/Intel-Media-SDK/MediaSDK" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +else + SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz" + S="${WORKDIR}/MediaSDK-intel-mediasdk-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" + +IUSE="dri test +tools wayland X" +# Test not working at the moment +#RESTRICT="!test? ( test )" +RESTRICT="test" +# Most of these flags only have an effect on the tools +REQUIRED_USE=" + dri? ( X ) + wayland? ( tools ) + X? ( tools ) +" + +# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples +# bug #805224 +DEPEND=" + x11-libs/libpciaccess + >=media-libs/libva-intel-media-driver-${PV} + media-libs/libva[X?,wayland?] + x11-libs/libdrm[video_cards_intel] + wayland? ( + dev-libs/wayland + dev-util/wayland-scanner + dev-libs/wayland-protocols + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + # OpenCL only has an effect if we build kernels + -DENABLE_OPENCL=OFF + -DBUILD_TUTORIALS=OFF + # Need to package the cm-compiler to build kernels, use pre-built instead + -DBUILD_KERNELS=OFF + -DBUILD_RUNTIME=ON + -DBUILD_DISPATCHER=ON + -DBUILD_TOOLS="$(usex tools)" + # Cannot build tools without samples + -DBUILD_SAMPLES="$(usex tools)" + -DBUILD_TESTS="$(usex test)" + -DENABLE_X11="$(usex X)" + -DENABLE_X11_DRI3="$(usex dri)" + -DENABLE_WAYLAND="$(usex wayland)" + ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu +}