smoverlay/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild

37 lines
781 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils git-2
DESCRIPTION="VDPAU driver with VA-API/OpenGL backend."
HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/"
EGIT_REPO_URI="git://github.com/i-rinat/libvdpau-va-gl.git"
LICENSE="LGPL-3"
SLOT="0"
RDEPEND="
dev-libs/glib:2
x11-libs/libva[X,opengl]
x11-libs/libvdpau
x11-libs/libX11
x11-libs/libXext
media-libs/glu
virtual/opengl
virtual/ffmpeg
"
DEPEND="${RDEPEND}"
DOCS=(ChangeLog README.md)
# https://github.com/i-rinat/libvdpau-va-gl/issues/6
RESTRICT="test"
pkg_postinst() {
einfo "In order to use vdpau hardware video acceleration via ${PN}"
einfo "you have to add VDPAU_DRIVER=va_gl to your environment"
}