From 5c4c880663e94c6b545fdb4c3b2f330f716a6a9f Mon Sep 17 00:00:00 2001 From: "Karlson2k (Evgeny Grin)" Date: Fri, 17 Dec 2021 14:32:28 +0300 Subject: x11-libs/libva-intel-media-driver: rebuild on gmmlib subslot Signed-off-by: Karlson2k (Evgeny Grin) Closes: https://github.com/gentoo/gentoo/pull/23368 Signed-off-by: Sam James --- .../libva-intel-media-driver-20.4.5-r1.ebuild | 63 +++++++++++++++++++++ .../libva-intel-media-driver-20.4.5.ebuild | 63 --------------------- .../libva-intel-media-driver-21.3.5-r1.ebuild | 65 ++++++++++++++++++++++ .../libva-intel-media-driver-21.3.5.ebuild | 65 ---------------------- .../libva-intel-media-driver-21.4.0-r1.ebuild | 65 ++++++++++++++++++++++ .../libva-intel-media-driver-21.4.0.ebuild | 65 ---------------------- .../libva-intel-media-driver-21.4.2-r1.ebuild | 56 +++++++++++++++++++ .../libva-intel-media-driver-21.4.2.ebuild | 56 ------------------- .../libva-intel-media-driver-9999.ebuild | 2 +- 9 files changed, 250 insertions(+), 250 deletions(-) create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild delete mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r1.ebuild delete mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild delete mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r1.ebuild delete mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild (limited to 'x11-libs/libva-intel-media-driver') diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild new file mode 100644 index 000000000000..e2d8b2fbf610 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${PV}" + KEYWORDS="amd64" +fi + +DESCRIPTION="Intel Media Driver for VAAPI (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD" +SLOT="0" +IUSE="+custom-cflags set-as-default test X" + +RESTRICT="!test? ( test )" + +DEPEND=">=media-libs/gmmlib-20.4.1:= + =x11-libs/libva-2.10.0[X?] + >=x11-libs/libpciaccess-0.13.1-r1:= +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch + "${FILESDIR}"/${PN}-20.4.5_custom_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) + -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now + -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use set-as-default ; then + echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die + doenvd "${T}/55libva-intel-media-driver" + fi +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild deleted file mode 100644 index 00f684239d6c..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 - SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${PV}.tar.gz" - S="${WORKDIR}/media-driver-intel-media-${PV}" - KEYWORDS="amd64" -fi - -DESCRIPTION="Intel Media Driver for VAAPI (iHD)" -HOMEPAGE="https://github.com/intel/media-driver" - -LICENSE="MIT BSD" -SLOT="0" -IUSE="+custom-cflags set-as-default test X" - -RESTRICT="!test? ( test )" - -DEPEND=">=media-libs/gmmlib-20.4.1 - =x11-libs/libva-2.10.0[X?] - >=x11-libs/libpciaccess-0.13.1-r1:= -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch - "${FILESDIR}"/${PN}-20.4.5_custom_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) - -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now - -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use set-as-default ; then - echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die - doenvd "${T}/55libva-intel-media-driver" - fi -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r1.ebuild new file mode 100644 index 000000000000..4be07ffd8da9 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 VAAPI (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD" +SLOT="0" +IUSE="+custom-cflags set-as-default test X" + +RESTRICT="!test? ( test )" + +DEPEND=">=media-libs/gmmlib-21.3.1:= + =x11-libs/libva-2.13.0[X?] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch + "${FILESDIR}"/${PN}-21.2.2_custom_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) + -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now + -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use set-as-default ; then + echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die + doenvd "${T}/55libva-intel-media-driver" + fi +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild deleted file mode 100644 index 677d47a92e5c..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 VAAPI (iHD)" -HOMEPAGE="https://github.com/intel/media-driver" - -LICENSE="MIT BSD" -SLOT="0" -IUSE="+custom-cflags set-as-default test X" - -RESTRICT="!test? ( test )" - -DEPEND=">=media-libs/gmmlib-21.3.1 - =x11-libs/libva-2.13.0[X?] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch - "${FILESDIR}"/${PN}-21.2.2_custom_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) - -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now - -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use set-as-default ; then - echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die - doenvd "${T}/55libva-intel-media-driver" - fi -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild new file mode 100644 index 000000000000..9767f0ec4642 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 VAAPI (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD" +SLOT="0" +IUSE="+custom-cflags set-as-default test X" + +RESTRICT="!test? ( test )" + +DEPEND=">=media-libs/gmmlib-21.3.1:= + =x11-libs/libva-2.13.0[X?] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch + "${FILESDIR}"/${PN}-21.2.2_custom_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) + -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now + -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use set-as-default ; then + echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die + doenvd "${T}/55libva-intel-media-driver" + fi +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild deleted file mode 100644 index 1363cb4f8c48..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 VAAPI (iHD)" -HOMEPAGE="https://github.com/intel/media-driver" - -LICENSE="MIT BSD" -SLOT="0" -IUSE="+custom-cflags set-as-default test X" - -RESTRICT="!test? ( test )" - -DEPEND=">=media-libs/gmmlib-21.3.1 - =x11-libs/libva-2.13.0[X?] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch - "${FILESDIR}"/${PN}-21.2.2_custom_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) - -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now - -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use set-as-default ; then - echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die - doenvd "${T}/55libva-intel-media-driver" - fi -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r1.ebuild new file mode 100644 index 000000000000..ce6cbea7e56a --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 VAAPI (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-21.3.1:= + =x11-libs/libva-2.13.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 +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild deleted file mode 100644 index 4a506b294246..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 VAAPI (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-21.3.1 - =x11-libs/libva-2.13.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 -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild index 53f1093683e0..7645bfd38f1d 100644 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild @@ -29,7 +29,7 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-21.3.1 +DEPEND=">=media-libs/gmmlib-21.3.1:= >=x11-libs/libva-2.13.0[X?] " RDEPEND="${DEPEND}" -- cgit v1.2.3-65-gdbad