Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-vdpau-driver/
Date: Sat, 09 Jul 2016 08:34:47
Message-Id: 1468053215.a63b1969ce7469d007fe8a59bb153aca0f4d51bd.chithanh@gentoo
1 commit: a63b1969ce7469d007fe8a59bb153aca0f4d51bd
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 08:33:35 2016 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 08:33:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a63b1969
7
8 x11-libs/libva-vdpau-driver: drop nouveau support
9
10 >=mesa-12 now has native VAAPI support for nouveau
11
12 Bug: https://bugs.gentoo.org/show_bug.cgi?id=588392
13
14 Package-Manager: portage-2.2.28
15
16 .../libva-vdpau-driver-0.7.4-r4.ebuild | 44 ++++++++++++++++++++++
17 1 file changed, 44 insertions(+)
18
19 diff --git a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild
20 new file mode 100644
21 index 0000000..96060e8
22 --- /dev/null
23 +++ b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild
24 @@ -0,0 +1,44 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=5
30 +
31 +AUTOTOOLS_AUTORECONF="yes"
32 +inherit autotools-multilib eutils
33 +
34 +DESCRIPTION="VDPAU Backend for Video Acceleration (VA) API"
35 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/vaapi"
36 +SRC_URI="https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${P}.tar.bz2"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +IUSE="debug opengl"
42 +
43 +RDEPEND=">=x11-libs/libva-1.2.1-r1[X,opengl?,${MULTILIB_USEDEP}]
44 + opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
45 + >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}]
46 + !x11-libs/vdpau-video"
47 +
48 +DEPEND="${DEPEND}
49 + virtual/pkgconfig"
50 +
51 +DOCS=( NEWS README AUTHORS )
52 +
53 +src_prepare() {
54 + epatch \
55 + "${FILESDIR}"/${P}-glext-missing-definition.patch \
56 + "${FILESDIR}"/${P}-VAEncH264VUIBufferType.patch \
57 + "${FILESDIR}"/${P}-libvdpau-0.8.patch
58 + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
59 + autotools-multilib_src_prepare
60 +}
61 +
62 +multilib_src_configure() {
63 + local myeconfargs=(
64 + $(use_enable debug)
65 + $(use_enable opengl glx)
66 + )
67 + autotools-utils_src_configure
68 +}