Diff libva-intel-driver-2.3.0 with a libva-intel-driver-2.4.0_pre1

/usr/portage/x11-libs/libva-intel-driver/libva-intel-driver-2.4.0_pre1.ebuild 2019-11-28 23:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=7
5 5

  
6 6
MY_PN="intel-vaapi-driver"
7 7
if [[ ${PV} = *9999* ]] ; then # Live ebuild
8 8
	inherit git-r3
9
	EGIT_BRANCH=master
10 9
	EGIT_REPO_URI="https://github.com/intel/intel-vaapi-driver"
11 10
fi
12
AUTOTOOLS_AUTORECONF="yes"
13
inherit autotools-multilib
11

  
12
inherit autotools multilib-minimal
14 13

  
15 14
DESCRIPTION="HW video decode support for Intel integrated graphics"
16 15
HOMEPAGE="https://github.com/intel/intel-vaapi-driver"
17 16
if [[ ${PV} != *9999* ]] ; then
18
	SRC_URI="https://github.com/intel/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.tar.bz2"
19
	S="${WORKDIR}/${MY_PN}-${PV}"
20
	KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
17
	SRC_URI="https://github.com/intel/${MY_PN}/releases/download/${PV/_/.}/${MY_PN}-${PV/_/.}.tar.bz2"
18
	S="${WORKDIR}/${MY_PN}-${PV/_/.}"
19
	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
21 20
fi
22 21

  
23 22
LICENSE="MIT"
24 23
SLOT="0"
25 24
IUSE="wayland X"
25
RESTRICT="test" # No tests
26 26

  
27 27
RDEPEND="
28 28
	>=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}]
......
32 32
		>=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}]
33 33
	)
34 34
"
35
DEPEND="${RDEPEND}
36
	virtual/pkgconfig
37
"
38

  
39
DOCS=( AUTHORS NEWS README )
40
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
35
DEPEND="${RDEPEND}"
36
BDEPEND="virtual/pkgconfig"
41 37

  
42 38
src_prepare() {
39
	eapply_user
43 40
	sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die
44
	autotools-multilib_src_prepare
41
	eautoreconf
45 42
}
46 43

  
47 44
multilib_src_configure() {
48
	local myeconfargs=(
45
	local myconf=(
49 46
		$(use_enable wayland)
50 47
		$(use_enable X x11)
51 48
	)
52
	autotools-utils_src_configure
49
	ECONF_SOURCE="${S}" econf "${myconf[@]}"
50
}
51

  
52
multilib_src_install_all() {
53
	find "${D}" -name "*.la" -delete || die
53 54
}
Thank you!