blob: 3edfd95ef397f71fc223e25024bee3eaa8631d07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils virtualx pax-utils
DESCRIPTION="VDPAU driver with VA-API/OpenGL backend."
HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/"
SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/glib:2
media-libs/glu
virtual/ffmpeg
virtual/opengl
x11-libs/libva[X]
x11-libs/libvdpau
x11-libs/libX11
x11-libs/libXext
"
DEPEND="${RDEPEND}"
DOCS=(ChangeLog README.md)
src_compile() {
cmake-utils_src_compile
if use test; then
cmake-utils_src_make build-tests
pax-mark m "${BUILD_DIR}"/tests/test-*
fi
}
src_test() {
VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
}
|