Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/
Date: Mon, 07 Feb 2022 19:03:40
Message-Id: 1644260601.d07397dc9238c674a15e4242006e6126c6a61865.mattst88@gentoo
1 commit: d07397dc9238c674a15e4242006e6126c6a61865
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 19:01:46 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 19:03:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07397dc
7
8 x11-libs/libva: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libva/libva-2.13.0-r1.ebuild | 87 -----------------------------------
13 1 file changed, 87 deletions(-)
14
15 diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild b/x11-libs/libva/libva-2.13.0-r1.ebuild
16 deleted file mode 100644
17 index a3eb6a58e73b..000000000000
18 --- a/x11-libs/libva/libva-2.13.0-r1.ebuild
19 +++ /dev/null
20 @@ -1,87 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit autotools multilib-minimal optfeature
27 -
28 -DESCRIPTION="Video Acceleration (VA) API for Linux"
29 -HOMEPAGE="https://01.org/linuxmedia/vaapi"
30 -
31 -if [[ ${PV} = *9999 ]] ; then
32 - inherit git-r3
33 - EGIT_BRANCH=master
34 - EGIT_REPO_URI="https://github.com/intel/libva"
35 -else
36 - # SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2"
37 - # The upstream provides periodically tarball with pre-built 'configure'.
38 - # To simplify updates, portage use tarballs without pre-build 'configure'
39 - # which are always available.
40 - SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 - KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
42 -fi
43 -
44 -LICENSE="MIT"
45 -SLOT="0/$(ver_cut 1)"
46 -IUSE="+drm opengl utils wayland X"
47 -
48 -RDEPEND="
49 - >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
50 - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
51 - wayland? (
52 - >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
53 - dev-util/wayland-scanner[${MULTILIB_USEDEP}]
54 - )
55 - X? (
56 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
57 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
58 - >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
59 - )
60 -"
61 -DEPEND="${RDEPEND}"
62 -BDEPEND="
63 - virtual/pkgconfig
64 -"
65 -PDEPEND="utils? ( media-video/libva-utils )"
66 -
67 -REQUIRED_USE="|| ( drm wayland X )
68 - opengl? ( X )"
69 -
70 -DOCS=( NEWS )
71 -
72 -MULTILIB_WRAPPED_HEADERS=(
73 - /usr/include/va/va_backend_glx.h
74 - /usr/include/va/va_x11.h
75 - /usr/include/va/va_dri2.h
76 - /usr/include/va/va_dricommon.h
77 - /usr/include/va/va_glx.h
78 -)
79 -
80 -src_prepare() {
81 - default
82 - eautoreconf
83 -}
84 -
85 -multilib_src_configure() {
86 - local myeconfargs=(
87 - --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
88 - $(use_enable opengl glx)
89 - $(use_enable X x11)
90 - $(use_enable wayland)
91 - $(use_enable drm)
92 - --enable-va-messaging
93 - )
94 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
95 -}
96 -
97 -multilib_src_install_all() {
98 - default
99 - find "${ED}" -type f -name "*.la" -delete || die
100 -}
101 -
102 -pkg_postinst() {
103 - optfeature_header
104 - optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver
105 - optfeature "Older Intel GPU support" x11-libs/libva-intel-driver
106 - optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver
107 -}