1 |
commit: f83adbd01176a8202aa947f4dcb74640764d0c49 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 17 07:12:26 2018 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 17 07:20:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83adbd0 |
7 |
|
8 |
x11-libs/libva: bump to 2.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
x11-libs/libva/Manifest | 1 + |
13 |
x11-libs/libva/libva-2.2.0.ebuild | 79 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest |
17 |
index 17a4424040e..2327f0fb956 100644 |
18 |
--- a/x11-libs/libva/Manifest |
19 |
+++ b/x11-libs/libva/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST libva-1.7.3.tar.bz2 824490 BLAKE2B 0579492b700b00e9ed009798e6dcf6dd7fd6cd19e32af9fbab6d780ba83ae3a264dbbfab2633a3458a624fec1935435974875e58a9e57baca9be9cb7ce627488 SHA512 ecc1ba17e2afea2efe4d36e8d9358d420015b3ad9d2a510ee2b263274c889caf39915a8b8da2d16329184bf4f42d0cbd124af3d070b83235b6a7453afd30b3a0 |
22 |
DIST libva-1.8.3.tar.gz 186915 BLAKE2B 10713e3bd7aaefc033490fc9ef6485ec50774f274f09e9e06fd1479b882b221791375533a6826e5db9a758f2acd74f913a478da61fe32250a3e2d9c0062739fc SHA512 f2f360876d8443a22a3434aa1ac7ec5aa6d4b3cc1f13f475ef74e716f5937acc43e02f9a8b858b5b7b6539da3731f763843d45664cc19c70e81d8b87e93659ea |
23 |
DIST libva-2.1.0.tar.gz 214894 BLAKE2B 0e29d3de915ce44d90ac96bc2ead73725efc34163da92da7d8791547d6ca2fd407319093fee89bce5b26b26818cc0131cc0c7f3cd4f511e3f847e3fd2cf1dff3 SHA512 dd4c901f9c75d03fa45b32af5ca08ba24ef68d354ad26ad53d0f87d3290bee152eed9e61b4dd4116c2d15baf0c74f2d37996d08f007d485c57af5e8d9648eb82 |
24 |
+DIST libva-2.2.0.tar.gz 218971 BLAKE2B c715f5f94cf25bcdf03be9ddeeb390fc073fe3fc7cea324e2f6da9bea490b14a99c41cf5f74d89fa3847c1357297d2c6faa877e76dce470319f532dc76d36f8a SHA512 0b026c99be2600a56833377a1cfd8efb736862dee942576d4d360b9844ace1efb21a2f1b9b1c2fabbbe4a9c483af24e47f31dd07516816acc8fa72e207f8cad4 |
25 |
|
26 |
diff --git a/x11-libs/libva/libva-2.2.0.ebuild b/x11-libs/libva/libva-2.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2cfeb67ae2f |
29 |
--- /dev/null |
30 |
+++ b/x11-libs/libva/libva-2.2.0.ebuild |
31 |
@@ -0,0 +1,79 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+SCM="" |
38 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
39 |
+ SCM=git-r3 |
40 |
+ EGIT_BRANCH=master |
41 |
+ EGIT_REPO_URI="https://github.com/intel/libva" |
42 |
+fi |
43 |
+ |
44 |
+AUTOTOOLS_AUTORECONF="yes" |
45 |
+inherit autotools-multilib ${SCM} multilib versionator |
46 |
+ |
47 |
+DESCRIPTION="Video Acceleration (VA) API for Linux" |
48 |
+HOMEPAGE="https://01.org/linuxmedia/vaapi" |
49 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
50 |
+ SRC_URI="" |
51 |
+else |
52 |
+ SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0/$(get_version_component_range 1)" |
57 |
+if [ "${PV%9999}" = "${PV}" ] ; then |
58 |
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+else |
60 |
+ KEYWORDS="" |
61 |
+fi |
62 |
+IUSE="+drm opengl vdpau wayland X utils" |
63 |
+ |
64 |
+VIDEO_CARDS="nvidia intel i965 nouveau" |
65 |
+for x in ${VIDEO_CARDS}; do |
66 |
+ IUSE+=" video_cards_${x}" |
67 |
+done |
68 |
+ |
69 |
+RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] |
70 |
+ X? ( |
71 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
72 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
73 |
+ >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] |
74 |
+ ) |
75 |
+ opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) |
76 |
+ wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] )" |
77 |
+ |
78 |
+DEPEND="${RDEPEND} |
79 |
+ virtual/pkgconfig" |
80 |
+PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) |
81 |
+ video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) |
82 |
+ vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) |
83 |
+ video_cards_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) |
84 |
+ video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) |
85 |
+ utils? ( media-video/libva-utils ) |
86 |
+ " |
87 |
+ |
88 |
+REQUIRED_USE="|| ( drm wayland X ) |
89 |
+ opengl? ( X )" |
90 |
+ |
91 |
+DOCS=( NEWS ) |
92 |
+ |
93 |
+MULTILIB_WRAPPED_HEADERS=( |
94 |
+/usr/include/va/va_backend_glx.h |
95 |
+/usr/include/va/va_x11.h |
96 |
+/usr/include/va/va_dri2.h |
97 |
+/usr/include/va/va_dricommon.h |
98 |
+/usr/include/va/va_glx.h |
99 |
+) |
100 |
+ |
101 |
+multilib_src_configure() { |
102 |
+ local myeconfargs=( |
103 |
+ --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" |
104 |
+ $(use_enable opengl glx) |
105 |
+ $(use_enable X x11) |
106 |
+ $(use_enable wayland) |
107 |
+ $(use_enable drm) |
108 |
+ ) |
109 |
+ autotools-utils_src_configure |
110 |
+} |