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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B14B15AD33 for ; Thu, 11 May 2023 15:28:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D998E0DA4; Thu, 11 May 2023 15:28:00 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4053BE0DA4 for ; Thu, 11 May 2023 15:28:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E47C340B4D for ; Thu, 11 May 2023 15:27:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FF43A61 for ; Thu, 11 May 2023 15:27:57 +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: <1683818831.97c6be6e391d4857cad41fc70a0157ae7ac4ae5e.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.2.1.ebuild X-VCS-Directories: media-libs/intel-mediasdk/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 97c6be6e391d4857cad41fc70a0157ae7ac4ae5e X-VCS-Branch: master Date: Thu, 11 May 2023 15:27:57 +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: fd1ecc71-0c6d-4953-b661-debbe2ddc0fc X-Archives-Hash: d0f5a0b194f0d730db43e8dd69be8adf commit: 97c6be6e391d4857cad41fc70a0157ae7ac4ae5e Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu May 11 15:26:08 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu May 11 15:27:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c6be6e media-libs/intel-mediasdk: add 23.2.1 Signed-off-by: Andrew Ammerlaan gentoo.org> media-libs/intel-mediasdk/Manifest | 1 + .../intel-mediasdk/intel-mediasdk-23.2.1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/media-libs/intel-mediasdk/Manifest b/media-libs/intel-mediasdk/Manifest index e6f67bd8f8e7..39d5078748f0 100644 --- a/media-libs/intel-mediasdk/Manifest +++ b/media-libs/intel-mediasdk/Manifest @@ -1,2 +1,3 @@ DIST intel-mediasdk-22.6.5.tar.gz 11657890 BLAKE2B 53b38f7b3757895f65badb7e43e5d1f1112f744dd4a43ea9313f7bfbdf889088310b2093ccd45794426f0ac5e38ca8d901790d4963945648a3b99922476d02e0 SHA512 af9a59a9a7e9477672a875f454988cc49d8b782b32701ba681efa6dda445239e133b00f9366fc58ddadf79beef0ee74f1165990f0b8194124a841b36d5dca6bc DIST intel-mediasdk-23.2.0.tar.gz 22528541 BLAKE2B 12b613ea4e60c99383edb7703892931d5b787d78610972e1cc64c679333ca421c947075cbaec660db1ab4a5f0ac1f816bfa0f0e037e3800612cbfbd2b5038389 SHA512 43faa24cd2b8270dd74845063e2a61635e9d0adf5cf335f5eb805d686cc9feb22e69f1e14fd5cc75c0a4fc665898dde121c469a70a681caace3e18efad57ead5 +DIST intel-mediasdk-23.2.1.tar.gz 22528440 BLAKE2B ee1da0ab86dfce2bb69df3b03fd6773550cbd974ff7461a1ff46a69913194bb7b71a184985f54d82532f6cdd3d5970439bfd9423260849a7cd09541feda59154 SHA512 f37bfb2b2358dbbe68075f03a0ab9b387b063639ad31c247b5d61fb009bc5cc51642109af6dbdeeb07988a3fdd08a5d2f280b2460dfa6c7fc77047c4336e2499 diff --git a/media-libs/intel-mediasdk/intel-mediasdk-23.2.1.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-23.2.1.ebuild new file mode 100644 index 000000000000..a0674e307b13 --- /dev/null +++ b/media-libs/intel-mediasdk/intel-mediasdk-23.2.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib 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" +REQUIRED_USE=" + dri? ( X ) +" + +# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples +# bug #805224 +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] + >=media-libs/libva-intel-media-driver-${PV}[${MULTILIB_USEDEP}] + media-libs/libva[X?,wayland?,${MULTILIB_USEDEP}] + x11-libs/libdrm[video_cards_intel,${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=" + wayland? ( + dev-util/wayland-scanner + ) +" + +PATCHES=( + # https://github.com/Intel-Media-SDK/MediaSDK/pull/2998 + "${FILESDIR}/${PN}-23.2.0-gcc13.patch" +) + +multilib_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 +}