From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1525854-garchives=archives.gentoo.org@lists.gentoo.org>
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 064D5158003
	for <garchives@archives.gentoo.org>; Tue,  6 Jun 2023 00:59:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3847CE07F1;
	Tue,  6 Jun 2023 00:59:53 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 0E185E07F1
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Jun 2023 00:59:52 +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 01D75340ED0
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Jun 2023 00:59:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 462588DC
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Jun 2023 00:59:50 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1686012560.1b6d2f5ed395c36d4cf28976c1e3eaed8940c6b0.mattst88@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libva-intel-media-driver/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libva-intel-media-driver/Manifest media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.3.ebuild
X-VCS-Directories: media-libs/libva-intel-media-driver/
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: 1b6d2f5ed395c36d4cf28976c1e3eaed8940c6b0
X-VCS-Branch: master
Date: Tue,  6 Jun 2023 00:59:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 42470ba9-2274-49f7-a781-a282716ba03d
X-Archives-Hash: d880614facc99f82922e9f5f503c8a19

commit:     1b6d2f5ed395c36d4cf28976c1e3eaed8940c6b0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  6 00:49:20 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jun  6 00:49:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6d2f5e

media-libs/libva-intel-media-driver: Version bump to 23.2.3

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libva-intel-media-driver/Manifest       |  1 +
 .../libva-intel-media-driver-23.2.3.ebuild         | 57 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index 4f95c7351fb7..a0f81deba004 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -1,2 +1,3 @@
 DIST intel-media-23.1.6.tar.gz 28641715 BLAKE2B 5f0ad615c95347dc2be95280b225345aec35c88c5b7560c86221c004d0b66a9ac929d68a38252fcf66a4a798bf733794c315683ce239e7946ba285b3dbaed462 SHA512 4068aafb45c5dc7877aeaad5343701ba490c0a369fb3d4d26a2732d8d92e1e39cadd7c662184190bbcecece5dd65271f02a3e260b607ccda3ff7f47dbc798af1
 DIST intel-media-23.2.2.tar.gz 28638288 BLAKE2B 0bce0a7bdd8ce204c074ef975fbc67840df79a5127ed75dc4beb2d18f01df51859e4ecfde256ccd03c5568bba3cc2e99b8e0b8e280f90ede77f6cab852e2656b SHA512 e1e08c7ab13c557087ec3a2ad5470e67436d71acaee2ce0faa056df66c32d126843fc65a44959c42e5ee728870d149e7b990f3df7929050c589a3b663836bf8b
+DIST intel-media-23.2.3.tar.gz 28653410 BLAKE2B 75f00b27c02782b4337bf96a2653bfb7bd2837f3f8b71e52fed9877066699bf6c449be47d50578bbe5b6b97363b5b7c7d967347e130a84ad42572d0ca976e121 SHA512 629e373fc9cffed31b140389911998b71b8124cd7b32df5d904240f32fc4bd7233fdef656f4906ddf67c880ed35e8ca4e9dabf235b3779e930a8babd6f13b9c6

diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.3.ebuild
new file mode 100644
index 000000000000..4e88c88c1c0a
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+if [[ ${PV} == *9999 ]] ; then
+	: ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+	if [[ ${PV%9999} != "" ]] ; then
+		: ${EGIT_BRANCH:="release/${PV%.9999}"}
+	fi
+	inherit git-r3
+else
+	MY_PV="${PV%_pre}"
+	SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz"
+	S="${WORKDIR}/media-driver-intel-media-${MY_PV}"
+	if [[ ${PV} != *_pre* ]] ; then
+		KEYWORDS="~amd64"
+	fi
+fi
+
+DESCRIPTION="Intel Media Driver for VA-API (iHD)"
+HOMEPAGE="https://github.com/intel/media-driver"
+
+LICENSE="MIT BSD redistributable? ( no-source-code )"
+SLOT="0"
+IUSE="+redistributable test X"
+
+RESTRICT="!test? ( test )"
+
+DEPEND=">=media-libs/gmmlib-22.3.0:=[${MULTILIB_USEDEP}]
+	>=media-libs/libva-2.14.0[X?,${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch
+	"${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch
+)
+
+multilib_src_configure() {
+	# https://github.com/intel/media-driver/issues/356
+	append-cxxflags -D_FILE_OFFSET_BITS=64
+
+	local mycmakeargs=(
+		-DMEDIA_BUILD_FATAL_WARNINGS=OFF
+		-DMEDIA_RUN_TEST_SUITE=$(usex test)
+		-DBUILD_TYPE=Release
+		-DPLATFORM=linux
+		-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X)
+		-DENABLE_NONFREE_KERNELS=$(usex redistributable)
+		-DLATEST_CPP_NEEDED=ON # Seems to be the best option for now
+	)
+	local CMAKE_BUILD_TYPE="Release"
+	cmake_src_configure
+}