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 1B79015ACFC for ; Sun, 7 May 2023 15:28:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53AEBE07D0; Sun, 7 May 2023 15:28:14 +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 36471E07D0 for ; Sun, 7 May 2023 15:28:14 +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 36B91340E10 for ; Sun, 7 May 2023 15:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 952C8A4D for ; Sun, 7 May 2023 15:28:11 +0000 (UTC) From: "Matt Turner" 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" Message-ID: <1683473287.4a8512851a3278ea2658b6ef32c934e025d4a7c9.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.1.ebuild X-VCS-Directories: media-libs/libva-intel-media-driver/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4a8512851a3278ea2658b6ef32c934e025d4a7c9 X-VCS-Branch: master Date: Sun, 7 May 2023 15:28:11 +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: 18e7baef-11fd-4eef-9f49-36591c2df9bd X-Archives-Hash: 03bfd409b7f55d842a9c6830933df296 commit: 4a8512851a3278ea2658b6ef32c934e025d4a7c9 Author: Matt Turner gentoo org> AuthorDate: Sun May 7 15:27:28 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun May 7 15:28:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a851285 media-libs/libva-intel-media-driver: Version bump to 23.2.1 Signed-off-by: Matt Turner gentoo.org> media-libs/libva-intel-media-driver/Manifest | 1 + .../libva-intel-media-driver-23.2.1.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 b4703c5f6ec7..b8701368f92b 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -2,3 +2,4 @@ DIST intel-media-22.6.6.tar.gz 28599397 BLAKE2B 3a3449f0af37c431ff1224bb919de338 DIST intel-media-23.1.5.tar.gz 28640412 BLAKE2B 5b9e1d3aebb63bd0164a1fa09c33583d4b41ce5dc509b49218e370f9bcbce42ff58872fa5fcdfcca9cd4c9c08e9d744aa22fe084af71970fefa1f70cc936d859 SHA512 b758871618e86487af026df27aa44ccc4dd28ee6cbd3b863fc076052428b7a05a0ad104297e4da50edf298e8ee067959389e283d7479b852315371094a475bc5 DIST intel-media-23.1.6.tar.gz 28641715 BLAKE2B 5f0ad615c95347dc2be95280b225345aec35c88c5b7560c86221c004d0b66a9ac929d68a38252fcf66a4a798bf733794c315683ce239e7946ba285b3dbaed462 SHA512 4068aafb45c5dc7877aeaad5343701ba490c0a369fb3d4d26a2732d8d92e1e39cadd7c662184190bbcecece5dd65271f02a3e260b607ccda3ff7f47dbc798af1 DIST intel-media-23.2.0.tar.gz 28619615 BLAKE2B 15d6438671454fccacd82dc226c3fe30e3e651146360895f23dc5131f7a6b146e72d77ed5bb2e9acef1d3a573cf3dd032a4690ee2465e99ad2c09545888edc11 SHA512 3c45246c1db3f1be15297a8ce5ec805632761a3dd7ff5f603bbe143e4426cf16779187bfd1a72013f9f2f0e3fbaffbe1d0bb68e34fb781f35ea658b8e30ffee1 +DIST intel-media-23.2.1.tar.gz 28635393 BLAKE2B 0194c6a5a5a6b4a48b3121aa9c6ca8b21bfb973ab7e7b220b466ae694f6901d9b415b0e4e69881b4075469ab78115c9d7ca5f7b899ac073cc1c385f6a2d13052 SHA512 633a1e4139086f94084d570ce6dc9b8d75e584769e0e839f15bb0c3998a4f6613824c72c391102fda2dc5f08f2d7be271f53eeccb3105dca156c106b70ffd27c diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.1.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.1.ebuild new file mode 100644 index 000000000000..4e88c88c1c0a --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.2.1.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 +}