[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/, profiles/updates/, media-libs/libva-compat/

2022-10-15 Thread Matt Turner
commit: 49dffdb6602496a70b0967c61c1fca8e2ce283c8
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Oct 14 20:56:49 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Oct 16 03:02:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49dffdb6

media-libs/libva-compat: Rename from x11-libs/libva-compat

Signed-off-by: Matt Turner  gentoo.org>

 {x11-libs => media-libs}/libva-compat/Manifest | 0
 {x11-libs => media-libs}/libva-compat/libva-compat-1.8.3-r2.ebuild | 0
 {x11-libs => media-libs}/libva-compat/metadata.xml | 0
 profiles/updates/4Q-2022   | 1 +
 4 files changed, 1 insertion(+)

diff --git a/x11-libs/libva-compat/Manifest b/media-libs/libva-compat/Manifest
similarity index 100%
rename from x11-libs/libva-compat/Manifest
rename to media-libs/libva-compat/Manifest

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/media-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
similarity index 100%
rename from x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
rename to media-libs/libva-compat/libva-compat-1.8.3-r2.ebuild

diff --git a/x11-libs/libva-compat/metadata.xml 
b/media-libs/libva-compat/metadata.xml
similarity index 100%
rename from x11-libs/libva-compat/metadata.xml
rename to media-libs/libva-compat/metadata.xml

diff --git a/profiles/updates/4Q-2022 b/profiles/updates/4Q-2022
index 7ad9beda8ce1..e1a4033779ec 100644
--- a/profiles/updates/4Q-2022
+++ b/profiles/updates/4Q-2022
@@ -1 +1,2 @@
 move x11-libs/libva media-libs/libva
+move x11-libs/libva-compat media-libs/libva-compat



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-10-15 Thread Matt Turner
commit: d1015fc80c290cca4a38207082362c8ccda3db08
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Oct 14 20:36:49 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Oct 16 03:02:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1015fc8

x11-libs/libva-intel-media-driver: Version bump to 22.5.4

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.5.4.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 03b65dc3d778..47c79e7fff63 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 
63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519
 SHA512 
e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f
 DIST intel-media-22.5.3.1.tar.gz 27492012 BLAKE2B 
e300eba764dde8f2d6c07f4768bca253a21ae5f3bcfd829257541fb26c8a997390011a8bfdfab964eafe37fcece5db4826700bccda672ef51b2f62de2ea94d17
 SHA512 
aab70004aa3bd91ced7b147e4cd4bd662fe0813b2deeaa90e61f4d692d43a302a1e18dad502bbedb5102593f21f9710a56e202f0ba70a58afed139df3bf2bb78
 DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 
90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e
 SHA512 
987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d
+DIST intel-media-22.5.4.tar.gz 27493483 BLAKE2B 
ac6a93e06eec33edd823b1fd4310cd635f20229ce1ba1d52eb36a11b8fcaf484c836261cb5e8437889208e9b268f29f78a241867629eb517fbada28a314bb4dc
 SHA512 
9e7e4d7f33d0248f3d2288239ca121cd8c748a98587384e69c92aeedf4b9ce7ff585cac06b260713f9cd95936d270c36e6981bc500c2a6bee7276d0e238f4b74

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild
new file mode 100644
index ..afd945b8dab0
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}-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
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-driver/

2022-10-08 Thread Matt Turner
commit: a3db88fab8f6198624b12123f54aaf6c469c0f53
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct  8 14:56:02 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct  8 14:56:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3db88fa

x11-libs/libva-intel-driver: Drop libva[drm] USE dep

Signed-off-by: Matt Turner  gentoo.org>

 ...-intel-driver-2.4.1-r1.ebuild => libva-intel-driver-2.4.1-r3.ebuild} | 2 +-
 ...-intel-driver-2.4.1-r2.ebuild => libva-intel-driver-2.4.1-r4.ebuild} | 2 +-
 x11-libs/libva-intel-driver/libva-intel-driver-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild
similarity index 95%
rename from x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild
rename to x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild
index 6952b1401a4e..c5c3c7cf3b1e 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild
@@ -26,7 +26,7 @@ RESTRICT="test" # No tests
 
 RDEPEND="
>=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
-   >=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
+   >=x11-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}]
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
>=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild
similarity index 95%
rename from x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild
rename to x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild
index 2adee1dcc69b..779bdafe7a5e 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild
@@ -26,7 +26,7 @@ RESTRICT="test" # No tests
 
 RDEPEND="
>=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
-   >=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
+   >=x11-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}]
 
hybrid? (
>=x11-libs/intel-hybrid-codec-driver-2.0.0[X?,wayland?]

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
index 4f49ea343696..0ffef2a51f0a 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
@@ -26,7 +26,7 @@ RESTRICT="test" # No tests
 
 RDEPEND="
>=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
-   >=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
+   >=x11-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}]
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
>=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-10-08 Thread Matt Turner
commit: 4c2337ca4a8e439d9e7a4954fa7f2c6684732954
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct  8 14:14:59 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct  8 14:22:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2337ca

x11-libs/libva: Version bump to 2.16.0

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/Manifest|  1 +
 x11-libs/libva/libva-2.16.0.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index e5582c3b2d70..c7fa0c14febb 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,2 +1,3 @@
 DIST libva-2.14.0.tar.gz 266254 BLAKE2B 
1ad504dc7f72b15bb35b486a5fcb327c14663b80068791aa983f2d46876b1504b8330888430b85d2fb309bd5aa2a11c4a34589b68fa140e10b27cb952e3eb5c7
 SHA512 
8d87b49c7242174d05dca709bd79e6e45cea6e6060d12f5cf7636433be587c2b3a6c3183f632fb0ff49b19f31f915a2a62818c26f57c3a8f40741aa1ab8270b4
 DIST libva-2.15.0.tar.gz 264429 BLAKE2B 
c1bd8c3de25a266b8cc35400db464ea8b0dc81f017951b2814874c93ebf6b1b9e09860749c9eb932fe54b012e6295ff7d9cf0895f5af5fe6963f7dc3cea809b2
 SHA512 
fd96da76db6e6a80bb83d74a6f736e168d3a27cd200e77553d8ca9a19b9766b101b2e550953ca50445e1874f7ad59bf6c3a166eee6c83fe66c924b5a3494be9d
+DIST libva-2.16.0.tar.gz 267735 BLAKE2B 
59c5dc39e1c40c2f24455ec7b0588eb4898b3cab7c49ffbca997882c634ca7be6334fdb820afada8e2ebf39eb2166c95610df190d90c2a98c4fc25d25c733b32
 SHA512 
08a1481ac693ee9de639f2abd483e1fabfee87f9c04ead066dfce5c24cc7f1d1a29d8664707bb534ce4cc25e52086c5e4a0ecfe704ca59590ce41353fda31c2a

diff --git a/x11-libs/libva/libva-2.16.0.ebuild 
b/x11-libs/libva/libva-2.16.0.ebuild
new file mode 100644
index ..b21071709f6d
--- /dev/null
+++ b/x11-libs/libva/libva-2.16.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib optfeature
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_BRANCH=master
+   EGIT_REPO_URI="https://github.com/intel/libva;
+else
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   wayland? ( dev-util/wayland-scanner )
+   virtual/pkgconfig
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/va/va_backend_glx.h
+   /usr/include/va/va_x11.h
+   /usr/include/va/va_dri2.h
+   /usr/include/va/va_dricommon.h
+   /usr/include/va/va_glx.h
+)
+
+multilib_src_configure() {
+   local emesonargs=(
+   -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+   -Ddisable_drm=false
+   -Dwith_x11=$(usex X)
+   -Dwith_glx=$(usex X)
+   -Dwith_wayland=$(usex wayland)
+   -Denable_docs=false
+   -Denable_va_messaging=true
+   )
+   meson_src_configure
+}
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2022-10-05 Thread Matt Turner
commit: cfde5a9484409e9e547a0c6f9196585efc423426
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Oct  5 16:24:57 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Oct  5 16:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfde5a94

