Diff libvdpau-1.2 with a libvdpau-99999

/usr/portage/x11-libs/libvdpau/libvdpau-99999.ebuild 2019-03-01 01:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5
VIRTUALX_REQUIRED="test"
6
inherit autotools flag-o-matic virtualx multilib-minimal
6
inherit flag-o-matic git-r3 meson virtualx multilib-minimal
7 7

  
8 8
DESCRIPTION="VDPAU wrapper and trace libraries"
9 9
HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU"
10
SRC_URI="https://gitlab.freedesktop.org/vdpau/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2"
10
EGIT_REPO_URI="https://gitlab.freedesktop.org/vdpau/${PN}/"
11 11

  
12 12
LICENSE="MIT"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm64 x86 ~amd64-fbsd ~x86-fbsd"
14
KEYWORDS=""
15 15
IUSE="doc dri"
16 16

  
17 17
RDEPEND="
......
28 28
		)
29 29
	dri? ( x11-base/xorg-proto )
30 30
"
31
S=${WORKDIR}/${PN}-${P}
32 31

  
33 32
src_prepare() {
33
	sed -i -e "/^docdir/s|${PN}|${PF}|g" doc/meson.build || die
34 34
	default
35
	eautoreconf
36

  
37
	multilib_copy_sources
38 35
}
39 36

  
40 37
multilib_src_configure() {
41 38
	append-cppflags -D_GNU_SOURCE
42
	econf \
43
		$(use dri || echo --disable-dri2) \
44
		$(use_enable doc documentation) \
45
		--docdir="${EPREFIX}"/usr/share/doc/${PF}
39
	local emesonargs=(
40
		-Ddri2=$(usex dri true false)
41
		-Ddocumentation=$(usex doc true false)
42
	)
43
	meson_src_configure
46 44
}
47 45

  
46
multilib_src_compile() {
47
	meson_src_compile
48
}
48 49
multilib_src_test() {
49
	virtx emake check
50
	virtx meson_src_test
50 51
}
51 52

  
52 53
multilib_src_install() {
53
	default
54
	meson_src_install
54 55
	find "${ED}" -name '*.la' -delete || die
55 56
}
Thank you!