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-intel-driver/
Date: Thu, 28 Nov 2019 20:06:41
Message-Id: 1574971531.61a161438859c061dda6ca1b1236d5e8fb7101d7.mattst88@gentoo
1 commit: 61a161438859c061dda6ca1b1236d5e8fb7101d7
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 28 20:01:23 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 28 20:05:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a16143
7
8 x11-libs/libva-intel-driver: Port to EAPI=7
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 .../libva-intel-driver-9999.ebuild | 27 +++++++++++-----------
13 1 file changed, 14 insertions(+), 13 deletions(-)
14
15 diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-9999.ebuild b/x11-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
16 index 1d8bbf4cd84..4e4df0e3170 100644
17 --- a/x11-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
18 +++ b/x11-libs/libva-intel-driver/libva-intel-driver-9999.ebuild
19 @@ -1,16 +1,15 @@
20 # Copyright 1999-2019 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=7
25
26 MY_PN="intel-vaapi-driver"
27 if [[ ${PV} = *9999* ]] ; then # Live ebuild
28 inherit git-r3
29 - EGIT_BRANCH=master
30 EGIT_REPO_URI="https://github.com/intel/intel-vaapi-driver"
31 fi
32 -AUTOTOOLS_AUTORECONF="yes"
33 -inherit autotools-multilib
34 +
35 +inherit autotools multilib-minimal
36
37 DESCRIPTION="HW video decode support for Intel integrated graphics"
38 HOMEPAGE="https://github.com/intel/intel-vaapi-driver"
39 @@ -23,6 +22,7 @@ fi
40 LICENSE="MIT"
41 SLOT="0"
42 IUSE="wayland X"
43 +RESTRICT="test" # No tests
44
45 RDEPEND="
46 >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
47 @@ -32,22 +32,23 @@ RDEPEND="
48 >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}]
49 )
50 "
51 -DEPEND="${RDEPEND}
52 - virtual/pkgconfig
53 -"
54 -
55 -DOCS=( AUTHORS NEWS README )
56 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="virtual/pkgconfig"
59
60 src_prepare() {
61 + eapply_user
62 sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die
63 - autotools-multilib_src_prepare
64 + eautoreconf
65 }
66
67 multilib_src_configure() {
68 - local myeconfargs=(
69 + local myconf=(
70 $(use_enable wayland)
71 $(use_enable X x11)
72 )
73 - autotools-utils_src_configure
74 + ECONF_SOURCE="${S}" econf "${myconf[@]}"
75 +}
76 +
77 +multilib_src_install_all() {
78 + find "${D}" -name "*.la" -delete || die
79 }