x11-libs/libva-compat: Remove mention of x11-libs/libva-vdpau-driver

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
index f52381960e0a..4a628ac99915 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
@@ -61,7 +61,6 @@ multilib_src_install() {
 
 pkg_postinst() {
optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
 }



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2022-10-05 Thread Matt Turner
commit: 529c701ba097216fc47b4a9688f035252b3e2a12
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Oct  5 16:25:05 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Oct  5 16:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529c701b

x11-libs/libva-compat: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild | 72 --
 1 file changed, 72 deletions(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild
deleted file mode 100644
index 1ad904ecd9ea..
--- a/x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal
-
-MY_PN="${PN%-compat}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Video Acceleration (VA) API for Linux"
-HOMEPAGE="https://01.org/linuxmedia/vaapi;
-SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="1"
-KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="+drm egl opengl vdpau wayland X"
-
-VIDEO_CARDS="nvidia intel i965 nouveau"
-for x in ${VIDEO_CARDS}; do
-   IUSE+=" video_cards_${x}"
-done
-
-RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
-   )
-   egl? ( >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}] )
-   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
-   wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
-   !x11-libs/libva:0/0"
-
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PDEPEND="video_cards_nvidia? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_nouveau? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
-   vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_intel? ( 
>=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] )
-   video_cards_i965? ( 
>=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] )
-   "
-
-REQUIRED_USE="|| ( drm wayland X )
-   opengl? ( X )"
-
-S="${WORKDIR}/${MY_P}"
-DOCS=( NEWS )
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
-   $(use_enable opengl glx)
-   $(use_enable X x11)
-   $(use_enable wayland)
-   $(use_enable egl)
-   $(use_enable drm)
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install() {
-   emake -C va DESTDIR="${D}" install-libLTLIBRARIES
-   rm -vf "${ED}"/usr/$(get_libdir)/*.{la,so} || die
-}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-10-05 Thread Matt Turner
commit: 894385b21bda7c5b912741217bfc43494d476df1
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Oct  5 16:26:43 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Oct  5 16:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=894385b2

x11-libs/libva: Remove mention of x11-libs/libva-vdpau-driver

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 1 -
 x11-libs/libva/libva-2.15.0.ebuild | 1 -
 x11-libs/libva/libva-.ebuild   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index a4668da9b31c..cfd96a8b8677 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -63,7 +63,6 @@ multilib_src_configure() {
 
 pkg_postinst() {
optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
 }

diff --git a/x11-libs/libva/libva-2.15.0.ebuild 
b/x11-libs/libva/libva-2.15.0.ebuild
index c8388ad13a0e..aae060e994a6 100644
--- a/x11-libs/libva/libva-2.15.0.ebuild
+++ b/x11-libs/libva/libva-2.15.0.ebuild
@@ -63,7 +63,6 @@ multilib_src_configure() {
 
 pkg_postinst() {
optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
 }

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index f2032b33b3ca..941426bbc26a 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -63,7 +63,6 @@ multilib_src_configure() {
 
 pkg_postinst() {
optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
 }



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-09-29 Thread Matt Turner
commit: f65f4a79170e0507509d75c170c3ec530854e825
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Sep 29 16:50:19 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Sep 29 16:50:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65f4a79

x11-libs/libva-intel-media-driver: Version bump to 22.5.3.1

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.5.3.1.ebuild   | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 941c53ea5379..03b65dc3d778 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,2 +1,3 @@
 DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 
63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519
 SHA512 
e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f
+DIST intel-media-22.5.3.1.tar.gz 27492012 BLAKE2B 
e300eba764dde8f2d6c07f4768bca253a21ae5f3bcfd829257541fb26c8a997390011a8bfdfab964eafe37fcece5db4826700bccda672ef51b2f62de2ea94d17
 SHA512 
aab70004aa3bd91ced7b147e4cd4bd662fe0813b2deeaa90e61f4d692d43a302a1e18dad502bbedb5102593f21f9710a56e202f0ba70a58afed139df3bf2bb78
 DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 
90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e
 SHA512 
987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild
new file mode 100644
index ..afd945b8dab0
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}-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
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-09-10 Thread Matt Turner
commit: 4969ec39e4d71449b130f80cc6322e28ff1cd8dd
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Sep 10 22:25:34 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Sep 10 22:25:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4969ec39

x11-libs/libva-intel-media-driver: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  3 --
 .../libva-intel-media-driver-22.4.3.ebuild | 55 --
 .../libva-intel-media-driver-22.5.1.ebuild | 55 --
 .../libva-intel-media-driver-22.5.2.ebuild | 55 --
 4 files changed, 168 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 806f13b6f3b1..941c53ea5379 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,5 +1,2 @@
-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
-DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 
71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a
 SHA512 
fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b62448083476fc9b97
 DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 
90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e
 SHA512 
987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
deleted file mode 100644
index 05341f45c9db..
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-if [[ ${PV} == * ]] ; then
-   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
-   if [[ ${PV%} != "" ]] ; then
-   : ${EGIT_BRANCH:="release/${PV%.}"}
-   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-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
-}

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild
deleted file mode 100644
index 50a4289d1592..
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit 

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-09-09 Thread Agostino Sarubbo
commit: 029d82eaf6c7b3f70df67251848a991df7823b05
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep  9 07:36:21 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep  9 07:36:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029d82ea

x11-libs/libva: Stabilize 2.15.0 arm64, #869200

Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.15.0.ebuild 
b/x11-libs/libva/libva-2.15.0.ebuild
index 33ddefca7c61..c8388ad13a0e 100644
--- a/x11-libs/libva/libva-2.15.0.ebuild
+++ b/x11-libs/libva/libva-2.15.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-09-08 Thread Jakov Smolić
commit: 4d49d25c44e40b080e951917a16dc8894200fa47
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Sep  8 18:39:32 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Sep  8 18:39:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d49d25c

x11-libs/libva-intel-media-driver: Stabilize 22.4.4 amd64, #869200

Signed-off-by: Jakov Smolić  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
index 50a4289d1592..0447d112911d 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-09-08 Thread Jakov Smolić
commit: 186efd535ca404f7020870889a1c0f7996047619
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Sep  8 18:40:27 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Sep  8 18:40:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186efd53

x11-libs/libva: Stabilize 2.15.0 x86, #869200

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.15.0.ebuild 
b/x11-libs/libva/libva-2.15.0.ebuild
index 68917476624f..33ddefca7c61 100644
--- a/x11-libs/libva/libva-2.15.0.ebuild
+++ b/x11-libs/libva/libva-2.15.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-09-08 Thread Jakov Smolić
commit: 17c142337f2a88d7e3770d27f2c918741bc24b39
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Sep  8 18:39:26 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Sep  8 18:39:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c14233

x11-libs/libva: Stabilize 2.15.0 amd64, #869200

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.15.0.ebuild 
b/x11-libs/libva/libva-2.15.0.ebuild
index f2032b33b3ca..68917476624f 100644
--- a/x11-libs/libva/libva-2.15.0.ebuild
+++ b/x11-libs/libva/libva-2.15.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-09-08 Thread Matt Turner
commit: b2ce5599fc57c7fbbfab866c283cc150b161718e
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Sep  8 15:01:13 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Sep  8 15:03:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ce5599

x11-libs/libva-intel-media-driver: Drop X11 patch

We can just use CMAKE_DISABLE_*.

Signed-off-by: Matt Turner  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild| 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
index 50a4289d1592..afd945b8dab0 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
@@ -35,7 +35,6 @@ DEPEND=">=media-libs/gmmlib-22.0.0:=
 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
 )
@@ -46,7 +45,7 @@ src_configure() {
-DMEDIA_RUN_TEST_SUITE=$(usex test)
-DBUILD_TYPE=Release
-DPLATFORM=linux
-   -DUSE_X11=$(usex X)
+   -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X)
-DENABLE_NONFREE_KERNELS=$(usex redistributable)
-DLATEST_CPP_NEEDED=ON # Seems to be the best option for now
)



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-08-31 Thread Matt Turner
commit: dac52351605897603247c49108eccb41de87b980
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 31 16:12:49 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 31 16:48:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dac52351

x11-libs/libva-intel-media-driver: Version bump to 22.5.3

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.5.3.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index d1eb02471f83..806f13b6f3b1 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B 
d4298d6195cfd160c3bbc0789e2bbdbf
 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
 DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 
71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a
 SHA512 
fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b62448083476fc9b97
+DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 
90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e
 SHA512 
987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
new file mode 100644
index ..50a4289d1592
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-08-15 Thread Matt Turner
commit: d3b9b5591fe0f62110328b6781088224bffbc28c
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Aug 16 02:05:53 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Aug 16 02:44:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b9b559

x11-libs/libva-intel-media-driver: Version bump to 22.5.2

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.5.2.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 9ae233485f66..d1eb02471f83 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 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
+DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 
71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a
 SHA512 
fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b62448083476fc9b97

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild
new file mode 100644
index ..50a4289d1592
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-08-01 Thread Matt Turner
commit: 2072a81c8a2bdc4e68ef603a9e65f62c36e8726a
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Aug  2 01:36:52 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Aug  2 01:56:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2072a81c

x11-libs/libva-intel-media-driver: Version bump to 22.5.1

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.5.1.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 67c96d667e8d..9ae233485f66 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -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

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild
new file mode 100644
index ..50a4289d1592
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.1.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-07-03 Thread Matt Turner
commit: 65ce1fd49ffad0ee20bf562a9b0207fbbb9be3eb
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:30:56 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ce1fd4

x11-libs/libva-intel-media-driver: Version bump to 22.4.4

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.4.4.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 794be101f7fc..5e60d643f6ef 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -3,3 +3,4 @@ DIST intel-media-22.3.1.tar.gz 27302226 BLAKE2B 
24ac80adcd9a72f9e9b7db4b87871523
 DIST intel-media-22.4.1.tar.gz 27407593 BLAKE2B 
eed738064b6febc17e93f195f81f71be55cb539f0bac1a90b0a60695b89ed2eb8deac5da3a646bd178396ace8e68c35a8e58fbebd74e6298aea6c1bd505fd482
 SHA512 
7615c76d501f9fa127da8465c4f5ecf8067b0374e14ee699b874ec7b4dfc131630901e2ec4d85e420b13c33bb1431938adefb60add7e1abe7e7351bec5e6322c
 DIST intel-media-22.4.2.tar.gz 27408373 BLAKE2B 
dfc72e1188eddc47207f7def060efb4852aaa57971d26690657117facfab8dbfc7f3a249bb1defbf52ed2e3db218f5f4eedcd397e25d8f790bf472c92d058bf5
 SHA512 
1f32709b80cd25006e2156e4487d75d07ff5eb337164c6aaacb92385dc31c1ce0c80a3c7062c830f89674d70bfedd7f81e4f34ea4d1dd8adb4da0d2212e744ea
 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

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
new file mode 100644
index ..50a4289d1592
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-07-03 Thread Matt Turner
commit: 860db43ad7049e3588e05376bef02896a4d48c2f
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:17:59 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:18:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860db43a

x11-libs/libva: Switch to EAPI=8

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index 48d03afe7a28..f2032b33b3ca 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson-multilib optfeature
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-07-03 Thread Matt Turner
commit: 69e63037508c5c0239801d03c602cf815be50f00
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:32:14 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e63037

x11-libs/libva-intel-media-driver: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  4 --
 .../libva-intel-media-driver-22.1.0-r1.ebuild  | 55 --
 .../libva-intel-media-driver-22.3.1.ebuild | 55 --
 .../libva-intel-media-driver-22.4.1.ebuild | 55 --
 .../libva-intel-media-driver-22.4.2.ebuild | 55 --
 5 files changed, 224 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 5e60d643f6ef..67c96d667e8d 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,6 +1,2 @@
-DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39ecf7241ba21485c423a4a8769628b78d8134471639aad12bcac79a7d107682e36cb5954227528601eb5253be5ce00acac
 SHA512 
dd444608fd15fc7f05a0d2c9e6e2c8be3a588a1253ac014c045c207d5d59c9d172c89d248e94688078097a224f57025c11e86b9392271cd111bb9dce6d07617e
-DIST intel-media-22.3.1.tar.gz 27302226 BLAKE2B 
24ac80adcd9a72f9e9b7db4b878715233835f2b69a25d1029538fb87da1fa49ed3c0606478a8b24e198f0c366003ff315e31972c7576e9ff2ecd8419e12ab150
 SHA512 
286f974a11546f8541429230330c5bd514c5eb372d3278461a132fb236f19908aa544a44010e52981bb942573ab6c2047c8c03471517182e2daf2da87b0eb74f
-DIST intel-media-22.4.1.tar.gz 27407593 BLAKE2B 
eed738064b6febc17e93f195f81f71be55cb539f0bac1a90b0a60695b89ed2eb8deac5da3a646bd178396ace8e68c35a8e58fbebd74e6298aea6c1bd505fd482
 SHA512 
7615c76d501f9fa127da8465c4f5ecf8067b0374e14ee699b874ec7b4dfc131630901e2ec4d85e420b13c33bb1431938adefb60add7e1abe7e7351bec5e6322c
-DIST intel-media-22.4.2.tar.gz 27408373 BLAKE2B 
dfc72e1188eddc47207f7def060efb4852aaa57971d26690657117facfab8dbfc7f3a249bb1defbf52ed2e3db218f5f4eedcd397e25d8f790bf472c92d058bf5
 SHA512 
1f32709b80cd25006e2156e4487d75d07ff5eb337164c6aaacb92385dc31c1ce0c80a3c7062c830f89674d70bfedd7f81e4f34ea4d1dd8adb4da0d2212e744ea
 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

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0-r1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0-r1.ebuild
deleted file mode 100644
index d35edb899163..
--- 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-if [[ ${PV} == * ]] ; then
-   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
-   if [[ ${PV%} != "" ]] ; then
-   : ${EGIT_BRANCH:="release/${PV%.}"}
-   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-22.0.0:=
-   >=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 

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-07-03 Thread Matt Turner
commit: 53c1922ca8cfa7fd79f2f1d568bdef25897e8d80
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:40:02 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c1922c

x11-libs/libva-intel-media-driver: Switch to EAPI=8

And fix "VA-API".

Signed-off-by: Matt Turner  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 467f8eb13c6f..50a4289d1592 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -20,7 +20,7 @@ else
fi
 fi
 
-DESCRIPTION="Intel Media Driver for VAAPI (iHD)"
+DESCRIPTION="Intel Media Driver for VA-API (iHD)"
 HOMEPAGE="https://github.com/intel/media-driver;
 
 LICENSE="MIT BSD redistributable? ( no-source-code )"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-07-03 Thread Matt Turner
commit: 4429bf5c2686bbb851f28f803e9cd4a46c35dc01
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:23:06 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:40:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4429bf5c

x11-libs/libva: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/Manifest   |  1 -
 x11-libs/libva/libva-2.13.0-r2.ebuild | 87 ---
 x11-libs/libva/metadata.xml   |  1 -
 3 files changed, 89 deletions(-)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 310b946c7cb8..e5582c3b2d70 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,3 +1,2 @@
-DIST libva-2.13.0.tar.gz 256724 BLAKE2B 
97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7
 SHA512 
226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
 DIST libva-2.14.0.tar.gz 266254 BLAKE2B 
1ad504dc7f72b15bb35b486a5fcb327c14663b80068791aa983f2d46876b1504b8330888430b85d2fb309bd5aa2a11c4a34589b68fa140e10b27cb952e3eb5c7
 SHA512 
8d87b49c7242174d05dca709bd79e6e45cea6e6060d12f5cf7636433be587c2b3a6c3183f632fb0ff49b19f31f915a2a62818c26f57c3a8f40741aa1ab8270b4
 DIST libva-2.15.0.tar.gz 264429 BLAKE2B 
c1bd8c3de25a266b8cc35400db464ea8b0dc81f017951b2814874c93ebf6b1b9e09860749c9eb932fe54b012e6295ff7d9cf0895f5af5fe6963f7dc3cea809b2
 SHA512 
fd96da76db6e6a80bb83d74a6f736e168d3a27cd200e77553d8ca9a19b9766b101b2e550953ca50445e1874f7ad59bf6c3a166eee6c83fe66c924b5a3494be9d

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
deleted file mode 100644
index 97c7e8eace62..
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal optfeature
-
-DESCRIPTION="Video Acceleration (VA) API for Linux"
-HOMEPAGE="https://01.org/linuxmedia/vaapi;
-
-if [[ ${PV} = * ]] ; then
-   inherit git-r3
-   EGIT_BRANCH=master
-   EGIT_REPO_URI="https://github.com/intel/libva;
-else
-   # 
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   # The upstream provides periodically tarball with pre-built 'configure'.
-   # To simplify updates, portage use tarballs without pre-build 
'configure'
-   # which are always available.
-   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils wayland X"
-
-RDEPEND="
-   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
-   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
-   wayland? (
-   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   )
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   wayland? ( dev-util/wayland-scanner )
-   virtual/pkgconfig
-"
-PDEPEND="utils? ( media-video/libva-utils )"
-
-REQUIRED_USE="|| ( drm wayland X )
-   opengl? ( X )"
-
-DOCS=( NEWS )
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/va/va_backend_glx.h
-   /usr/include/va/va_x11.h
-   /usr/include/va/va_dri2.h
-   /usr/include/va/va_dricommon.h
-   /usr/include/va/va_glx.h
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
-   $(use_enable opengl glx)
-   $(use_enable X x11)
-   $(use_enable wayland)
-   $(use_enable drm)
-   --enable-va-messaging
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   default
-   find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
-   optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
-   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
-   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
-}

diff --git a/x11-libs/libva/metadata.xml b/x11-libs/libva/metadata.xml
index 52ff72140216..5ca5eb42a6b9 100644
--- a/x11-libs/libva/metadata.xml
+++ b/x11-libs/libva/metadata.xml
@@ -7,7 +7,6 @@
   
   
 Enables VA/DRM API support.
-Install VA-API utility programs.
   
   
   intel/libva



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-07-03 Thread Matt Turner
commit: ad94b67cf3226a4c492a0ffa08bc282bb4ec927e
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  4 02:09:57 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  4 02:18:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad94b67c

x11-libs/libva: Version bump to 2.15.0

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/Manifest|  1 +
 x11-libs/libva/libva-2.15.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index d05aac89f2b9..310b946c7cb8 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,2 +1,3 @@
 DIST libva-2.13.0.tar.gz 256724 BLAKE2B 
97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7
 SHA512 
226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
 DIST libva-2.14.0.tar.gz 266254 BLAKE2B 
1ad504dc7f72b15bb35b486a5fcb327c14663b80068791aa983f2d46876b1504b8330888430b85d2fb309bd5aa2a11c4a34589b68fa140e10b27cb952e3eb5c7
 SHA512 
8d87b49c7242174d05dca709bd79e6e45cea6e6060d12f5cf7636433be587c2b3a6c3183f632fb0ff49b19f31f915a2a62818c26f57c3a8f40741aa1ab8270b4
+DIST libva-2.15.0.tar.gz 264429 BLAKE2B 
c1bd8c3de25a266b8cc35400db464ea8b0dc81f017951b2814874c93ebf6b1b9e09860749c9eb932fe54b012e6295ff7d9cf0895f5af5fe6963f7dc3cea809b2
 SHA512 
fd96da76db6e6a80bb83d74a6f736e168d3a27cd200e77553d8ca9a19b9766b101b2e550953ca50445e1874f7ad59bf6c3a166eee6c83fe66c924b5a3494be9d

diff --git a/x11-libs/libva/libva-2.15.0.ebuild 
b/x11-libs/libva/libva-2.15.0.ebuild
new file mode 100644
index ..f2032b33b3ca
--- /dev/null
+++ b/x11-libs/libva/libva-2.15.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib optfeature
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_BRANCH=master
+   EGIT_REPO_URI="https://github.com/intel/libva;
+else
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="+drm opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   wayland? ( dev-util/wayland-scanner )
+   virtual/pkgconfig
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/va/va_backend_glx.h
+   /usr/include/va/va_x11.h
+   /usr/include/va/va_dri2.h
+   /usr/include/va/va_dricommon.h
+   /usr/include/va/va_glx.h
+)
+
+multilib_src_configure() {
+   local emesonargs=(
+   -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+   -Ddisable_drm=false
+   -Dwith_x11=$(usex X)
+   -Dwith_glx=$(usex X)
+   -Dwith_wayland=$(usex wayland)
+   -Denable_docs=false
+   -Denable_va_messaging=true
+   )
+   meson_src_configure
+}
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-06-26 Thread Agostino Sarubbo
commit: 0b975d737df4b72f514734d6b413ee4a861db47d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 26 08:46:35 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 26 08:46:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b975d73

x11-libs/libva-intel-media-driver: amd64 stable wrt bug #854306

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
index 9a49528f5647..05341f45c9db 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-06-13 Thread Matt Turner
commit: 11b884b9bf6eae9c5c91560735c8e7bee0b2f055
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jun 13 18:53:52 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jun 13 19:07:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b884b9

x11-libs/libva-intel-media-driver: Version bump to 22.4.3

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.4.3.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 53370af0e158..794be101f7fc 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39e
 DIST intel-media-22.3.1.tar.gz 27302226 BLAKE2B 
24ac80adcd9a72f9e9b7db4b878715233835f2b69a25d1029538fb87da1fa49ed3c0606478a8b24e198f0c366003ff315e31972c7576e9ff2ecd8419e12ab150
 SHA512 
286f974a11546f8541429230330c5bd514c5eb372d3278461a132fb236f19908aa544a44010e52981bb942573ab6c2047c8c03471517182e2daf2da87b0eb74f
 DIST intel-media-22.4.1.tar.gz 27407593 BLAKE2B 
eed738064b6febc17e93f195f81f71be55cb539f0bac1a90b0a60695b89ed2eb8deac5da3a646bd178396ace8e68c35a8e58fbebd74e6298aea6c1bd505fd482
 SHA512 
7615c76d501f9fa127da8465c4f5ecf8067b0374e14ee699b874ec7b4dfc131630901e2ec4d85e420b13c33bb1431938adefb60add7e1abe7e7351bec5e6322c
 DIST intel-media-22.4.2.tar.gz 27408373 BLAKE2B 
dfc72e1188eddc47207f7def060efb4852aaa57971d26690657117facfab8dbfc7f3a249bb1defbf52ed2e3db218f5f4eedcd397e25d8f790bf472c92d058bf5
 SHA512 
1f32709b80cd25006e2156e4487d75d07ff5eb337164c6aaacb92385dc31c1ce0c80a3c7062c830f89674d70bfedd7f81e4f34ea4d1dd8adb4da0d2212e744ea
+DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B 
d4298d6195cfd160c3bbc0789e2bbdbfe4ffac2fe592b697d52320e60c62a542902d8610c1a1a41ce7f79bf80bce7ee386cfe8b8e4b10509066dff8e6b52deee
 SHA512 
9acf38fc0ffc65a7ef39570a31e9403600b1c6fe532a741ccdb26588e056a4bb0e5a53290942a026f4813b86db95d7d1eb3166682a889e482ac1645c6ce8aba4

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
new file mode 100644
index ..9a49528f5647
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.3.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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-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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-05-29 Thread Matt Turner
commit: 2589faabadb624a21d4df23139df519db614709c
Author: Matt Turner  gentoo  org>
AuthorDate: Sun May 29 18:32:36 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun May 29 19:01:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2589faab

x11-libs/libva-intel-media-driver: Version bump to 22.4.2

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.4.2.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index a73cae356cc1..53370af0e158 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39ecf7241ba21485c423a4a8769628b78d8134471639aad12bcac79a7d107682e36cb5954227528601eb5253be5ce00acac
 SHA512 
dd444608fd15fc7f05a0d2c9e6e2c8be3a588a1253ac014c045c207d5d59c9d172c89d248e94688078097a224f57025c11e86b9392271cd111bb9dce6d07617e
 DIST intel-media-22.3.1.tar.gz 27302226 BLAKE2B 
24ac80adcd9a72f9e9b7db4b878715233835f2b69a25d1029538fb87da1fa49ed3c0606478a8b24e198f0c366003ff315e31972c7576e9ff2ecd8419e12ab150
 SHA512 
286f974a11546f8541429230330c5bd514c5eb372d3278461a132fb236f19908aa544a44010e52981bb942573ab6c2047c8c03471517182e2daf2da87b0eb74f
 DIST intel-media-22.4.1.tar.gz 27407593 BLAKE2B 
eed738064b6febc17e93f195f81f71be55cb539f0bac1a90b0a60695b89ed2eb8deac5da3a646bd178396ace8e68c35a8e58fbebd74e6298aea6c1bd505fd482
 SHA512 
7615c76d501f9fa127da8465c4f5ecf8067b0374e14ee699b874ec7b4dfc131630901e2ec4d85e420b13c33bb1431938adefb60add7e1abe7e7351bec5e6322c
+DIST intel-media-22.4.2.tar.gz 27408373 BLAKE2B 
dfc72e1188eddc47207f7def060efb4852aaa57971d26690657117facfab8dbfc7f3a249bb1defbf52ed2e3db218f5f4eedcd397e25d8f790bf472c92d058bf5
 SHA512 
1f32709b80cd25006e2156e4487d75d07ff5eb337164c6aaacb92385dc31c1ce0c80a3c7062c830f89674d70bfedd7f81e4f34ea4d1dd8adb4da0d2212e744ea

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.2.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.2.ebuild
new file mode 100644
index ..9a49528f5647
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.2.ebuild
@@ -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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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-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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-driver/

2022-05-23 Thread Conrad Kostecki
commit: b17d84b086f35ed0ecf9708b9f63ed99abde4e97
Author: Kai-Chun Ning  gmail  com>
AuthorDate: Mon May 23 08:44:10 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon May 23 11:56:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17d84b0

x11-libs/libva-intel-driver: add a use flag to enable hybrid hardware 
acceleration

This feature is supported by Intel Haswell and newer architectures.

Signed-off-by: Kai-Chun Ning  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libva-intel-driver-2.4.1-r2.ebuild | 60 ++
 x11-libs/libva-intel-driver/metadata.xml   |  3 ++
 2 files changed, 63 insertions(+)

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild
new file mode 100644
index ..2adee1dcc69b
--- /dev/null
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="intel-vaapi-driver"
+if [[ ${PV} = ** ]] ; then # Live ebuild
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/intel/intel-vaapi-driver;
+fi
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="HW video decode support for Intel integrated graphics"
+HOMEPAGE="https://github.com/intel/intel-vaapi-driver;
+if [[ ${PV} != ** ]] ; then
+   
SRC_URI="https://github.com/intel/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.tar.bz2;
+   S="${WORKDIR}/${MY_PN}-${PV}"
+   KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="hybrid wayland X"
+RESTRICT="test" # No tests
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
+   >=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
+
+   hybrid? (
+   >=x11-libs/intel-hybrid-codec-driver-2.0.0[X?,wayland?]
+   )
+
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   eapply_user
+   sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myconf=(
+   $(use_enable hybrid hybrid-codec)
+   $(use_enable wayland)
+   $(use_enable X x11)
+   )
+   ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+   find "${D}" -name "*.la" -delete || die
+}

diff --git a/x11-libs/libva-intel-driver/metadata.xml 
b/x11-libs/libva-intel-driver/metadata.xml
index da593f3141e2..fed131d8322d 100644
--- a/x11-libs/libva-intel-driver/metadata.xml
+++ b/x11-libs/libva-intel-driver/metadata.xml
@@ -5,6 +5,9 @@
 aball...@gentoo.org
 Alexis Ballier
   
+  
+Enable support for hybrid vaapi hardware acceleration 
on Intel Haswell and newer architectures
+  
   
 intel/intel-vaapi-driver
   



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-13 Thread WANG Xuerui
commit: c9660601e5423fe71b2658264e1503cfe34fa9cb
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri May 13 06:15:07 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri May 13 06:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9660601

x11-libs/libva: forward ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 x11-libs/libva/libva-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index 572eb16bd958..48d03afe7a28 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-13 Thread WANG Xuerui
commit: 0941886a1580f584bb23e2e71ffd25e3a19ab437
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri May 13 06:15:05 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri May 13 06:23:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0941886a

x11-libs/libva: keyword 2.14.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index 1e77dc053d30..a4668da9b31c 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2022-05-09 Thread Jakov Smolić
commit: 9176d5a35247e790b84695ae117d77cc09c2130d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 10:25:03 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 10:25:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9176d5a3

x11-libs/libva-compat: stabilize 1.8.3-r2 for x86

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
index c9e02bf7fb5f..f52381960e0a 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz 
-> ${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="1"
-KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="+drm egl opengl wayland X"
 
 RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-09 Thread Jakov Smolić
commit: dd332f668295e0c422c2711c7e7e08292f870fde
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 10:24:20 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 10:24:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd332f66

x11-libs/libva: stabilize 2.14.0 for x86

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index 441a5eeafe6c..1e77dc053d30 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-05-09 Thread Jakov Smolić
commit: e1d6030c7fa78192e587881f7aa2e57900cc73b5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 09:57:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 09:57:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d6030c

x11-libs/libva-intel-media-driver: Stabilize 22.3.1 amd64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild
index 467f8eb13c6f..141ad87fa83e 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2022-05-09 Thread Jakov Smolić
commit: 27d07a47d74769039cf3b86facea04252c8a3f39
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 09:57:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 09:57:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d07a47

x11-libs/libva-compat: Stabilize 1.8.3-r2 amd64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
index 7fd9b91eb215..c9e02bf7fb5f 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz 
-> ${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="1"
-KEYWORDS="~amd64 arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+drm egl opengl wayland X"
 
 RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-09 Thread Jakov Smolić
commit: 46cfdb1bb0696b9dd99d2371582bbe73eb1fdf0c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 09:57:44 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 09:57:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46cfdb1b

x11-libs/libva: Stabilize 2.14.0 amd64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index e75eebb9940a..441a5eeafe6c 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-09 Thread Jakov Smolić
commit: 1c614b0a2f5845575abb8257a329a6fba047dc8a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 08:00:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 08:00:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c614b0a

x11-libs/libva: Stabilize 2.14.0 arm64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index 25f6792e18d6..e75eebb9940a 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2022-05-09 Thread Jakov Smolić
commit: 73fb3c498c9feee1f60b2d1afece6729b513cd8d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 08:00:54 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 08:00:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fb3c49

x11-libs/libva-compat: Stabilize 1.8.3-r2 arm64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
index af57dbec4262..7fd9b91eb215 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz 
-> ${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="1"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+drm egl opengl wayland X"
 
 RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-05-09 Thread Jakov Smolić
commit: 79c083c0b003d30941081d19440621a61d0f1647
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon May  9 08:00:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon May  9 08:00:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c083c0

x11-libs/libva: Stabilize 2.14.0 ppc64, #843347

Signed-off-by: Jakov Smolić  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index 572eb16bd958..25f6792e18d6 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm64 ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-04-01 Thread Matt Turner
commit: 80e259e652853ac066ac53302ab56794b17f7ec8
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 31 21:12:20 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Apr  1 17:51:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e259e6

x11-libs/libva-intel-media-driver: Version bump to 22.3.1

Signed-off-by: Matt Turner  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24839
Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-22.3.1.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index eb6a0e5daa75..7198362d4022 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1 +1,2 @@
 DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39ecf7241ba21485c423a4a8769628b78d8134471639aad12bcac79a7d107682e36cb5954227528601eb5253be5ce00acac
 SHA512 
dd444608fd15fc7f05a0d2c9e6e2c8be3a588a1253ac014c045c207d5d59c9d172c89d248e94688078097a224f57025c11e86b9392271cd111bb9dce6d07617e
+DIST intel-media-22.3.1.tar.gz 27302226 BLAKE2B 
24ac80adcd9a72f9e9b7db4b878715233835f2b69a25d1029538fb87da1fa49ed3c0606478a8b24e198f0c366003ff315e31972c7576e9ff2ecd8419e12ab150
 SHA512 
286f974a11546f8541429230330c5bd514c5eb372d3278461a132fb236f19908aa544a44010e52981bb942573ab6c2047c8c03471517182e2daf2da87b0eb74f

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild
new file mode 100644
index ..467f8eb13c6f
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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-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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-04-01 Thread Matt Turner
commit: 22cfe99d3cbaedefa9d3a2afd67e54fe842232b7
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 31 21:22:02 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Apr  1 17:51:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22cfe99d

x11-libs/libva-intel-media-driver: Depend on >=libva-2.14.0

Needed for AV1 support.

Signed-off-by: Matt Turner  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index b0004515b354..467f8eb13c6f 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,7 +30,7 @@ IUSE="+redistributable test X"
 RESTRICT="!test? ( test )"
 
 DEPEND=">=media-libs/gmmlib-22.0.0:=
-   >=x11-libs/libva-2.13.0[X?]
+   >=x11-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-03-16 Thread Matt Turner
commit: 1fb4e2c999c50a34e486eac85f7a9a7caf49abd9
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 17 05:19:37 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 17 05:19:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb4e2c9

x11-libs/libva: Readd dummy IUSE=opengl

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-2.14.0.ebuild | 3 ++-
 x11-libs/libva/libva-.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
index 2524e763954e..572eb16bd958 100644
--- a/x11-libs/libva/libva-2.14.0.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -19,7 +19,8 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="+drm wayland X"
+IUSE="+drm opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
 
 RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index 2524e763954e..572eb16bd958 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -19,7 +19,8 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="+drm wayland X"
+IUSE="+drm opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
 
 RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-03-16 Thread Matt Turner
commit: 9e54154f262abcca950ab650aec6c71e600f7808
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 17 04:23:14 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 17 04:28:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e54154f

x11-libs/libva: Version bump to 2.14.0

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/Manifest|  1 +
 x11-libs/libva/libva-2.14.0.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index dd28070f7744..d05aac89f2b9 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1 +1,2 @@
 DIST libva-2.13.0.tar.gz 256724 BLAKE2B 
97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7
 SHA512 
226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
+DIST libva-2.14.0.tar.gz 266254 BLAKE2B 
1ad504dc7f72b15bb35b486a5fcb327c14663b80068791aa983f2d46876b1504b8330888430b85d2fb309bd5aa2a11c4a34589b68fa140e10b27cb952e3eb5c7
 SHA512 
8d87b49c7242174d05dca709bd79e6e45cea6e6060d12f5cf7636433be587c2b3a6c3183f632fb0ff49b19f31f915a2a62818c26f57c3a8f40741aa1ab8270b4

diff --git a/x11-libs/libva/libva-2.14.0.ebuild 
b/x11-libs/libva/libva-2.14.0.ebuild
new file mode 100644
index ..2524e763954e
--- /dev/null
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson-multilib optfeature
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_BRANCH=master
+   EGIT_REPO_URI="https://github.com/intel/libva;
+else
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="+drm wayland X"
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   wayland? ( dev-util/wayland-scanner )
+   virtual/pkgconfig
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/va/va_backend_glx.h
+   /usr/include/va/va_x11.h
+   /usr/include/va/va_dri2.h
+   /usr/include/va/va_dricommon.h
+   /usr/include/va/va_glx.h
+)
+
+multilib_src_configure() {
+   local emesonargs=(
+   -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+   -Ddisable_drm=false
+   -Dwith_x11=$(usex X)
+   -Dwith_glx=$(usex X)
+   -Dwith_wayland=$(usex wayland)
+   -Denable_docs=false
+   -Denable_va_messaging=true
+   )
+   meson_src_configure
+}
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-03-16 Thread Matt Turner
commit: 4eee842ef97f79cfb4071633792d9b7fa8909a3a
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 17 02:29:27 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 17 04:28:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eee842e

x11-libs/libva: Switch to Meson

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-.ebuild | 47 
 1 file changed, 14 insertions(+), 33 deletions(-)

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index e3ae90808c43..2524e763954e 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools multilib-minimal optfeature
+inherit meson-multilib optfeature
 
 DESCRIPTION="Video Acceleration (VA) API for Linux"
 HOMEPAGE="https://01.org/linuxmedia/vaapi;
@@ -13,25 +13,21 @@ if [[ ${PV} = * ]] ; then
EGIT_BRANCH=master
EGIT_REPO_URI="https://github.com/intel/libva;
 else
-   
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   # The upstream provides periodically tarball with pre-built 'configure'.
-   # To simplify updates, portage use tarballs without pre-build 
'configure'
-   # which are always available.
-   # SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils wayland X"
+IUSE="+drm wayland X"
 
 RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
-   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
)
X? (
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
@@ -42,12 +38,6 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )
virtual/pkgconfig
 "
-PDEPEND="utils? ( media-video/libva-utils )"
-
-REQUIRED_USE="|| ( drm wayland X )
-   opengl? ( X )"
-
-DOCS=( NEWS )
 
 MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_backend_glx.h
@@ -57,26 +47,17 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_glx.h
 )
 
-src_prepare() {
-   default
-   eautoreconf
-}
-
 multilib_src_configure() {
-   local myeconfargs=(
-   --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
-   $(use_enable opengl glx)
-   $(use_enable X x11)
-   $(use_enable wayland)
-   $(use_enable drm)
-   --enable-va-messaging
+   local emesonargs=(
+   -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+   -Ddisable_drm=false
+   -Dwith_x11=$(usex X)
+   -Dwith_glx=$(usex X)
+   -Dwith_wayland=$(usex wayland)
+   -Denable_docs=false
+   -Denable_va_messaging=true
)
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   default
-   find "${ED}" -type f -name "*.la" -delete || die
+   meson_src_configure
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-03-07 Thread Conrad Kostecki
commit: b403912e3097ee8cfa139d364f184db39fab3993
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Mar  7 19:45:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Mar  7 19:45:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b403912e

x11-libs/libva-intel-media-driver: force revbump

Closes: https://bugs.gentoo.org/834634
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...dia-driver-22.1.0.ebuild => libva-intel-media-driver-22.1.0-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0-r1.ebuild
similarity index 100%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-03-05 Thread Conrad Kostecki
commit: 7af976cfd7549ad52b048c79de2516f9f1fb67f7
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Mar  5 13:29:57 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Mar  5 13:29:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af976cf

x11-libs/libva-intel-media-driver: update metadata.xml

Signed-off-by: Conrad Kostecki  gentoo.org>

 x11-libs/libva-intel-media-driver/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/metadata.xml 
b/x11-libs/libva-intel-media-driver/metadata.xml
index 706003d80004..df5d13fb7264 100644
--- a/x11-libs/libva-intel-media-driver/metadata.xml
+++ b/x11-libs/libva-intel-media-driver/metadata.xml
@@ -10,7 +10,5 @@


Install redistributable media 
kernel binaries (no source code) files (primarily needed for video encoding 
support)
-   Override libva automatic driver 
selection and set this (iHD) driver as default one.
-   Do not override user CFLAGS like 
-02, -march, -msse and similar with lib defaults. Not tested by upstream.

 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/, x11-libs/libva-intel-media-driver/files/

2022-03-05 Thread Conrad Kostecki
commit: fd5741f1396dc1900c5671be4a3fad88b12951fd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Mar  5 13:06:27 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Mar  5 13:08:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5741f1

x11-libs/libva-intel-media-driver: drop versions

Signed-off-by: Conrad Kostecki  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |   5 -
 ...a-intel-media-driver-20.4.5_custom_cflags.patch | 136 -
 ...a-intel-media-driver-21.2.2_custom_cflags.patch |  52 
 .../libva-intel-media-driver-20.4.5-r2.ebuild  |  63 --
 .../libva-intel-media-driver-21.3.5-r2.ebuild  |  65 --
 .../libva-intel-media-driver-21.4.0-r2.ebuild  |  65 --
 .../libva-intel-media-driver-21.4.2-r2.ebuild  |  56 -
 .../libva-intel-media-driver-21.4.3.ebuild |  56 -
 8 files changed, 498 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 8a4b2cf287ed..eb6a0e5daa75 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,6 +1 @@
-DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea
-DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
-DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4
-DIST intel-media-21.4.2.tar.gz 23185132 BLAKE2B 
257f1a8a65928aee897d84ed8df69a129958bcf5fd6ea263283e1f2341a845651a86367cff7988c0d4b04accf48664dbd4d1e0bd106883e92feff095e5f88225
 SHA512 
1b906ce75ef70395e36296de1e1e4b39d4a82c8b8532497faf47bcb101cf2103bba67a125da7ea1be9f901699288520f704b43fef01339a1f1b7691040d7618e
-DIST intel-media-21.4.3.tar.gz 23192939 BLAKE2B 
d013b60c330df97dc29e51a95a78bd91a38c789c4690fde12c304e1bf0695024e5488d0485b60fa603e8490b932210163aec590bcfca031c1f19d7b16161b420
 SHA512 
d2e2db1ddc2cbdc022273f53d873f2156e992420d382285de0b9559340d912e847a4780ed2adfe67f06a7c4bcac83aadca1104cf051b9a3d43b3ffd931a3db22
 DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39ecf7241ba21485c423a4a8769628b78d8134471639aad12bcac79a7d107682e36cb5954227528601eb5253be5ce00acac
 SHA512 
dd444608fd15fc7f05a0d2c9e6e2c8be3a588a1253ac014c045c207d5d59c9d172c89d248e94688078097a224f57025c11e86b9392271cd111bb9dce6d07617e

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
deleted file mode 100644
index 436e2fe892e6..
--- 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-Prevent overriding of user-define CFLAGS, including -march flag.
-
-The flag -msse4.1 is required otherwise compile will not be able to inline 
sse4.1 code.
-
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -52,6 +52,8 @@ option (BUILD_CMRTLIB "Build and Install cmrtlib together 
with media driver" ON)
- 
- option (ENABLE_PRODUCTION_KMD "Enable Production KMD header files" OFF)
- 
-+option (OVERRIDE_COMPILER_FLAGS "Override user compiler FLAGS and use lib 
defaults" ON)
-+
- include(GNUInstallDirs)
- 
- if (BUILD_CMRTLIB)
-
 a/cmrtlib/linux/CMakeLists.txt
-+++ b/cmrtlib/linux/CMakeLists.txt
-@@ -33,15 +33,19 @@ endif()
- 
- # Set up compile options that will be used for the Linux build
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CPP_STANDARD_OPTION} -fPIC 
-fpermissive -fstack-protector-all -Werror")
-+if (OVERRIDE_COMPILER_FLAGS)
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
- endif()
-+endif()
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing 
-D_FORTIFY_SOURCE=2")
- set(CMAKE_CXX_FLAGS_DEBUG   "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive 
-fstack-protector-all -Werror")
-+if (OVERRIDE_COMPILER_FLAGS)
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1")
- endif()
-+endif()
- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} 

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-02-18 Thread Agostino Sarubbo
commit: 51a74dcc2002c898eb7113ae9241f99498799088
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 19 06:52:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 19 06:52:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a74dcc

x11-libs/libva-intel-media-driver: amd64 stable wrt bug #833746

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
index b0004515b354..d35edb899163 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-02-07 Thread Matt Turner
commit: d07397dc9238c674a15e4242006e6126c6a61865
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Feb  7 19:01:46 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Feb  7 19:03:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07397dc

x11-libs/libva: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-2.13.0-r1.ebuild | 87 ---
 1 file changed, 87 deletions(-)

diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
deleted file mode 100644
index a3eb6a58e73b..
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal optfeature
-
-DESCRIPTION="Video Acceleration (VA) API for Linux"
-HOMEPAGE="https://01.org/linuxmedia/vaapi;
-
-if [[ ${PV} = * ]] ; then
-   inherit git-r3
-   EGIT_BRANCH=master
-   EGIT_REPO_URI="https://github.com/intel/libva;
-else
-   # 
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   # The upstream provides periodically tarball with pre-built 'configure'.
-   # To simplify updates, portage use tarballs without pre-build 
'configure'
-   # which are always available.
-   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils wayland X"
-
-RDEPEND="
-   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
-   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
-   wayland? (
-   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
-   )
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-"
-PDEPEND="utils? ( media-video/libva-utils )"
-
-REQUIRED_USE="|| ( drm wayland X )
-   opengl? ( X )"
-
-DOCS=( NEWS )
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/va/va_backend_glx.h
-   /usr/include/va/va_x11.h
-   /usr/include/va/va_dri2.h
-   /usr/include/va/va_dricommon.h
-   /usr/include/va/va_glx.h
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
-   $(use_enable opengl glx)
-   $(use_enable X x11)
-   $(use_enable wayland)
-   $(use_enable drm)
-   --enable-va-messaging
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   default
-   find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
-   optfeature_header
-   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
-   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
-   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
-}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-02-01 Thread Arthur Zamarin
commit: 37883357370ba6717c64193b59313106cb61e47d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Feb  1 21:13:16 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Feb  1 21:13:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37883357

x11-libs/libva: Stabilize 2.13.0-r2 ppc64, #831378

Signed-off-by: Arthur Zamarin  gentoo.org>

 x11-libs/libva/libva-2.13.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
index d79b9a0e29da..97c7e8eace62 100644
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2022-01-25 Thread Jakov Smolić
commit: 6895de232a6f7f60eb7cee5262fde51c1dbb81fa
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jan 25 13:36:02 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jan 25 13:36:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6895de23

x11-libs/libva-intel-media-driver: Stabilize 21.4.3 amd64, #831990

Signed-off-by: Jakov Smolić  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild
index 5ce014edf7eb..8da9f2236e58 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-01-20 Thread Sam James
commit: 9d1c607669c19dbb35022fe8092b066e5944
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 20 14:27:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 20 14:29:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1c6076

x11-libs/libva: Stabilize 2.13.0-r2 arm64, #831378

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
index 0b4713a7d2b3..d79b9a0e29da 100644
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-01-19 Thread Sam James
commit: f2b2d76571ba7a117b0ae1684142df649b48ccd5
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 20 02:45:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 20 02:45:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b2d765

x11-libs/libva: Stabilize 2.13.0-r2 amd64, #831378

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
index 9c4bc4078cd3..59e129d3d656 100644
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2022-01-19 Thread Sam James
commit: fd1851bd827bd395802200b7ccea26c7c45d15d0
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 20 02:45:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 20 02:45:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1851bd

x11-libs/libva: Stabilize 2.13.0-r2 x86, #831378

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
index 59e129d3d656..0b4713a7d2b3 100644
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-30 Thread Matt Turner
commit: 6dd8dc317c3fbd86e246a708c9776f7224afedfc
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 30 20:33:45 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 30 20:52:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd8dc31

x11-libs/libva-intel-media-driver: Version bump to 22.1.0

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest  | 1 +
 ...-media-driver-.ebuild => libva-intel-media-driver-22.1.0.ebuild} | 2 +-
 x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 9a9c628d812e..8a4b2cf287ed 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -3,3 +3,4 @@ DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c711731
 DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4
 DIST intel-media-21.4.2.tar.gz 23185132 BLAKE2B 
257f1a8a65928aee897d84ed8df69a129958bcf5fd6ea263283e1f2341a845651a86367cff7988c0d4b04accf48664dbd4d1e0bd106883e92feff095e5f88225
 SHA512 
1b906ce75ef70395e36296de1e1e4b39d4a82c8b8532497faf47bcb101cf2103bba67a125da7ea1be9f901699288520f704b43fef01339a1f1b7691040d7618e
 DIST intel-media-21.4.3.tar.gz 23192939 BLAKE2B 
d013b60c330df97dc29e51a95a78bd91a38c789c4690fde12c304e1bf0695024e5488d0485b60fa603e8490b932210163aec590bcfca031c1f19d7b16161b420
 SHA512 
d2e2db1ddc2cbdc022273f53d873f2156e992420d382285de0b9559340d912e847a4780ed2adfe67f06a7c4bcac83aadca1104cf051b9a3d43b3ffd931a3db22
+DIST intel-media-22.1.0.tar.gz 26188730 BLAKE2B 
7ade4b25d2fe50ed6c3498c37f0fb39ecf7241ba21485c423a4a8769628b78d8134471639aad12bcac79a7d107682e36cb5954227528601eb5253be5ce00acac
 SHA512 
dd444608fd15fc7f05a0d2c9e6e2c8be3a588a1253ac014c045c207d5d59c9d172c89d248e94688078097a224f57025c11e86b9392271cd111bb9dce6d07617e

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
similarity index 97%
copy from x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
copy to x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
index 7645bfd38f1d..b0004515b354 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.1.0.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-21.3.1:=
+DEPEND=">=media-libs/gmmlib-22.0.0:=
>=x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 7645bfd38f1d..b0004515b354 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-21.3.1:=
+DEPEND=">=media-libs/gmmlib-22.0.0:=
>=x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-30 Thread Matt Turner
commit: b1e4b0c12b5c92e68c11491ed5edbba796856b7d
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 30 20:21:56 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 30 20:52:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e4b0c1

x11-libs/libva-intel-media-driver: Version bump to 21.4.3

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 421c0510d6a0..9a9c628d812e 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befb
 DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
 DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4
 DIST intel-media-21.4.2.tar.gz 23185132 BLAKE2B 
257f1a8a65928aee897d84ed8df69a129958bcf5fd6ea263283e1f2341a845651a86367cff7988c0d4b04accf48664dbd4d1e0bd106883e92feff095e5f88225
 SHA512 
1b906ce75ef70395e36296de1e1e4b39d4a82c8b8532497faf47bcb101cf2103bba67a125da7ea1be9f901699288520f704b43fef01339a1f1b7691040d7618e
+DIST intel-media-21.4.3.tar.gz 23192939 BLAKE2B 
d013b60c330df97dc29e51a95a78bd91a38c789c4690fde12c304e1bf0695024e5488d0485b60fa603e8490b932210163aec590bcfca031c1f19d7b16161b420
 SHA512 
d2e2db1ddc2cbdc022273f53d873f2156e992420d382285de0b9559340d912e847a4780ed2adfe67f06a7c4bcac83aadca1104cf051b9a3d43b3ffd931a3db22

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild
new file mode 100644
index ..5ce014edf7eb
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.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} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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:=
+   media-libs/gmmlib:0/0
+   >=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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-12-23 Thread Sam James
commit: 8969e48ec8d1194e92668d641eba10e0308230a5
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Wed Dec 22 11:52:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 24 03:52:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969e48e

x11-libs/libva: fixed unconditional depend on wayland-scanner

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/23471
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0-r2.ebuild | 2 +-
 x11-libs/libva/libva-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva/libva-2.13.0-r2.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
index fb840c456a59..9c4bc4078cd3 100644
--- a/x11-libs/libva/libva-2.13.0-r2.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-   dev-util/wayland-scanner
+   wayland? ( dev-util/wayland-scanner )
virtual/pkgconfig
 "
 PDEPEND="utils? ( media-video/libva-utils )"

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index 8e84bcf7bb12..e3ae90808c43 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-   dev-util/wayland-scanner
+   wayland? ( dev-util/wayland-scanner )
virtual/pkgconfig
 "
 PDEPEND="utils? ( media-video/libva-utils )"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-20 Thread Conrad Kostecki
commit: 5e07ff8c4881daee741cd3f274abaebdf91eb036
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Sat Dec 18 08:41:31 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 20 09:52:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e07ff8c

x11-libs/libva-intel-media-driver: depend on gmmlib subslot 0

Closes: https://github.com/gentoo/gentoo/pull/23404
Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...river-20.4.5-r1.ebuild => libva-intel-media-driver-20.4.5-r2.ebuild} | 2 +-
 ...river-21.3.5-r1.ebuild => libva-intel-media-driver-21.3.5-r2.ebuild} | 2 +-
 ...river-21.4.0-r1.ebuild => libva-intel-media-driver-21.4.0-r2.ebuild} | 2 +-
 ...river-21.4.2-r1.ebuild => libva-intel-media-driver-21.4.2-r2.ebuild} | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

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-r2.ebuild
similarity index 98%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r2.ebuild
index e2d8b2fbf610..00f2befa1f19 100644
--- 
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-r2.ebuild
@@ -27,7 +27,7 @@ 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:=
 "

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-r2.ebuild
similarity index 98%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r1.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5-r2.ebuild
index 4be07ffd8da9..05829c3b4ed6 100644
--- 
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-r2.ebuild
@@ -30,7 +30,7 @@ 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}"

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-r2.ebuild
similarity index 98%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r2.ebuild
index 9767f0ec4642..5573b2b96933 100644
--- 
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-r2.ebuild
@@ -30,7 +30,7 @@ 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}"

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-r2.ebuild
similarity index 97%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r1.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2-r2.ebuild
index ce6cbea7e56a..5ce014edf7eb 100644
--- 
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-r2.ebuild
@@ -30,7 +30,7 @@ IUSE="+redistributable test X"
 RESTRICT="!test? ( test )"
 
 DEPEND=">=media-libs/gmmlib-21.3.1:=
-   =x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-17 Thread Sam James
commit: 5c4c880663e94c6b545fdb4c3b2f330f716a6a9f
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Fri Dec 17 11:32:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 18 05:10:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4c8806

x11-libs/libva-intel-media-driver: rebuild on gmmlib subslot

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/23368
Signed-off-by: Sam James  gentoo.org>

 ...driver-20.4.5.ebuild => libva-intel-media-driver-20.4.5-r1.ebuild} | 4 ++--
 ...driver-21.3.5.ebuild => libva-intel-media-driver-21.3.5-r1.ebuild} | 4 ++--
 ...driver-21.4.0.ebuild => libva-intel-media-driver-21.4.0-r1.ebuild} | 4 ++--
 ...driver-21.4.2.ebuild => libva-intel-media-driver-21.4.2-r1.ebuild} | 4 ++--
 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

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-r1.ebuild
similarity index 95%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5-r1.ebuild
index 00f684239d6c..e2d8b2fbf610 100644
--- 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-r1.ebuild
@@ -26,8 +26,8 @@ IUSE="+custom-cflags set-as-default test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-20.4.1
-   =media-libs/gmmlib-21.3.1:=
+   =x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"

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-r1.ebuild
similarity index 95%
rename from 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild
rename to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0-r1.ebuild
index 1363cb4f8c48..9767f0ec4642 100644
--- 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-r1.ebuild
@@ -29,8 +29,8 @@ IUSE="+custom-cflags set-as-default test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-21.3.1
-   =media-libs/gmmlib-21.3.1:=
+   =x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 53f1093683e0..7645bfd38f1d 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.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}"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-17 Thread Sam James
commit: 0c270857b4c4702f4ba48e1b68250671aa788913
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Fri Dec 17 10:43:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 18 05:10:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c270857

x11-libs/libva-intel-media-driver: fixed dependency on gmmlib version

media-libs/gmmlib-21.3.4 and later break compatibility with old API.

Bug: https://bugs.gentoo.org/829406
Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild | 1 +
 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild | 1 +
 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild | 1 +
 x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild | 1 +
 4 files changed, 4 insertions(+)

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
index 7e51437dd247..00f684239d6c 100644
--- 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
@@ -27,6 +27,7 @@ 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:=
 "

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
index fb2d94e7416b..677d47a92e5c 100644
--- 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
@@ -30,6 +30,7 @@ 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}"

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
index 15ca5a26b62c..1363cb4f8c48 100644
--- 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
@@ -30,6 +30,7 @@ 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}"

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
index 53f1093683e0..4a506b294246 100644
--- 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
@@ -30,6 +30,7 @@ IUSE="+redistributable test X"
 RESTRICT="!test? ( test )"
 
 DEPEND=">=media-libs/gmmlib-21.3.1
+   =x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-12-10 Thread Sam James
commit: a5050e185f4c3c35ce0ff57d0a34d46a95cfd5e8
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 10 22:59:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 10 22:59:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5050e18

x11-libs/libva: revbump for dropping wayland-scanner multilib

While we could avoid doing this, it avoids the need for backtracking on 
upgrades.

Closes: https://bugs.gentoo.org/828799
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/{libva-.ebuild => libva-2.13.0-r2.ebuild} | 6 +++---
 x11-libs/libva/libva-.ebuild | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-libs/libva/libva-.ebuild 
b/x11-libs/libva/libva-2.13.0-r2.ebuild
similarity index 90%
copy from x11-libs/libva/libva-.ebuild
copy to x11-libs/libva/libva-2.13.0-r2.ebuild
index a5e8ebf286e2..fb840c456a59 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r2.ebuild
@@ -13,11 +13,11 @@ if [[ ${PV} = * ]] ; then
EGIT_BRANCH=master
EGIT_REPO_URI="https://github.com/intel/libva;
 else
-   
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
+   # 
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
# The upstream provides periodically tarball with pre-built 'configure'.
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
-   # SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -30,7 +30,6 @@ RDEPEND="
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
)
X? (
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
@@ -40,6 +39,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
+   dev-util/wayland-scanner
virtual/pkgconfig
 "
 PDEPEND="utils? ( media-video/libva-utils )"

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index a5e8ebf286e2..8e84bcf7bb12 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -30,7 +30,6 @@ RDEPEND="
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
)
X? (
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
@@ -40,6 +39,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
+   dev-util/wayland-scanner
virtual/pkgconfig
 "
 PDEPEND="utils? ( media-video/libva-utils )"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-02 Thread Matt Turner
commit: 9102df5b3bc241102f05947f7be4617b38d0b456
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 23 22:33:25 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec  2 18:01:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9102df5b

x11-libs/libva-intel-media-driver: Set CMAKE_BUILD_TYPE

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index b54b915594c7..53f1093683e0 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -50,6 +50,6 @@ src_configure() {
-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
 }



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-02 Thread Matt Turner
commit: 333162ad6a22e3927ec455b3aac936c12680ccd1
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 23 20:13:36 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec  2 18:01:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333162ad

x11-libs/libva-intel-media-driver: Add USE=redistributable

Controls whether non-free media kernels primarily used for video encoding
support are used.

Closes: https://bugs.gentoo.org/824098
Signed-off-by: Matt Turner  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild| 5 +++--
 x11-libs/libva-intel-media-driver/metadata.xml   | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 15ca5a26b62c..918f62446ee5 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -23,9 +23,9 @@ fi
 DESCRIPTION="Intel Media Driver for VAAPI (iHD)"
 HOMEPAGE="https://github.com/intel/media-driver;
 
-LICENSE="MIT BSD"
+LICENSE="MIT BSD redistributable? ( no-source-code )"
 SLOT="0"
-IUSE="+custom-cflags set-as-default test X"
+IUSE="+custom-cflags +redistributable set-as-default test X"
 
 RESTRICT="!test? ( test )"
 
@@ -47,6 +47,7 @@ src_configure() {
-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
-DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags)
)

diff --git a/x11-libs/libva-intel-media-driver/metadata.xml 
b/x11-libs/libva-intel-media-driver/metadata.xml
index 6afcc149822d..706003d80004 100644
--- a/x11-libs/libva-intel-media-driver/metadata.xml
+++ b/x11-libs/libva-intel-media-driver/metadata.xml
@@ -9,6 +9,7 @@
Evgeny Grin


+   Install redistributable media 
kernel binaries (no source code) files (primarily needed for video encoding 
support)
Override libva automatic driver 
selection and set this (iHD) driver as default one.
Do not override user CFLAGS like 
-02, -march, -msse and similar with lib defaults. Not tested by upstream.




[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-02 Thread Matt Turner
commit: 5254c631e2b25add55731c3eec027c37fdf5d2c6
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 23 20:21:09 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec  2 18:01:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5254c631

x11-libs/libva-intel-media-driver: Remove IUSE=set-as-default

As I understand it, this dates from before a time before multiple
backend driver support landed in libva in
https://github.com/intel/libva/pull/351 which was first in libva-2.6.0.

Signed-off-by: Matt Turner  gentoo.org>

 .../libva-intel-media-driver-.ebuild  | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 918f62446ee5..0a05dcd1c864 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -25,7 +25,7 @@ HOMEPAGE="https://github.com/intel/media-driver;
 
 LICENSE="MIT BSD redistributable? ( no-source-code )"
 SLOT="0"
-IUSE="+custom-cflags +redistributable set-as-default test X"
+IUSE="+custom-cflags +redistributable test X"
 
 RESTRICT="!test? ( test )"
 
@@ -54,12 +54,3 @@ src_configure() {
 
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
-}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-12-02 Thread Matt Turner
commit: 8d35a66d56237711e7ac807ea066edbd7a3eba24
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 23 20:15:11 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec  2 18:01:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d35a66d

x11-libs/libva-intel-media-driver: Version bump to 21.4.2

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.4.2.ebuild | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 60fe56dd80d4..421c0510d6a0 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea
 DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
 DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4
+DIST intel-media-21.4.2.tar.gz 23185132 BLAKE2B 
257f1a8a65928aee897d84ed8df69a129958bcf5fd6ea263283e1f2341a845651a86367cff7988c0d4b04accf48664dbd4d1e0bd106883e92feff095e5f88225
 SHA512 
1b906ce75ef70395e36296de1e1e4b39d4a82c8b8532497faf47bcb101cf2103bba67a125da7ea1be9f901699288520f704b43fef01339a1f1b7691040d7618e

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
new file mode 100644
index ..53f1093683e0
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/files/, x11-libs/libva-intel-media-driver/

2021-12-02 Thread Matt Turner
commit: 71af24fc8bbdf44f4406f3b51799e135975de6f1
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 23 22:01:01 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec  2 18:01:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71af24fc

x11-libs/libva-intel-media-driver: Remove IUSE=custom-cflags

This USE flag is wrongly named, at a minimum. It does not prevent the
build system from stripping out user-specified CFLAGS. Instead, it
prevents the build system from adding a few unwanted CFLAGS, like -g and
-m64.

Signed-off-by: Matt Turner  gentoo.org>

 ...edia-driver-21.4.2-Remove-unwanted-CFLAGS.patch | 43 ++
 .../libva-intel-media-driver-.ebuild   |  5 +--
 2 files changed, 45 insertions(+), 3 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch
new file mode 100644
index ..288fe2d7f517
--- /dev/null
+++ 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch
@@ -0,0 +1,43 @@
+From f1c5c12d866783f7a3079be440c06fdb8a931ed2 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Tue, 23 Nov 2021 12:28:05 -0800
+Subject: [PATCH] Remove unwanted CFLAGS
+
+---
+ media_driver/cmake/linux/media_compile_flags_linux.cmake | 7 ---
+ 1 file changed, 7 deletions(-)
+
+diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake 
b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+index 512ef17b..e8ade76d 100755
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
 b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -52,16 +52,12 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -ffunction-sections
+ -Wl,--gc-sections
+ 
+-# -m32 or -m64
+--m${ARCH}
+-
+ # Global defines
+ -DLINUX=1
+ -DLINUX
+ -DNO_RTTI
+ -DNO_EXCEPTION_HANDLING
+ -DINTEL_NOT_PUBLIC
+--g
+ )
+ 
+ 
+@@ -189,9 +185,6 @@ 
include(${MEDIA_EXT_CMAKE}/ext/linux/media_compile_flags_linux_ext.cmake OPTIONA
+ if(${PLATFORM} STREQUAL "linux")
+ #set predefined compiler flags set
+ add_compile_options("${MEDIA_COMPILER_FLAGS_COMMON}")
+-add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_DEBUG}>")
+-
add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_RELEASE}>")
+-
add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_RELEASEINTERNAL}>")
+ 
+ foreach (flag ${MEDIA_COMPILER_CXX_FLAGS_COMMON})
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")
+-- 
+2.32.0
+

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 0a05dcd1c864..b54b915594c7 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -25,7 +25,7 @@ HOMEPAGE="https://github.com/intel/media-driver;
 
 LICENSE="MIT BSD redistributable? ( no-source-code )"
 SLOT="0"
-IUSE="+custom-cflags +redistributable test X"
+IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
@@ -36,7 +36,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-20.2.0_x11_optional.patch
-   "${FILESDIR}"/${PN}-21.2.2_custom_cflags.patch
+   "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch
"${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch
 )
 
@@ -49,7 +49,6 @@ src_configure() {
-DUSE_X11=$(usex X)
-DENABLE_NONFREE_KERNELS=$(usex redistributable)
-DLATEST_CPP_NEEDED=ON # Seems to be the best option for now
-   -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags)
)
 
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/, x11-libs/libva/files/

2021-11-23 Thread Matt Turner
commit: bb7f807a436ad2458eba2cc6c47b923ca3b43f82
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Nov 24 02:05:46 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Nov 24 02:05:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7f807a

x11-libs/libva: Drop old

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/Manifest|  9 ---
 .../files/libva-2.10.0-fix_wayland_build.patch | 29 ---
 x11-libs/libva/libva-2.10.0.ebuild | 91 --
 x11-libs/libva/libva-2.11.0.ebuild | 91 --
 x11-libs/libva/libva-2.12.0.ebuild | 91 --
 x11-libs/libva/libva-2.5.0-r1.ebuild   | 83 
 x11-libs/libva/libva-2.6.1.ebuild  | 83 
 x11-libs/libva/libva-2.7.1.ebuild  | 83 
 x11-libs/libva/libva-2.8.0.ebuild  | 83 
 x11-libs/libva/libva-2.9.0.ebuild  | 83 
 x11-libs/libva/libva-2.9.1.ebuild  | 91 --
 11 files changed, 817 deletions(-)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 49c22e06c7d1..dd28070f7744 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,10 +1 @@
-DIST libva-2.10.0.tar.bz2 484741 BLAKE2B 
9c3912d5337d3624af9ffc537a972479385285413712948159641d10b60a39b60754b3bc6467a0508a878df29be23c0e2bace488bdf9047f3e162ca0b573fa5f
 SHA512 
9225120f17e0d935927cb0046c3a6086c776beac71a8ef7fd800d2c6a721d0e28a13be89221c5ef3cca1634317aaa2a513554ccf25a54f25b2a339603c4a11a1
-DIST libva-2.11.0.tar.gz 252204 BLAKE2B 
b56c47296493a9ecce7758661386d98d9a47082d8f16ab3b352f84591291e85aefc336a209433a901f7c4be1f54570221e9955666b22125740cc060542099394
 SHA512 
592df16bca06c93d252d27b2105032f020b0ca30f7937533918a497f385ec59b8a1e19c5d89047c197ddc1aab056128ab114b9ec29de3e968cb96bfa8d85f02a
-DIST libva-2.12.0.tar.gz 257645 BLAKE2B 
8436f654e3fec57dd490aad6ff19d7fd9aa33a90f32535c0bd57ad47ab6c5728b7a67b277c46f854b781747fd641a76d068f052d95104d515eb9a9b206041edc
 SHA512 
53b22dd5166b92bceb508e7ecd73ae023d95928a76db0e61f4326652f23f6603c507b2ee604779293c7d7a02ef0f7b082e3b181bbb55f0a63416196088af1b51
 DIST libva-2.13.0.tar.gz 256724 BLAKE2B 
97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7
 SHA512 
226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
-DIST libva-2.5.0.tar.bz2 459677 BLAKE2B 
d6e5bf94bcbda0a724634164bd8cf91efbdbe36120e62e7e7eefcd749afffec1950d8904318b472c81ae07490c559c68b0853725c654a08592457118cd5d6a83
 SHA512 
ffaeb9cf8ed1f93073c1cb3e58f5b3d3612e81622d02f8e428c089f625d4370b496b7681ac2fc2823c48670c9fd3da50893b1db51de768cf0f5d866e2ee78106
-DIST libva-2.6.1.tar.bz2 466497 BLAKE2B 
d4ea6e6d0102722206d94725932f0b3cf650bab3f02235f4c627dc83e5417b786f9524430d793f1067d002a0c9d7cbc92a7c740383c698d225a14946e1bb90ba
 SHA512 
b57f0c0dda5ebadc92f56bc7fb835c2931cafffca9413fb4d244ea1dd47b603376323e6bebf144ccb2d2cf3499c64b101f8e03ff1809bd81242718d224d2d17d
-DIST libva-2.7.1.tar.bz2 477933 BLAKE2B 
261e608af3f1427bed0244d4ebbc0d3ffe5681669ecb3583a8910568bc96817b8da079ffe80915ecf1002f9ac247eea5e44f8f7ce305313719fc1a4f1c5892b3
 SHA512 
f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126
-DIST libva-2.8.0.tar.bz2 478734 BLAKE2B 
b11393a9b9ec7ef4cf91d20d4005d42ad3d0e6a4a8e4d8cda67816bc5b9d3b23900754b5e8af92386dcf99a11e53af70fc4723ffecc715328c8fbf3d40486098
 SHA512 
329c5fc2262a6f4fddfcb13bd9644589248be6ae18fa14816b33874b91b60ad3f16a112f7a4817ba576db984834aa8735e6ad13d99b2f5aa13e9ddfa
-DIST libva-2.9.0.tar.bz2 481556 BLAKE2B 
5509f3d7df11a11602331a3b6bb78d3a5d3dfbeff024eaa77594918c49cd48ec9e8ee017d8ac7b4aa1dbd3252a23caecce9a10a8a9e12ef4c483a8a34e028b20
 SHA512 
496358b73cd525d8c9dc1fcf3dbf992ec997ecc8f7be31f0e226ded173aecf29d8d4b60cc7cc5ee7beac538061659841145f67f449a03a04236a6ee7ae6f8323
-DIST libva-2.9.1.tar.gz 240934 BLAKE2B 
76333a9ce78783c3d94798a19ea6a52d95768ca7e5a547094290313d4f5c610841787d4420d19e0553174933beaf5fbf68e7e849ad38682173f670de0d9a76e5
 SHA512 
79fd0b41795ac5de68bdd6470389fad6caf016fa4a44f2cd775c0a65d6d8f270a7e237d3b2e42a90376c103d2d2e2c010fe47835c7a15d79b94beaced02a2884

diff --git a/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch 
b/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch
deleted file mode 100644
index cf799cd3d686..
--- a/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 3a71a012b72480ffdf1e2361845036f3cc9d7154 Mon Sep 17 00:00:00 2001
-From: Jan Beich 
-Date: Sat, 9 Jan 2021 13:17:38 +
-Subject: [PATCH] autotools: use shell grouping instead of sed to prepend a
- line
-

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-11-23 Thread Matt Turner
commit: 9293af3cadf43ff7f46c1c1c1b7a9bfd98f42084
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Nov 24 02:02:12 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Nov 24 02:04:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9293af3c

x11-libs/libva: Stabilize 2.13.0-r1 ppc64, #824094

Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva/libva-2.13.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
index 674e8afe6474..a3eb6a58e73b 100644
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r1.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-11-22 Thread Sam James
commit: 83fcc55105f2f1fab18e9e898205babd7895cf57
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 22 08:04:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 22 08:04:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83fcc551

x11-libs/libva: Stabilize 2.13.0-r1 arm64, #824094

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
index 981d0edd90ff..674e8afe6474 100644
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r1.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-11-19 Thread Agostino Sarubbo
commit: 498ca3104fa21cad310de20d94590d5eaaaf07f0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 20 07:28:07 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 20 07:28:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498ca310

x11-libs/libva: x86 stable wrt bug #824094

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.13.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
index 004f8d74fba1..981d0edd90ff 100644
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r1.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-11-19 Thread Agostino Sarubbo
commit: 7b5fee43fdae2dcc520c5c0cbfcbdb5fc6181bab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 20 07:25:52 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 20 07:25:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5fee43

x11-libs/libva-intel-media-driver: amd64 stable wrt bug #824094

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 15ca5a26b62c..fb2d94e7416b 100644
--- 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
@@ -16,7 +16,7 @@ else

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"
+   KEYWORDS="amd64"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-11-19 Thread Agostino Sarubbo
commit: b14d50125ce52b20b5a736243b0bfe6908c0399f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 20 07:25:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 20 07:25:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b14d5012

x11-libs/libva: amd64 stable wrt bug #824094

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.13.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
index 5762e1110acc..004f8d74fba1 100644
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r1.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/, x11-libs/libva-intel-media-driver/files/

2021-11-19 Thread Matt Turner
commit: 56839cf49595a75b8aba32c6dc91d476f28dd499
Author: Matt Turner  gmail  com>
AuthorDate: Wed Nov 17 05:21:27 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Nov 19 18:26:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56839cf4

x11-libs/libva-intel-media-driver: Drop old

Signed-off-by: Matt Turner  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22978
Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  8 --
 ...a-intel-media-driver-21.1.2_custom_cflags.patch | 87 --
 .../libva-intel-media-driver-20.1.1-r2.ebuild  | 53 -
 .../libva-intel-media-driver-20.2.0-r2.ebuild  | 55 --
 .../libva-intel-media-driver-21.1.2_pre.ebuild | 63 
 .../libva-intel-media-driver-21.1.3.ebuild | 62 ---
 .../libva-intel-media-driver-21.2.2_pre.ebuild | 62 ---
 .../libva-intel-media-driver-21.2.3.ebuild | 62 ---
 .../libva-intel-media-driver-21.3.2_pre.ebuild | 62 ---
 .../libva-intel-media-driver-21.3.3_pre.ebuild | 62 ---
 10 files changed, 576 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 42890e41964f..60fe56dd80d4 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,11 +1,3 @@
-DIST intel-media-20.1.1.tar.gz 21788401 BLAKE2B 
53f2ebf5941c487253d02d0e23229cd408eb3b53ef37cfdefb1a874e5a6c9b051b69ccda513c2d1d9bb9cc03814bc3db40a40241eb3c7a0a78edba3ba7e9bf01
 SHA512 
696f3b82d155e472285150b476daf9195ec6cbad0526f017fd0c57c1fb02618210b3e96eb13351ee286f3502df4970a22a940c3476877fa1f5c23dc85a646c25
-DIST intel-media-20.2.0.tar.gz 21860711 BLAKE2B 
df5ebb4ec603902dd34aca6915dab5bec4ad6237e5810d0e04349f7269adf62505afaed8456d1ad6a3544525bdb2012294e6b92e68dc3f0338f6fab54aa934bd
 SHA512 
0f4817b66f4e2d752d5a34cc1c8974dd09b4fe4f6d8bf3df896887542c229088edc406a9b2a68a9b353214aa7ffa4cd8917cdb6695dbe2e316af6c444822b15b
 DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea
-DIST intel-media-21.1.2.tar.gz 22487027 BLAKE2B 
819b7c4a4fc9295034af77f1e95d4b23ca974629f0ff70f14d84c881fa8ae2558708878e045b700fef30bb28a1af9ec61306854e91d0df4881e7d9dc229715b2
 SHA512 
046942ebedad2e40de3c592ed92bd7d266402f1f94d30ee7674adcb147774f6d90af18c56a19a8d16465144a7bded9cc7b6eeefdeb50f349c7d3ef6840c30ea4
-DIST intel-media-21.1.3.tar.gz 22507169 BLAKE2B 
68962db57d6f4c11e50b5d44584adf0458d08a118234a091aa55734885ee9fab6449658a8736c4a23233be38b58311953492482c3d9b258dd2cf8008cf363f20
 SHA512 
a5a4c26d86191138245e0cc62304aeeccfb6627b04310e4b1d35cc2050b909d9b856b6176d868562336dd6342f93b1909b46fb481eb353ef02cc188eea5da121
-DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4ad8e0ea1d7fd4c844dda8d08d72968e3080f320384dcc50caf0ad4f013eec69fe4e8d1444fac665623e6f72521fc3a95
 SHA512 
f88fd02af55538045e01982e7bda8a7e781ad7fa57a8e60e61681a705a87a402ceab433a5362fe0f6269366ea54b60f91ffd2689641370f20c66dc10d26d1c4a
-DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348cc5ce1e2446063c743fa89072ae46c6a4af0c71001fb8249b0306d67a220312f883a8f54dde1981078e6ee8fad71eaaa1
 SHA512 
b12ff5b3afbc4d4f34353c7a4ea50b1c66746b33920e450d7d17cffdc234921e82fc4c1afb025274caf2a5efbe87e577b6790d0648a52de08ea19b11a103ac81
-DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B 
cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384
 SHA512 
27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597
-DIST intel-media-21.3.3.tar.gz 23092541 BLAKE2B 
083cc368095bbc9cf333953855ad94d7a8d67b967f4f93d94e3c8e23bbcdadad19c1b1032cafc671ae9a9df9be547498ebe84426ad9d91a9e82557095eb8
 SHA512 
a9da8a627420c5ea0de9413ce0aeb471f40a0886abd67380ead7ffba32de4abbc1741c47cfcfc73d42b14456090266f4dad8d363c8ad590cef521ef48e42f692
 DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
 DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4

diff --git 

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2021-11-08 Thread Jason A. Donenfeld
commit: cc60cfdd419b765696ec50b523bddb71d975e652
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Nov  8 23:30:30 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Nov  8 23:37:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc60cfdd

x11-libs/libva-compat: use optfeatures instead of VIDEO_CARDS

VIDEO_CARDS is ill suited for this because the situation with Intel GPUs
is complicated.

Discussed-with: Matt Turner  gentoo.org>
Discussed-with: Sam James  gentoo.org>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild | 67 ++
 1 file changed, 67 insertions(+)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
new file mode 100644
index 000..af57dbec426
--- /dev/null
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal optfeature
+
+MY_PN="${PN%-compat}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+drm egl opengl wayland X"
+
+RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+   egl? ( >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}] )
+   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
+   wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
+   !x11-libs/libva:0/0"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( drm wayland X )
+   opengl? ( X )"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( NEWS )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+   $(use_enable opengl glx)
+   $(use_enable X x11)
+   $(use_enable wayland)
+   $(use_enable egl)
+   $(use_enable drm)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+   emake -C va DESTDIR="${D}" install-libLTLIBRARIES
+   rm -vf "${ED}"/usr/$(get_libdir)/*.{la,so} || die
+}
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-11-08 Thread Jason A. Donenfeld
commit: 564e4e3d1b14e0b5e88278c2cade94228af9a79c
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Nov  8 23:34:29 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Nov  8 23:37:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564e4e3d

x11-libs/libva: use optfeatures instead of VIDEO_CARDS

VIDEO_CARDS is ill suited for this because the situation with Intel GPUs
is complicated.

Discussed-with: Matt Turner  gentoo.org>
Discussed-with: Sam James  gentoo.org>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 ...{libva-2.13.0.ebuild => libva-2.13.0-r1.ebuild} | 24 +-
 x11-libs/libva/libva-.ebuild   | 24 +-
 2 files changed, 20 insertions(+), 28 deletions(-)

diff --git a/x11-libs/libva/libva-2.13.0.ebuild 
b/x11-libs/libva/libva-2.13.0-r1.ebuild
similarity index 74%
rename from x11-libs/libva/libva-2.13.0.ebuild
rename to x11-libs/libva/libva-2.13.0-r1.ebuild
index 953e353bda4..5762e1110ac 100644
--- a/x11-libs/libva/libva-2.13.0.ebuild
+++ b/x11-libs/libva/libva-2.13.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools multilib-minimal
+inherit autotools multilib-minimal optfeature
 
 DESCRIPTION="Video Acceleration (VA) API for Linux"
 HOMEPAGE="https://01.org/linuxmedia/vaapi;
@@ -23,12 +23,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils vdpau wayland X"
-
-VIDEO_CARDS="nvidia intel i965 nouveau"
-for x in ${VIDEO_CARDS}; do
-   IUSE+=" video_cards_${x}"
-done
+IUSE="+drm opengl utils wayland X"
 
 RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
@@ -47,13 +42,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
virtual/pkgconfig
 "
-PDEPEND="video_cards_nvidia? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_nouveau? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
-   vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_intel? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
-   video_cards_i965? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
-   utils? ( media-video/libva-utils )
-"
+PDEPEND="utils? ( media-video/libva-utils )"
 
 REQUIRED_USE="|| ( drm wayland X )
opengl? ( X )"
@@ -89,3 +78,10 @@ multilib_src_install_all() {
default
find "${ED}" -type f -name "*.la" -delete || die
 }
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}

diff --git a/x11-libs/libva/libva-.ebuild b/x11-libs/libva/libva-.ebuild
index 045f07425bd..a5e8ebf286e 100644
--- a/x11-libs/libva/libva-.ebuild
+++ b/x11-libs/libva/libva-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools multilib-minimal
+inherit autotools multilib-minimal optfeature
 
 DESCRIPTION="Video Acceleration (VA) API for Linux"
 HOMEPAGE="https://01.org/linuxmedia/vaapi;
@@ -23,12 +23,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils vdpau wayland X"
-
-VIDEO_CARDS="nvidia intel i965 nouveau"
-for x in ${VIDEO_CARDS}; do
-   IUSE+=" video_cards_${x}"
-done
+IUSE="+drm opengl utils wayland X"
 
 RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
@@ -47,13 +42,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
virtual/pkgconfig
 "
-PDEPEND="video_cards_nvidia? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_nouveau? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
-   vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
-   video_cards_intel? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
-   video_cards_i965? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
-   utils? ( media-video/libva-utils )
-"
+PDEPEND="utils? ( media-video/libva-utils )"
 
 REQUIRED_USE="|| ( drm wayland X )
opengl? ( X )"
@@ -89,3 +78,10 @@ multilib_src_install_all() {
default
find "${ED}" -type f -name "*.la" -delete || die
 }
+
+pkg_postinst() {
+   optfeature_header
+   optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
+   optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
+   optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2021-10-30 Thread Sam James
commit: 198b55f9dfd473822804ff6b7078f3a79c4b7da9
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jul 22 05:38:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 00:19:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=198b55f9

x11-libs/libva-compat: Set USE-defaults for mesa[egl,gbm]

Signed-off-by: Matt Turner  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../{libva-compat-1.8.3.ebuild => libva-compat-1.8.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild
similarity index 96%
rename from x11-libs/libva-compat/libva-compat-1.8.3.ebuild
rename to x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild
index 31cdf24dbf5..1ad904ecd9e 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3-r1.ebuild
@@ -28,7 +28,7 @@ RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
)
-   egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] )
+   egl? ( >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}] )
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
!x11-libs/libva:0/0"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-driver/

2021-10-30 Thread Sam James
commit: 54a26b90ee99584f8ced64eaea896cfa547318d5
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jul 22 05:38:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 00:19:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a26b90

x11-libs/libva-intel-driver: Set USE-defaults for mesa[egl,gbm]

Signed-off-by: Matt Turner  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 ...bva-intel-driver-2.4.1.ebuild => libva-intel-driver-2.4.1-r1.ebuild} | 2 +-
 x11-libs/libva-intel-driver/libva-intel-driver-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild
similarity index 95%
rename from x11-libs/libva-intel-driver/libva-intel-driver-2.4.1.ebuild
rename to x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild
index b7af94433cc..6952b1401a4 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r1.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
>=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}]
+   >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]
)
 "
 DEPEND="${RDEPEND}"

diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild 
b/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
index 4e4df0e3170..4f49ea34369 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
>=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}]
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
-   >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}]
+   >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}]
)
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-10-30 Thread Conrad Kostecki
commit: a7e2be1faba302a3e02bd9fc8226a22ad79e950c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Oct 30 21:10:31 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Oct 30 21:10:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e2be1f

x11-libs/libva-intel-media-driver: bump to version 21.4.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.4.0.ebuild | 64 ++
 2 files changed, 65 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 0aa8033099d..42890e41964 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -8,3 +8,4 @@ DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348c
 DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B 
cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384
 SHA512 
27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597
 DIST intel-media-21.3.3.tar.gz 23092541 BLAKE2B 
083cc368095bbc9cf333953855ad94d7a8d67b967f4f93d94e3c8e23bbcdadad19c1b1032cafc671ae9a9df9be547498ebe84426ad9d91a9e82557095eb8
 SHA512 
a9da8a627420c5ea0de9413ce0aeb471f40a0886abd67380ead7ffba32de4abbc1741c47cfcfc73d42b14456090266f4dad8d363c8ad590cef521ef48e42f692
 DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
+DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B 
d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36
 SHA512 
e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4

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
new file mode 100644
index 000..15ca5a26b62
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-10-13 Thread Sam James
commit: 0e76a5d451f076a9cad9d6f355a4494fbd6abb7e
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 14 05:07:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 14 05:07:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e76a5d4

x11-libs/libva-intel-media-driver: sync live ebuild

Signed-off-by: Sam James  gentoo.org>

 .../libva-intel-media-driver-21.3.5.ebuild| 4 +++-
 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild | 8 +---
 2 files changed, 8 insertions(+), 4 deletions(-)

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
index 9e1f452eb0f..15ca5a26b62 100644
--- 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
@@ -15,7 +15,9 @@ 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}"
-   KEYWORDS="~amd64"
+   if [[ ${PV} != *_pre* ]] ; then
+   KEYWORDS="~amd64"
+   fi
 fi
 
 DESCRIPTION="Intel Media Driver for VAAPI (iHD)"

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index 7e53505dd38..15ca5a26b62 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -15,7 +15,9 @@ 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}"
-   KEYWORDS="~amd64"
+   if [[ ${PV} != *_pre* ]] ; then
+   KEYWORDS="~amd64"
+   fi
 fi
 
 DESCRIPTION="Intel Media Driver for VAAPI (iHD)"
@@ -27,8 +29,8 @@ IUSE="+custom-cflags set-as-default test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-21.1.3
-   >=x11-libs/libva-2.11.0[X?]
+DEPEND=">=media-libs/gmmlib-21.3.1
+   >=x11-libs/libva-2.13.0[X?]
 "
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-10-13 Thread Sam James
commit: 19d8b8ebbac55885fbf0ae9e78ee060e863b97af
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Tue Oct 12 17:29:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 14 05:05:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d8b8eb

x11-libs/libva-intel-media-driver: updated to version 21.3.5

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/22566
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.3.5.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index d01ef884d63..0aa8033099d 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -7,3 +7,4 @@ DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4
 DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348cc5ce1e2446063c743fa89072ae46c6a4af0c71001fb8249b0306d67a220312f883a8f54dde1981078e6ee8fad71eaaa1
 SHA512 
b12ff5b3afbc4d4f34353c7a4ea50b1c66746b33920e450d7d17cffdc234921e82fc4c1afb025274caf2a5efbe87e577b6790d0648a52de08ea19b11a103ac81
 DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B 
cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384
 SHA512 
27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597
 DIST intel-media-21.3.3.tar.gz 23092541 BLAKE2B 
083cc368095bbc9cf333953855ad94d7a8d67b967f4f93d94e3c8e23bbcdadad19c1b1032cafc671ae9a9df9be547498ebe84426ad9d91a9e82557095eb8
 SHA512 
a9da8a627420c5ea0de9413ce0aeb471f40a0886abd67380ead7ffba32de4abbc1741c47cfcfc73d42b14456090266f4dad8d363c8ad590cef521ef48e42f692
+DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 
1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f
 SHA512 
e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6

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
new file mode 100644
index 000..9e1f452eb0f
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}"
+   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-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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-09-22 Thread Sam James
commit: f270bc9d6e445c6aee63e1a60bddee805de24d4e
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 22 21:19:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 22 21:19:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f270bc9d

x11-libs/libva: destabilize 2.13.0 for ~x86

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.13.0.ebuild 
b/x11-libs/libva/libva-2.13.0.ebuild
index c005483b71a..953e353bda4 100644
--- a/x11-libs/libva/libva-2.13.0.ebuild
+++ b/x11-libs/libva/libva-2.13.0.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-09-22 Thread Sam James
commit: b642edc911797eabd739e60048f01feeb31a5220
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Tue Sep 21 09:00:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 22 21:18:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b642edc9

x11-libs/libva: update to 2.13.0

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/Manifest|  1 +
 x11-libs/libva/libva-2.13.0.ebuild | 91 ++
 2 files changed, 92 insertions(+)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 85d761252f4..49c22e06c7d 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,6 +1,7 @@
 DIST libva-2.10.0.tar.bz2 484741 BLAKE2B 
9c3912d5337d3624af9ffc537a972479385285413712948159641d10b60a39b60754b3bc6467a0508a878df29be23c0e2bace488bdf9047f3e162ca0b573fa5f
 SHA512 
9225120f17e0d935927cb0046c3a6086c776beac71a8ef7fd800d2c6a721d0e28a13be89221c5ef3cca1634317aaa2a513554ccf25a54f25b2a339603c4a11a1
 DIST libva-2.11.0.tar.gz 252204 BLAKE2B 
b56c47296493a9ecce7758661386d98d9a47082d8f16ab3b352f84591291e85aefc336a209433a901f7c4be1f54570221e9955666b22125740cc060542099394
 SHA512 
592df16bca06c93d252d27b2105032f020b0ca30f7937533918a497f385ec59b8a1e19c5d89047c197ddc1aab056128ab114b9ec29de3e968cb96bfa8d85f02a
 DIST libva-2.12.0.tar.gz 257645 BLAKE2B 
8436f654e3fec57dd490aad6ff19d7fd9aa33a90f32535c0bd57ad47ab6c5728b7a67b277c46f854b781747fd641a76d068f052d95104d515eb9a9b206041edc
 SHA512 
53b22dd5166b92bceb508e7ecd73ae023d95928a76db0e61f4326652f23f6603c507b2ee604779293c7d7a02ef0f7b082e3b181bbb55f0a63416196088af1b51
+DIST libva-2.13.0.tar.gz 256724 BLAKE2B 
97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7
 SHA512 
226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
 DIST libva-2.5.0.tar.bz2 459677 BLAKE2B 
d6e5bf94bcbda0a724634164bd8cf91efbdbe36120e62e7e7eefcd749afffec1950d8904318b472c81ae07490c559c68b0853725c654a08592457118cd5d6a83
 SHA512 
ffaeb9cf8ed1f93073c1cb3e58f5b3d3612e81622d02f8e428c089f625d4370b496b7681ac2fc2823c48670c9fd3da50893b1db51de768cf0f5d866e2ee78106
 DIST libva-2.6.1.tar.bz2 466497 BLAKE2B 
d4ea6e6d0102722206d94725932f0b3cf650bab3f02235f4c627dc83e5417b786f9524430d793f1067d002a0c9d7cbc92a7c740383c698d225a14946e1bb90ba
 SHA512 
b57f0c0dda5ebadc92f56bc7fb835c2931cafffca9413fb4d244ea1dd47b603376323e6bebf144ccb2d2cf3499c64b101f8e03ff1809bd81242718d224d2d17d
 DIST libva-2.7.1.tar.bz2 477933 BLAKE2B 
261e608af3f1427bed0244d4ebbc0d3ffe5681669ecb3583a8910568bc96817b8da079ffe80915ecf1002f9ac247eea5e44f8f7ce305313719fc1a4f1c5892b3
 SHA512 
f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126

diff --git a/x11-libs/libva/libva-2.13.0.ebuild 
b/x11-libs/libva/libva-2.13.0.ebuild
new file mode 100644
index 000..c005483b71a
--- /dev/null
+++ b/x11-libs/libva/libva-2.13.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_BRANCH=master
+   EGIT_REPO_URI="https://github.com/intel/libva;
+else
+   # 
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
+   # The upstream provides periodically tarball with pre-built 'configure'.
+   # To simplify updates, portage use tarballs without pre-build 
'configure'
+   # which are always available.
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="+drm opengl utils vdpau wayland X"
+
+VIDEO_CARDS="nvidia intel i965 nouveau"
+for x in ${VIDEO_CARDS}; do
+   IUSE+=" video_cards_${x}"
+done
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+PDEPEND="video_cards_nvidia? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
+   video_cards_nouveau? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
+   vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
+   

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-09-22 Thread Sam James
commit: 2064b361a4a3490469cc1a5f13731a3dd04006e3
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Tue Sep 21 09:01:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 22 21:18:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2064b361

x11-libs/libva-intel-media-driver: add new PRE version 21.3.3_pre

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/22348
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.3.3_pre.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 04a1cc25c03..d01ef884d63 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -6,3 +6,4 @@ DIST intel-media-21.1.3.tar.gz 22507169 BLAKE2B 
68962db57d6f4c11e50b5d44584adf04
 DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4ad8e0ea1d7fd4c844dda8d08d72968e3080f320384dcc50caf0ad4f013eec69fe4e8d1444fac665623e6f72521fc3a95
 SHA512 
f88fd02af55538045e01982e7bda8a7e781ad7fa57a8e60e61681a705a87a402ceab433a5362fe0f6269366ea54b60f91ffd2689641370f20c66dc10d26d1c4a
 DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348cc5ce1e2446063c743fa89072ae46c6a4af0c71001fb8249b0306d67a220312f883a8f54dde1981078e6ee8fad71eaaa1
 SHA512 
b12ff5b3afbc4d4f34353c7a4ea50b1c66746b33920e450d7d17cffdc234921e82fc4c1afb025274caf2a5efbe87e577b6790d0648a52de08ea19b11a103ac81
 DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B 
cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384
 SHA512 
27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597
+DIST intel-media-21.3.3.tar.gz 23092541 BLAKE2B 
083cc368095bbc9cf333953855ad94d7a8d67b967f4f93d94e3c8e23bbcdadad19c1b1032cafc671ae9a9df9be547498ebe84426ad9d91a9e82557095eb8
 SHA512 
a9da8a627420c5ea0de9413ce0aeb471f40a0886abd67380ead7ffba32de4abbc1741c47cfcfc73d42b14456090266f4dad8d363c8ad590cef521ef48e42f692

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.3_pre.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.3_pre.ebuild
new file mode 100644
index 000..6eec248e7f0
--- /dev/null
+++ 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.3_pre.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}"
+   KEYWORDS="" # no keywords for '_pre' releases
+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.1.3
+   >=x11-libs/libva-2.11.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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-09-07 Thread Sam James
commit: 54ac7a634f0cd140dd2b199afd52888df44864f5
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Mon Aug 30 17:05:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  7 20:25:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54ac7a63

x11-libs/libva-intel-media-driver: new pre-release version 21.3.2

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/22162
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.3.2_pre.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 58c9e525ce4..04a1cc25c03 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -5,3 +5,4 @@ DIST intel-media-21.1.2.tar.gz 22487027 BLAKE2B 
819b7c4a4fc9295034af77f1e95d4b23
 DIST intel-media-21.1.3.tar.gz 22507169 BLAKE2B 
68962db57d6f4c11e50b5d44584adf0458d08a118234a091aa55734885ee9fab6449658a8736c4a23233be38b58311953492482c3d9b258dd2cf8008cf363f20
 SHA512 
a5a4c26d86191138245e0cc62304aeeccfb6627b04310e4b1d35cc2050b909d9b856b6176d868562336dd6342f93b1909b46fb481eb353ef02cc188eea5da121
 DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4ad8e0ea1d7fd4c844dda8d08d72968e3080f320384dcc50caf0ad4f013eec69fe4e8d1444fac665623e6f72521fc3a95
 SHA512 
f88fd02af55538045e01982e7bda8a7e781ad7fa57a8e60e61681a705a87a402ceab433a5362fe0f6269366ea54b60f91ffd2689641370f20c66dc10d26d1c4a
 DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348cc5ce1e2446063c743fa89072ae46c6a4af0c71001fb8249b0306d67a220312f883a8f54dde1981078e6ee8fad71eaaa1
 SHA512 
b12ff5b3afbc4d4f34353c7a4ea50b1c66746b33920e450d7d17cffdc234921e82fc4c1afb025274caf2a5efbe87e577b6790d0648a52de08ea19b11a103ac81
+DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B 
cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384
 SHA512 
27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.2_pre.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.2_pre.ebuild
new file mode 100644
index 000..6eec248e7f0
--- /dev/null
+++ 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.3.2_pre.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}"
+   KEYWORDS="" # no keywords for '_pre' releases
+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.1.3
+   >=x11-libs/libva-2.11.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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-08-26 Thread Agostino Sarubbo
commit: 73d1b568bda1226e25061c40ca60573aef75512f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 27 05:12:04 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 27 05:12:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d1b568

x11-libs/libva: x86 stable wrt bug #810067

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.12.0.ebuild 
b/x11-libs/libva/libva-2.12.0.ebuild
index 7ffd4d89937..99c5784ee91 100644
--- a/x11-libs/libva/libva-2.12.0.ebuild
+++ b/x11-libs/libva/libva-2.12.0.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-08-26 Thread Agostino Sarubbo
commit: 1a425af9392769538a1ddb3898ae8a3ba1adc8b9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 27 05:10:31 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 27 05:10:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a425af9

x11-libs/libva: amd64 stable wrt bug #810067

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.12.0.ebuild 
b/x11-libs/libva/libva-2.12.0.ebuild
index 953e353bda4..7ffd4d89937 100644
--- a/x11-libs/libva/libva-2.12.0.ebuild
+++ b/x11-libs/libva/libva-2.12.0.ebuild
@@ -18,7 +18,7 @@ else
# To simplify updates, portage use tarballs without pre-build 
'configure'
# which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-07-01 Thread Sam James
commit: b8835ecf125cbe045fe4a13e1969a0a1f0885cc6
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Thu Jul  1 08:18:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  1 08:54:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8835ecf

x11-libs/libva-intel-media-driver: new version 21.2.3

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/21496
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 .../libva-intel-media-driver-21.2.3.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index bedf5dcb761..58c9e525ce4 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -4,3 +4,4 @@ DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befb
 DIST intel-media-21.1.2.tar.gz 22487027 BLAKE2B 
819b7c4a4fc9295034af77f1e95d4b23ca974629f0ff70f14d84c881fa8ae2558708878e045b700fef30bb28a1af9ec61306854e91d0df4881e7d9dc229715b2
 SHA512 
046942ebedad2e40de3c592ed92bd7d266402f1f94d30ee7674adcb147774f6d90af18c56a19a8d16465144a7bded9cc7b6eeefdeb50f349c7d3ef6840c30ea4
 DIST intel-media-21.1.3.tar.gz 22507169 BLAKE2B 
68962db57d6f4c11e50b5d44584adf0458d08a118234a091aa55734885ee9fab6449658a8736c4a23233be38b58311953492482c3d9b258dd2cf8008cf363f20
 SHA512 
a5a4c26d86191138245e0cc62304aeeccfb6627b04310e4b1d35cc2050b909d9b856b6176d868562336dd6342f93b1909b46fb481eb353ef02cc188eea5da121
 DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4ad8e0ea1d7fd4c844dda8d08d72968e3080f320384dcc50caf0ad4f013eec69fe4e8d1444fac665623e6f72521fc3a95
 SHA512 
f88fd02af55538045e01982e7bda8a7e781ad7fa57a8e60e61681a705a87a402ceab433a5362fe0f6269366ea54b60f91ffd2689641370f20c66dc10d26d1c4a
+DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 
0652563f8e8494c9fa181822a7af348cc5ce1e2446063c743fa89072ae46c6a4af0c71001fb8249b0306d67a220312f883a8f54dde1981078e6ee8fad71eaaa1
 SHA512 
b12ff5b3afbc4d4f34353c7a4ea50b1c66746b33920e450d7d17cffdc234921e82fc4c1afb025274caf2a5efbe87e577b6790d0648a52de08ea19b11a103ac81

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.3.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.3.ebuild
new file mode 100644
index 000..fc67874d04c
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == * ]] ; then
+   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+   if [[ ${PV%} != "" ]] ; then
+   : ${EGIT_BRANCH:="release/${PV%.}"}
+   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}"
+   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-21.2.1
+   >=x11-libs/libva-2.12.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
+}



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/, x11-libs/libva-intel-media-driver/files/

2021-06-29 Thread Sam James
commit: 17befa36302a513bcf3e80930815c5050b6c91e6
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Sun Jun 27 11:59:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 17:37:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17befa36

x11-libs/libva-intel-media-driver: updated to version 21.2.2 pre

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/21423
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 ...a-intel-media-driver-21.2.2_custom_cflags.patch | 52 ++
 ... => libva-intel-media-driver-21.2.2_pre.ebuild} |  6 +--
 .../libva-intel-media-driver-.ebuild   |  4 +-
 4 files changed, 58 insertions(+), 5 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 3bfeb9f0b70..bedf5dcb761 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -3,3 +3,4 @@ DIST intel-media-20.2.0.tar.gz 21860711 BLAKE2B 
df5ebb4ec603902dd34aca6915dab5be
 DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea
 DIST intel-media-21.1.2.tar.gz 22487027 BLAKE2B 
819b7c4a4fc9295034af77f1e95d4b23ca974629f0ff70f14d84c881fa8ae2558708878e045b700fef30bb28a1af9ec61306854e91d0df4881e7d9dc229715b2
 SHA512 
046942ebedad2e40de3c592ed92bd7d266402f1f94d30ee7674adcb147774f6d90af18c56a19a8d16465144a7bded9cc7b6eeefdeb50f349c7d3ef6840c30ea4
 DIST intel-media-21.1.3.tar.gz 22507169 BLAKE2B 
68962db57d6f4c11e50b5d44584adf0458d08a118234a091aa55734885ee9fab6449658a8736c4a23233be38b58311953492482c3d9b258dd2cf8008cf363f20
 SHA512 
a5a4c26d86191138245e0cc62304aeeccfb6627b04310e4b1d35cc2050b909d9b856b6176d868562336dd6342f93b1909b46fb481eb353ef02cc188eea5da121
+DIST intel-media-21.2.2.tar.gz 23021952 BLAKE2B 
0173eb8fb81c3012af30bb755b87e5f4ad8e0ea1d7fd4c844dda8d08d72968e3080f320384dcc50caf0ad4f013eec69fe4e8d1444fac665623e6f72521fc3a95
 SHA512 
f88fd02af55538045e01982e7bda8a7e781ad7fa57a8e60e61681a705a87a402ceab433a5362fe0f6269366ea54b60f91ffd2689641370f20c66dc10d26d1c4a

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.2.2_custom_cflags.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.2.2_custom_cflags.patch
new file mode 100644
index 000..c0f598ce6cd
--- /dev/null
+++ 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.2.2_custom_cflags.patch
@@ -0,0 +1,52 @@
+Prevent overriding of user-defined CFLAGS.
+
+
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
 b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -51,16 +51,26 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -fdata-sections
+ -ffunction-sections
+ -Wl,--gc-sections
++)
+ 
++if (OVERRIDE_COMPILER_FLAGS)
++list (APPEND MEDIA_COMPILER_FLAGS_COMMON
+ # -m32 or -m64
+ -m${ARCH}
++)
++endif(OVERRIDE_COMPILER_FLAGS)
+ 
++list (APPEND MEDIA_COMPILER_FLAGS_COMMON
+ # Global defines
+ -DLINUX=1
+ -DLINUX
+ -DNO_RTTI
+ -DNO_EXCEPTION_HANDLING
+ -DINTEL_NOT_PUBLIC
++)
++
++if (OVERRIDE_COMPILER_FLAGS)
++list (APPEND MEDIA_COMPILER_FLAGS_COMMON
+ -g
+ )
+ 
+@@ -73,6 +83,7 @@ if(${UFO_MARCH} STREQUAL "slm")
+ -mtune=atom
+ )
+ endif()
++endif(OVERRIDE_COMPILER_FLAGS)
+ 
+ if(${ARCH} STREQUAL "64")
+ set(MEDIA_COMPILER_FLAGS_COMMON
+@@ -189,9 +200,11 @@ 
include(${MEDIA_EXT_CMAKE}/ext/linux/media_compile_flags_linux_ext.cmake OPTIONA
+ if(${PLATFORM} STREQUAL "linux")
+ #set predefined compiler flags set
+ add_compile_options("${MEDIA_COMPILER_FLAGS_COMMON}")
++if (OVERRIDE_COMPILER_FLAGS)
+ add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_DEBUG}>")
+ 
add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_RELEASE}>")
+ 
add_compile_options("$<$:${MEDIA_COMPILER_FLAGS_RELEASEINTERNAL}>")
++endif(OVERRIDE_COMPILER_FLAGS)
+ 
+ foreach (flag ${MEDIA_COMPILER_CXX_FLAGS_COMMON})
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.2_pre.ebuild
similarity index 91%
copy from x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
copy to 
x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.2_pre.ebuild
index 072d1d906b9..6eec248e7f0 100644
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.2.2_pre.ebuild
@@ -15,7 +15,7 @@ else
MY_PV="${PV%_pre}"


[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-06-29 Thread Sam James
commit: a2a7267c25147f91d86e0ebe1cf3523f3690e9db
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 29 17:35:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 17:37:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a7267c

x11-libs/libva-intel-media-driver: unkeyword 21.1.2_pre for ~amd64

We don't want to keyword pre-releases.

Signed-off-by: Sam James  gentoo.org>

 .../libva-intel-media-driver-21.1.2_pre.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.1.2_pre.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.1.2_pre.ebuild
index d8a7364723b..885636cf2e3 100644
--- 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.1.2_pre.ebuild
+++ 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.1.2_pre.ebuild
@@ -15,7 +15,8 @@ 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}"
-   KEYWORDS="~amd64"
+   # No keywords for _pre releases
+   #KEYWORDS="~amd64"
 fi
 
 DESCRIPTION="Intel Media Driver for VAAPI (iHD)"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-06-28 Thread Sam James
commit: c4435dc57efb3be5cb6d83ca2f11583fa8361f81
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Sun Jun 27 12:27:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 04:12:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4435dc5

x11-libs/libva: bump to v2.12.0

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/Manifest|  1 +
 x11-libs/libva/libva-2.12.0.ebuild | 91 ++
 2 files changed, 92 insertions(+)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index fd8ca63d261..85d761252f4 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,5 +1,6 @@
 DIST libva-2.10.0.tar.bz2 484741 BLAKE2B 
9c3912d5337d3624af9ffc537a972479385285413712948159641d10b60a39b60754b3bc6467a0508a878df29be23c0e2bace488bdf9047f3e162ca0b573fa5f
 SHA512 
9225120f17e0d935927cb0046c3a6086c776beac71a8ef7fd800d2c6a721d0e28a13be89221c5ef3cca1634317aaa2a513554ccf25a54f25b2a339603c4a11a1
 DIST libva-2.11.0.tar.gz 252204 BLAKE2B 
b56c47296493a9ecce7758661386d98d9a47082d8f16ab3b352f84591291e85aefc336a209433a901f7c4be1f54570221e9955666b22125740cc060542099394
 SHA512 
592df16bca06c93d252d27b2105032f020b0ca30f7937533918a497f385ec59b8a1e19c5d89047c197ddc1aab056128ab114b9ec29de3e968cb96bfa8d85f02a
+DIST libva-2.12.0.tar.gz 257645 BLAKE2B 
8436f654e3fec57dd490aad6ff19d7fd9aa33a90f32535c0bd57ad47ab6c5728b7a67b277c46f854b781747fd641a76d068f052d95104d515eb9a9b206041edc
 SHA512 
53b22dd5166b92bceb508e7ecd73ae023d95928a76db0e61f4326652f23f6603c507b2ee604779293c7d7a02ef0f7b082e3b181bbb55f0a63416196088af1b51
 DIST libva-2.5.0.tar.bz2 459677 BLAKE2B 
d6e5bf94bcbda0a724634164bd8cf91efbdbe36120e62e7e7eefcd749afffec1950d8904318b472c81ae07490c559c68b0853725c654a08592457118cd5d6a83
 SHA512 
ffaeb9cf8ed1f93073c1cb3e58f5b3d3612e81622d02f8e428c089f625d4370b496b7681ac2fc2823c48670c9fd3da50893b1db51de768cf0f5d866e2ee78106
 DIST libva-2.6.1.tar.bz2 466497 BLAKE2B 
d4ea6e6d0102722206d94725932f0b3cf650bab3f02235f4c627dc83e5417b786f9524430d793f1067d002a0c9d7cbc92a7c740383c698d225a14946e1bb90ba
 SHA512 
b57f0c0dda5ebadc92f56bc7fb835c2931cafffca9413fb4d244ea1dd47b603376323e6bebf144ccb2d2cf3499c64b101f8e03ff1809bd81242718d224d2d17d
 DIST libva-2.7.1.tar.bz2 477933 BLAKE2B 
261e608af3f1427bed0244d4ebbc0d3ffe5681669ecb3583a8910568bc96817b8da079ffe80915ecf1002f9ac247eea5e44f8f7ce305313719fc1a4f1c5892b3
 SHA512 
f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126

diff --git a/x11-libs/libva/libva-2.12.0.ebuild 
b/x11-libs/libva/libva-2.12.0.ebuild
new file mode 100644
index 000..953e353bda4
--- /dev/null
+++ b/x11-libs/libva/libva-2.12.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi;
+
+if [[ ${PV} = * ]] ; then
+   inherit git-r3
+   EGIT_BRANCH=master
+   EGIT_REPO_URI="https://github.com/intel/libva;
+else
+   # 
SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
+   # The upstream provides periodically tarball with pre-built 'configure'.
+   # To simplify updates, portage use tarballs without pre-build 
'configure'
+   # which are always available.
+   SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="+drm opengl utils vdpau wayland X"
+
+VIDEO_CARDS="nvidia intel i965 nouveau"
+for x in ${VIDEO_CARDS}; do
+   IUSE+=" video_cards_${x}"
+done
+
+RDEPEND="
+   >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+   opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
+   wayland? (
+   >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+PDEPEND="video_cards_nvidia? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
+   video_cards_nouveau? ( 
>=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
+   vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
+   video_cards_intel? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
+   video_cards_i965? ( 
>=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] )
+   utils? ( media-video/libva-utils )
+"
+
+REQUIRED_USE="|| ( drm wayland X )
+   opengl? ( X )"
+
+DOCS=( NEWS )
+

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-05-16 Thread Georgy Yakovlev
commit: 7d89cd6ae052581e21ea78e8b5779c964d6eeb3f
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun May 16 17:10:07 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun May 16 18:33:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d89cd6a

x11-libs/libva: stabilize on ppc64

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 x11-libs/libva/Manifest| 2 +-
 x11-libs/libva/libva-2.10.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 5a80f469f0e..fd8ca63d261 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,8 +1,8 @@
 DIST libva-2.10.0.tar.bz2 484741 BLAKE2B 
9c3912d5337d3624af9ffc537a972479385285413712948159641d10b60a39b60754b3bc6467a0508a878df29be23c0e2bace488bdf9047f3e162ca0b573fa5f
 SHA512 
9225120f17e0d935927cb0046c3a6086c776beac71a8ef7fd800d2c6a721d0e28a13be89221c5ef3cca1634317aaa2a513554ccf25a54f25b2a339603c4a11a1
+DIST libva-2.11.0.tar.gz 252204 BLAKE2B 
b56c47296493a9ecce7758661386d98d9a47082d8f16ab3b352f84591291e85aefc336a209433a901f7c4be1f54570221e9955666b22125740cc060542099394
 SHA512 
592df16bca06c93d252d27b2105032f020b0ca30f7937533918a497f385ec59b8a1e19c5d89047c197ddc1aab056128ab114b9ec29de3e968cb96bfa8d85f02a
 DIST libva-2.5.0.tar.bz2 459677 BLAKE2B 
d6e5bf94bcbda0a724634164bd8cf91efbdbe36120e62e7e7eefcd749afffec1950d8904318b472c81ae07490c559c68b0853725c654a08592457118cd5d6a83
 SHA512 
ffaeb9cf8ed1f93073c1cb3e58f5b3d3612e81622d02f8e428c089f625d4370b496b7681ac2fc2823c48670c9fd3da50893b1db51de768cf0f5d866e2ee78106
 DIST libva-2.6.1.tar.bz2 466497 BLAKE2B 
d4ea6e6d0102722206d94725932f0b3cf650bab3f02235f4c627dc83e5417b786f9524430d793f1067d002a0c9d7cbc92a7c740383c698d225a14946e1bb90ba
 SHA512 
b57f0c0dda5ebadc92f56bc7fb835c2931cafffca9413fb4d244ea1dd47b603376323e6bebf144ccb2d2cf3499c64b101f8e03ff1809bd81242718d224d2d17d
 DIST libva-2.7.1.tar.bz2 477933 BLAKE2B 
261e608af3f1427bed0244d4ebbc0d3ffe5681669ecb3583a8910568bc96817b8da079ffe80915ecf1002f9ac247eea5e44f8f7ce305313719fc1a4f1c5892b3
 SHA512 
f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126
 DIST libva-2.8.0.tar.bz2 478734 BLAKE2B 
b11393a9b9ec7ef4cf91d20d4005d42ad3d0e6a4a8e4d8cda67816bc5b9d3b23900754b5e8af92386dcf99a11e53af70fc4723ffecc715328c8fbf3d40486098
 SHA512 
329c5fc2262a6f4fddfcb13bd9644589248be6ae18fa14816b33874b91b60ad3f16a112f7a4817ba576db984834aa8735e6ad13d99b2f5aa13e9ddfa
 DIST libva-2.9.0.tar.bz2 481556 BLAKE2B 
5509f3d7df11a11602331a3b6bb78d3a5d3dfbeff024eaa77594918c49cd48ec9e8ee017d8ac7b4aa1dbd3252a23caecce9a10a8a9e12ef4c483a8a34e028b20
 SHA512 
496358b73cd525d8c9dc1fcf3dbf992ec997ecc8f7be31f0e226ded173aecf29d8d4b60cc7cc5ee7beac538061659841145f67f449a03a04236a6ee7ae6f8323
 DIST libva-2.9.1.tar.gz 240934 BLAKE2B 
76333a9ce78783c3d94798a19ea6a52d95768ca7e5a547094290313d4f5c610841787d4420d19e0553174933beaf5fbf68e7e849ad38682173f670de0d9a76e5
 SHA512 
79fd0b41795ac5de68bdd6470389fad6caf016fa4a44f2cd775c0a65d6d8f270a7e237d3b2e42a90376c103d2d2e2c010fe47835c7a15d79b94beaced02a2884
-DIST libva-2.11.0.tar.gz 252204 BLAKE2B 
b56c47296493a9ecce7758661386d98d9a47082d8f16ab3b352f84591291e85aefc336a209433a901f7c4be1f54570221e9955666b22125740cc060542099394
 SHA512 
592df16bca06c93d252d27b2105032f020b0ca30f7937533918a497f385ec59b8a1e19c5d89047c197ddc1aab056128ab114b9ec29de3e968cb96bfa8d85f02a

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index e5936f8fb8a..f25b39d46be 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else

SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-04-12 Thread Sam James
commit: e74c346a6a6c213a5d67c240ce3ef7446b190c7d
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 12 16:01:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 16:01:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74c346a

x11-libs/libva: Stabilize 2.10.0 arm64, #770250

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index c8117c47fab..e5936f8fb8a 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else

SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-compat/

2021-03-31 Thread Sam James
commit: c0fb76019221b55b7c6fa132a2daa4d2aad07013
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr  1 00:34:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr  1 00:43:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fb7601

x11-libs/libva-compat: fix libtool file removal (for slibtool)

slibtool doesn't produce these files at all, so we can't
delete them in that case.

Closes: https://bugs.gentoo.org/779202
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-compat/libva-compat-1.8.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-libs/libva-compat/libva-compat-1.8.3.ebuild 
b/x11-libs/libva-compat/libva-compat-1.8.3.ebuild
index 5b82b4eb887..31cdf24dbf5 100644
--- a/x11-libs/libva-compat/libva-compat-1.8.3.ebuild
+++ b/x11-libs/libva-compat/libva-compat-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -68,5 +68,5 @@ multilib_src_configure() {
 
 multilib_src_install() {
emake -C va DESTDIR="${D}" install-libLTLIBRARIES
-   rm -v "${ED}"/usr/$(get_libdir)/*.{la,so} || die
+   rm -vf "${ED}"/usr/$(get_libdir)/*.{la,so} || die
 }



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/files/, x11-libs/libva-intel-media-driver/

2021-03-26 Thread Sam James
commit: d5a533d08c969e1f0d40013216d509ce36849fce
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Thu Mar 25 13:36:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 26 15:54:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a533d0

x11-libs/libva-intel-media-driver: new '_pre' version

Dropped unneeded dependency.
New 'custom-cflags' patch. '-msse4.1' is not needed anymore and handled
correctly by upstream.

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/20113
Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  1 +
 ...a-intel-media-driver-21.1.2_custom_cflags.patch | 87 ++
 ... => libva-intel-media-driver-21.1.2_pre.ebuild} |  8 +-
 .../libva-intel-media-driver-.ebuild   |  8 +-
 4 files changed, 96 insertions(+), 8 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 072e9605b89..847748bc1d0 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 DIST intel-media-20.1.1.tar.gz 21788401 BLAKE2B 
53f2ebf5941c487253d02d0e23229cd408eb3b53ef37cfdefb1a874e5a6c9b051b69ccda513c2d1d9bb9cc03814bc3db40a40241eb3c7a0a78edba3ba7e9bf01
 SHA512 
696f3b82d155e472285150b476daf9195ec6cbad0526f017fd0c57c1fb02618210b3e96eb13351ee286f3502df4970a22a940c3476877fa1f5c23dc85a646c25
 DIST intel-media-20.2.0.tar.gz 21860711 BLAKE2B 
df5ebb4ec603902dd34aca6915dab5bec4ad6237e5810d0e04349f7269adf62505afaed8456d1ad6a3544525bdb2012294e6b92e68dc3f0338f6fab54aa934bd
 SHA512 
0f4817b66f4e2d752d5a34cc1c8974dd09b4fe4f6d8bf3df896887542c229088edc406a9b2a68a9b353214aa7ffa4cd8917cdb6695dbe2e316af6c444822b15b
 DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea
+DIST intel-media-21.1.2.tar.gz 22487027 BLAKE2B 
819b7c4a4fc9295034af77f1e95d4b23ca974629f0ff70f14d84c881fa8ae2558708878e045b700fef30bb28a1af9ec61306854e91d0df4881e7d9dc229715b2
 SHA512 
046942ebedad2e40de3c592ed92bd7d266402f1f94d30ee7674adcb147774f6d90af18c56a19a8d16465144a7bded9cc7b6eeefdeb50f349c7d3ef6840c30ea4

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.1.2_custom_cflags.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.1.2_custom_cflags.patch
new file mode 100644
index 000..4aebd7cdc03
--- /dev/null
+++ 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.1.2_custom_cflags.patch
@@ -0,0 +1,87 @@
+Prevent overriding of user-defined CFLAGS.
+
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -52,6 +52,8 @@ option (BUILD_CMRTLIB "Build and Install cmrtlib together 
with media driver" ON)
+ 
+ option (ENABLE_PRODUCTION_KMD "Enable Production KMD header files" OFF)
+ 
++option (OVERRIDE_COMPILER_FLAGS "Override user compiler FLAGS and use lib 
defaults" ON)
++
+ include(GNUInstallDirs)
+ 
+ if (BUILD_CMRTLIB)
+--- a/cmrtlib/linux/CMakeLists.txt
 b/cmrtlib/linux/CMakeLists.txt
+@@ -33,15 +33,19 @@ endif()
+ 
+ # Set up compile options that will be used for the Linux build
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CPP_STANDARD_OPTION} -fPIC 
-fpermissive -fstack-protector-all -Werror")
++if (OVERRIDE_COMPILER_FLAGS)
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
+ endif()
++endif(OVERRIDE_COMPILER_FLAGS)
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing 
-D_FORTIFY_SOURCE=2")
+ set(CMAKE_CXX_FLAGS_DEBUG   "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive 
-fstack-protector-all -Werror")
++if (OVERRIDE_COMPILER_FLAGS)
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1")
+ endif()
++endif(OVERRIDE_COMPILER_FLAGS)
+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing 
-D_FORTIFY_SOURCE=2")
+ set(CMAKE_C_FLAGS_DEBUG   "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0")
+ 
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
 b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -51,16 +51,26 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -fdata-sections
+ -ffunction-sections
+ -Wl,--gc-sections
++)
+ 
++if (OVERRIDE_COMPILER_FLAGS)
++list (APPEND MEDIA_COMPILER_FLAGS_COMMON
+ # -m32 or -m64
+ -m${ARCH}
++)
++endif(OVERRIDE_COMPILER_FLAGS)
+ 
++list (APPEND MEDIA_COMPILER_FLAGS_COMMON
+ # Global defines
+ -DLINUX=1
+ -DLINUX
+ -DNO_RTTI
+ -DNO_EXCEPTION_HANDLING
+ -DINTEL_NOT_PUBLIC
++)
++
++if (OVERRIDE_COMPILER_FLAGS)
++list (APPEND 

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-vdpau-driver/

2021-03-26 Thread Sam James
commit: 4138dae3de29301c0d47070e4a2a3ebbed85ba38
Author: David Michael  gmail  com>
AuthorDate: Fri Mar 26 14:23:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 26 15:17:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4138dae3

x11-libs/libva-vdpau-driver: use BDEPEND with EAPI 7

Closes: https://bugs.gentoo.org/778440
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild   | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild 
b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild
index 5cc158cf7ab..e4baae9bb0e 100644
--- a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild
+++ b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,12 +14,13 @@ SLOT="0"
 KEYWORDS="amd64 arm64 ~riscv x86"
 IUSE="debug opengl"
 
-RDEPEND=">=x11-libs/libva-1.2.1-r1:=[X,opengl?,${MULTILIB_USEDEP}]
+RDEPEND="
+   >=x11-libs/libva-1.2.1-r1:=[X,opengl?,${MULTILIB_USEDEP}]
+   >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}]
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
-   >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}]"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 DOCS=( NEWS README AUTHORS )
 



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-03-24 Thread Rick Farina
commit: 32b6cd6a367f994b4ff7d9230848d2649fcaddff
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Mar 24 18:41:22 2021 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Mar 24 18:41:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b6cd6a

x11-libs/libva: add missing dep

configure checks for and aborts if dev-util/wayland-scanner is missing

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Rick Farina  gentoo.org>

 x11-libs/libva/libva-2.10.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index 87e992634ed..c8117c47fab 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -29,7 +29,10 @@ done
 RDEPEND="
>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
-   wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] )
+   wayland? (
+>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+   dev-util/wayland-scanner[${MULTILIB_USEDEP}]
+   )
X? (
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-03-01 Thread Agostino Sarubbo
commit: b8303c18283c4d2694cda6e735e8c4c1ea3c9e5f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  1 09:18:10 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  1 09:18:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8303c18

x11-libs/libva: amd64 stable wrt bug #770250

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-libs/libva/libva-2.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index f5c04442c6e..87e992634ed 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else

SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-03-01 Thread Agostino Sarubbo
commit: 165789d4c89b6b8bd7041026fceb21bd33da1e44
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  1 09:18:13 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  1 09:18:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165789d4

x11-libs/libva-intel-media-driver: amd64 stable wrt bug #770250

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../libva-intel-media-driver/libva-intel-media-driver-20.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 33551ed4938..7e51437dd24 100644
--- 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
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${PV}.tar.gz;
S="${WORKDIR}/media-driver-intel-media-${PV}"
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 DESCRIPTION="Intel Media Driver for VAAPI (iHD)"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/

2021-02-24 Thread Sam James
commit: 83b25d258d7535f1d16fe434d8c136efff914cac
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 00:03:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 00:03:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b25d25

x11-libs/libva: Stabilize 2.10.0 x86, #770250

Signed-off-by: Sam James  gentoo.org>

 x11-libs/libva/libva-2.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index 6dbd26cce39..f5c04442c6e 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} = * ]] ; then
EGIT_REPO_URI="https://github.com/intel/libva;
 else

SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/

2021-02-14 Thread Andreas Sturmlechner
commit: 10100241327e2e49f72de401c1730c0dc65837b1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 14 20:50:26 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 14 20:50:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10100241

x11-libs/libva-intel-media-driver: Cleanup old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest |  2 -
 .../libva-intel-media-driver-18.3.0.ebuild | 43 -
 .../libva-intel-media-driver-18.4.1.ebuild | 43 -
 .../libva-intel-media-driver-20.1.1-r1.ebuild  | 43 -
 .../libva-intel-media-driver-20.1.1.ebuild | 40 ---
 .../libva-intel-media-driver-20.2.0-r1.ebuild  | 45 --
 .../libva-intel-media-driver-20.2.0.ebuild | 40 ---
 7 files changed, 256 deletions(-)

diff --git a/x11-libs/libva-intel-media-driver/Manifest 
b/x11-libs/libva-intel-media-driver/Manifest
index 1065e57c2b9..072e9605b89 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -1,5 +1,3 @@
-DIST intel-media-18.3.0.tar.gz 14422845 BLAKE2B 
07da8e78d069de091bd4f29beb0699c97f007ff0f6543baa40d35923488d6152cb0a921cbe16006b045be973d5651ee01dc98ead0b79d4c779ed39e7a8fb38d9
 SHA512 
96ee85c087994d1e4b6bbd5fca8e558d9169f8b7c130fdb4571ecd4dcbb31fe4a73607cc1b055918f27e90dbb25843d851bb8a1e2557733b4795e937479d
-DIST intel-media-18.4.1.tar.gz 14657816 BLAKE2B 
eb0be7c756e290bf5318987e375e9ad531fb4e318e4bf83f6c5d68106112a06d505ed7f8abc5ecb277b4430883d2153fe6c68ba683241253cb0d32853bb8dab2
 SHA512 
ed5d4116ab4af36761a0a819105f4ff5551d437e3f1ab8c1b2ea20a89a1792b7558bacd1ea8f082f595fce21d72810f806820b8543e1cbfcd2de7e28e649a536
 DIST intel-media-20.1.1.tar.gz 21788401 BLAKE2B 
53f2ebf5941c487253d02d0e23229cd408eb3b53ef37cfdefb1a874e5a6c9b051b69ccda513c2d1d9bb9cc03814bc3db40a40241eb3c7a0a78edba3ba7e9bf01
 SHA512 
696f3b82d155e472285150b476daf9195ec6cbad0526f017fd0c57c1fb02618210b3e96eb13351ee286f3502df4970a22a940c3476877fa1f5c23dc85a646c25
 DIST intel-media-20.2.0.tar.gz 21860711 BLAKE2B 
df5ebb4ec603902dd34aca6915dab5bec4ad6237e5810d0e04349f7269adf62505afaed8456d1ad6a3544525bdb2012294e6b92e68dc3f0338f6fab54aa934bd
 SHA512 
0f4817b66f4e2d752d5a34cc1c8974dd09b4fe4f6d8bf3df896887542c229088edc406a9b2a68a9b353214aa7ffa4cd8917cdb6695dbe2e316af6c444822b15b
 DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 
136be5280b463879e47ce8a1dae1befbe3907a2429b799b972dffbdcb8b21512e3161dc209abf7b4dfb0d3695512963c40cdd85fb6fb2f3158bee12e8e42ddcd
 SHA512 
dfd70dc83eae181830844f9055ad728d91a51a55ea29ea5d272b154f16a92dfba86568d9b4e8f8c56d500582056b73602c999d2e877386fcf46df1633fc5e2ea

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.3.0.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.3.0.ebuild
deleted file mode 100644
index 14fd59d2767..000
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.3.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-if [[ ${PV} == * ]] ; then
-   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
-   if [[ ${PV%} != "" ]] ; then
-   : ${EGIT_BRANCH:="release/${PV%.}"}
-   fi
-   inherit git-r3
-fi
-
-DESCRIPTION="Intel Media Driver for VAAPI (iHD)"
-HOMEPAGE="https://github.com/intel/media-driver;
-if [[ ${PV} == * ]] ; then
-   SRC_URI=""
-   KEYWORDS=""
-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
-
-LICENSE="MIT BSD"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=media-libs/gmmlib-${PV}
-   >=x11-libs/libva-2.3.0
-   >=x11-libs/libpciaccess-0.13.1-r1:=
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DMEDIA_RUN_TEST_SUITE=OFF
-   )
-
-   cmake-utils_src_configure
-}

diff --git 
a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.4.1.ebuild 
b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.4.1.ebuild
deleted file mode 100644
index e08e05733d2..000
--- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-18.4.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-if [[ ${PV} == * ]] ; then
-   : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
-   if [[ ${PV%} != "" ]] ; then
-   : ${EGIT_BRANCH:="release/${PV%.}"}
-   fi
-   inherit git-r3
-fi
-
-DESCRIPTION="Intel Media Driver for VAAPI (iHD)"

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/files/, x11-libs/libva/

2021-01-29 Thread Lars Wendler
commit: a691ff58f141b95596de85abad71471e8a427da8
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jan 29 08:59:18 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jan 29 08:59:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a691ff58

x11-libs/libva: Use upstream fix for USE="wayland" build

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 .../files/libva-2.10.0-fix_wayland_build.patch | 29 
 .../libva/files/libva-2.10.0-unbreak_gnu_sed.patch | 31 --
 x11-libs/libva/libva-2.10.0.ebuild |  2 +-
 3 files changed, 30 insertions(+), 32 deletions(-)

diff --git a/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch 
b/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch
new file mode 100644
index 000..cf799cd3d68
--- /dev/null
+++ b/x11-libs/libva/files/libva-2.10.0-fix_wayland_build.patch
@@ -0,0 +1,29 @@
+From 3a71a012b72480ffdf1e2361845036f3cc9d7154 Mon Sep 17 00:00:00 2001
+From: Jan Beich 
+Date: Sat, 9 Jan 2021 13:17:38 +
+Subject: [PATCH] autotools: use shell grouping instead of sed to prepend a
+ line
+
+dash and pdksh don't support $'...'
+
+/bin/sed: -e expression #1, char 2: unknown command: `1'
+---
+ va/wayland/Makefile.am | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
+index f48afb4d..40a54616 100644
+--- a/va/wayland/Makefile.am
 b/va/wayland/Makefile.am
+@@ -70,8 +70,9 @@ va_wayland_drm.c: $(protocol_source_h)
+ %-client-protocol-export.c : %.xml
+   $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
+ %-client-protocol.c: %-client-protocol-export.c
+-  $(AM_V_GEN)$(SED) -e $$'1i\\\n#include "sysdeps.h"\n' \
+- -e 's@WL_EXPORT@DLL_HIDDEN@g' < $< > $@
++  $(AM_V_GEN){ echo '#include "sysdeps.h"'; $(SED) \
++  -e 's@WL_EXPORT@DLL_HIDDEN@g' \
++  < $<; } > $@
+ 
+ EXTRA_DIST = \
+   wayland-drm.xml \

diff --git a/x11-libs/libva/files/libva-2.10.0-unbreak_gnu_sed.patch 
b/x11-libs/libva/files/libva-2.10.0-unbreak_gnu_sed.patch
deleted file mode 100644
index 411c6c47558..000
--- a/x11-libs/libva/files/libva-2.10.0-unbreak_gnu_sed.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 508cf475854c83b61a63d4c5f143b9a405fef77c Mon Sep 17 00:00:00 2001
-From: Lars Wendler 
-Date: Sat, 9 Jan 2021 01:21:55 +0100
-Subject: [PATCH] Revert "autotools: unbreak --enable-wayland with BSD sed"
-
-This reverts commit 78431a361bed0b6e9f1f3ebc0de8897b069b3848
-as it breaks GNU sed
-
-https://github.com/intel/libva/issues/489
-
-Signed-off-by: Lars Wendler 

- va/wayland/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
-index f48afb4..705efa3 100644
 a/va/wayland/Makefile.am
-+++ b/va/wayland/Makefile.am
-@@ -70,7 +70,7 @@ va_wayland_drm.c: $(protocol_source_h)
- %-client-protocol-export.c : %.xml
-   $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
- %-client-protocol.c: %-client-protocol-export.c
--  $(AM_V_GEN)$(SED) -e $$'1i\\\n#include "sysdeps.h"\n' \
-+  $(AM_V_GEN)$(SED) -e '1i#include "sysdeps.h"' \
-  -e 's@WL_EXPORT@DLL_HIDDEN@g' < $< > $@
- 
- EXTRA_DIST = \
--- 
-2.30.0
-

diff --git a/x11-libs/libva/libva-2.10.0.ebuild 
b/x11-libs/libva/libva-2.10.0.ebuild
index 8f6274df251..6dbd26cce39 100644
--- a/x11-libs/libva/libva-2.10.0.ebuild
+++ b/x11-libs/libva/libva-2.10.0.ebuild
@@ -62,7 +62,7 @@ MULTILIB_WRAPPED_HEADERS=(
 )
 
 PATCHES=(
-   "${FILESDIR}/${PN}-2.10.0-unbreak_gnu_sed.patch"
+   "${FILESDIR}/${PN}-2.10.0-fix_wayland_build.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/, x11-libs/libva-intel-media-driver/files/

2021-01-16 Thread Sam James
commit: 7344ade5c13e5cdd24a314124485ad400b298dec
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 17 02:38:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 17 02:38:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7344ade5

x11-libs/libva-intel-media-driver: rename patches

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 ...a-intel-media-driver-20.4.5_custom_cflags.patch |  19 ++-
 ...ntel-media-driver-20.4.5_custom_cflags_v2.patch | 136 -
 ...-media-driver-20.4.5_testing_in_src_test.patch} |   0
 .../libva-intel-media-driver-20.4.5.ebuild |   4 +-
 .../libva-intel-media-driver-.ebuild   |   4 +-
 5 files changed, 18 insertions(+), 145 deletions(-)

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
index 90051719f30..436e2fe892e 100644
--- 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
+++ 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags.patch
@@ -1,4 +1,7 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
+Prevent overriding of user-define CFLAGS, including -march flag.
+
+The flag -msse4.1 is required otherwise compile will not be able to inline 
sse4.1 code.
+
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -52,6 +52,8 @@ option (BUILD_CMRTLIB "Build and Install cmrtlib together 
with media driver" ON)
@@ -10,7 +13,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
  include(GNUInstallDirs)
  
  if (BUILD_CMRTLIB)
-diff --git a/cmrtlib/linux/CMakeLists.txt b/cmrtlib/linux/CMakeLists.txt
+
 --- a/cmrtlib/linux/CMakeLists.txt
 +++ b/cmrtlib/linux/CMakeLists.txt
 @@ -33,15 +33,19 @@ endif()
@@ -33,7 +36,7 @@ diff --git a/cmrtlib/linux/CMakeLists.txt 
b/cmrtlib/linux/CMakeLists.txt
  set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing 
-D_FORTIFY_SOURCE=2")
  set(CMAKE_C_FLAGS_DEBUG   "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0")
  
-diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake 
b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+
 --- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
 +++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
 @@ -36,7 +36,10 @@ set(MEDIA_COMPILER_FLAGS_COMMON
@@ -47,14 +50,19 @@ diff --git 
a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_dr
  # General optimization options
  -march=${UFO_MARCH}
  -mpopcnt
-@@ -48,19 +51,29 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+@@ -44,23 +47,33 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -msse2
+ -msse3
+ -mssse3
+--msse4.1
  -msse4.2
  -msse4
- -mfpmath=sse
 +)
 +endif(OVERRIDE_COMPILER_FLAGS)
 +
 +list (APPEND MEDIA_COMPILER_FLAGS_COMMON
++-msse4.1  # SSE4.1 support is required to build the library
+ -mfpmath=sse
  -finline-functions
  -funswitch-loops
  -fno-short-enums
@@ -125,3 +133,4 @@ diff --git 
a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_dr
  foreach (flag ${MEDIA_COMPILER_CXX_FLAGS_COMMON})
  SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")
 
+

diff --git 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags_v2.patch
 
b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags_v2.patch
deleted file mode 100644
index 436e2fe892e..000
--- 
a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_custom_cflags_v2.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-Prevent overriding of user-define CFLAGS, including -march flag.
-
-The flag -msse4.1 is required otherwise compile will not be able to inline 
sse4.1 code.
-
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -52,6 +52,8 @@ option (BUILD_CMRTLIB "Build and Install cmrtlib together 
with media driver" ON)
- 
- option (ENABLE_PRODUCTION_KMD "Enable Production KMD header files" OFF)
- 
-+option (OVERRIDE_COMPILER_FLAGS "Override user compiler FLAGS and use lib 
defaults" ON)
-+
- include(GNUInstallDirs)
- 
- if (BUILD_CMRTLIB)
-
 a/cmrtlib/linux/CMakeLists.txt
-+++ b/cmrtlib/linux/CMakeLists.txt
-@@ -33,15 +33,19 @@ endif()
- 
- # Set up compile options that will be used for the Linux build
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CPP_STANDARD_OPTION} -fPIC 
-fpermissive -fstack-protector-all -Werror")
-+if (OVERRIDE_COMPILER_FLAGS)
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
- endif()
-+endif()
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing 
-D_FORTIFY_SOURCE=2")
- set(CMAKE_CXX_FLAGS_DEBUG   "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive 
-fstack-protector-all -Werror")

  1   2   3   >