mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-libs/libva-intel-media-driver: Version bump to 22.5.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B d4298d6195cfd160c3bbc0789e2bbdbfe4ffac2fe592b697d52320e60c62a542902d8610c1a1a41ce7f79bf80bce7ee386cfe8b8e4b10509066dff8e6b52deee SHA512 9acf38fc0ffc65a7ef39570a31e9403600b1c6fe532a741ccdb26588e056a4bb0e5a53290942a026f4813b86db95d7d1eb3166682a889e482ac1645c6ce8aba4
|
||||
DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519 SHA512 e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f
|
||||
DIST intel-media-22.5.1.tar.gz 27432609 BLAKE2B 37513b70097f73e717125637b149c923c2a51acd209c1e26f3d8f2e871f11f8dc4c85aeece473b9736ec56cf9cfd879dbbfe793d7ab689d5f13d54081cb1d890 SHA512 068c9e71b58087bb833444df1d79d41a8185e90170815c519ffe8cab8bd307893d7f79e3c287bab809dab3bd0bd0e54ecd215becf80ababa1df9f3b3ee2718c2
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
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.0.0:=
|
||||
>=x11-libs/libva-2.14.0[X?]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-20.2.0_x11_optional.patch
|
||||
"${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMEDIA_BUILD_FATAL_WARNINGS=OFF
|
||||
-DMEDIA_RUN_TEST_SUITE=$(usex test)
|
||||
-DBUILD_TYPE=Release
|
||||
-DPLATFORM=linux
|
||||
-DUSE_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
|
||||
}
|
||||
Reference in New Issue
Block a user