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