public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/, media-libs/libva/files/
Date: Mon, 21 Oct 2024 22:41:57 +0000 (UTC)	[thread overview]
Message-ID: <1729550416.dea0020f9df1bfdbd7cf2493a6cfd10b79c1cf35.mattst88@gentoo> (raw)

commit:     dea0020f9df1bfdbd7cf2493a6cfd10b79c1cf35
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 22:39:34 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 22:40:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea0020f

media-libs/libva: Drop old versions

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

 media-libs/libva/Manifest                          |  1 -
 .../files/libva-2.21.0-no-undefined-version.patch  | 46 --------------
 media-libs/libva/libva-2.21.0.ebuild               | 71 ----------------------
 3 files changed, 118 deletions(-)

diff --git a/media-libs/libva/Manifest b/media-libs/libva/Manifest
index bca1f5125751..f3bb4308d7a1 100644
--- a/media-libs/libva/Manifest
+++ b/media-libs/libva/Manifest
@@ -1,2 +1 @@
-DIST libva-2.21.0.tar.gz 281515 BLAKE2B bd430162b07987d8982d8f81296e94623efea68624f34b7e159ebefeb37a2b062f2c0d809e16e76c172d6c2df11b59691174fb9a1d65d0938949ac2a025b746c SHA512 93654bb892e0e269d7682a1344fe6f7298432d1f2b347396c63aa1bd84ac0f707af34950a93098fe86a9bc8986fc9f97f75f0f15d8495ffd2caf8cf0eed9612c
 DIST libva-2.22.0.tar.gz 301705 BLAKE2B b438c95613628b8eb1150238016bafdf2ef33fc01ed78742cd50768238cedf5475752a6dd7413ee217961a705abcd7628219ddf3f13c5aa77015b6bbb4e77929 SHA512 cd633e5e09eac1ed10f1fc12b0f664f836e0eda9e47c17e1295b746cfd643a18fd0564a06a148ced3cf1e2321aa4d21275918bcf8c717d3981e98a598179f370

diff --git a/media-libs/libva/files/libva-2.21.0-no-undefined-version.patch b/media-libs/libva/files/libva-2.21.0-no-undefined-version.patch
deleted file mode 100644
index 007540bdb535..000000000000
--- a/media-libs/libva/files/libva-2.21.0-no-undefined-version.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From https://github.com/intel/libva/commit/17e07d17ba723a6b5822390afacdd3ccd976ecd2 Mon Sep 17 00:00:00 2001
-From: Violet Purcell <vimproved@inventati.org>
-Date: Sun, 1 Oct 2023 16:34:19 -0400
-Subject: [PATCH] va: Fix -Wl,--version-script check with LLD 17
-
-LLD 17 uses --no-undefined-version by default, so the check currently
-fails due to vaCreateSurface being undefined. This commit replaces that
-check with a generic check in the top level meson.build, using the
-conftest.syms file.
-
-Signed-off-by: Violet Purcell <vimproved@inventati.org>
---- /dev/null
-+++ b/conftest.syms
-@@ -0,0 +1,6 @@
-+VERSION_1 {
-+    global:
-+        main;
-+    local:
-+        *;
-+};
---- a/meson.build
-+++ b/meson.build
-@@ -87,6 +87,12 @@ dl_dep = cc.find_library('dl', required : false)
- WITH_DRM = not get_option('disable_drm') and (host_machine.system() != 'windows')
- libdrm_dep = dependency('libdrm', version : '>= 2.4.60', required : (host_machine.system() != 'windows'))
- 
-+ld_supports_version_script = cc.links(
-+  'int main() { return 0; }',
-+  name : '-Wl,--version-script',
-+  args : ['-shared', '-Wl,--version-script,' + '@0@/@1@'.format(meson.current_source_dir(), 'conftest.syms')]
-+)
-+
- WITH_X11 = false
- if get_option('with_x11') != 'no'
-   x11_dep = dependency('x11', required : get_option('with_x11') == 'yes')
---- a/va/meson.build
-+++ b/va/meson.build
-@@ -60,7 +60,7 @@ libva_sym_arg = '-Wl,-version-script,' + '@0@/@1@'.format(meson.current_source_d
- 
- libva_link_args = []
- libva_link_depends = []
--if cc.links('', name: '-Wl,--version-script', args: ['-shared', libva_sym_arg])
-+if ld_supports_version_script
-   libva_link_args = libva_sym_arg
-   libva_link_depends = libva_sym
- endif

diff --git a/media-libs/libva/libva-2.21.0.ebuild b/media-libs/libva/libva-2.21.0.ebuild
deleted file mode 100644
index 55ff808ff96f..000000000000
--- a/media-libs/libva/libva-2.21.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2024 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} = *9999 ]] ; 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 ~arm arm64 ~loong ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1)"
-IUSE="wayland X"
-
-RDEPEND="
-	>=x11-libs/libdrm-2.4.60[${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}]
-		x11-libs/libxcb:=[${MULTILIB_USEDEP}]
-	)
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-"
-BDEPEND="
-	wayland? ( dev-util/wayland-scanner )
-	virtual/pkgconfig
-"
-
-MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/va/va_x11.h
-	/usr/include/va/va_dri2.h
-	/usr/include/va/va_dricommon.h
-)
-
-PATCHES=(
-	"${FILESDIR}/libva-2.21.0-no-undefined-version.patch"
-)
-
-multilib_src_configure() {
-	local emesonargs=(
-		-Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
-		-Ddisable_drm=false
-		-Dwith_x11=$(usex X)
-		-Dwith_glx=no
-		-Dwith_wayland=$(usex wayland)
-		-Denable_docs=false
-	)
-	meson_src_configure
-}
-
-pkg_postinst() {
-	optfeature_header
-	optfeature "Older Intel GPU support up to Gen8" media-libs/libva-intel-driver
-	optfeature "Newer Intel GPU support from Gen9+" media-libs/libva-intel-media-driver
-}


             reply	other threads:[~2024-10-21 22:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-21 22:41 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-11 15:41 [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/, media-libs/libva/files/ Matt Turner
2024-01-17  5:47 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729550416.dea0020f9df1bfdbd7cf2493a6cfd10b79c1cf35.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox