Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/
Date: Thu, 17 Dec 2015 09:54:30
Message-Id: 1450346023.0f92e136efe8d59576577a6cf308aef308778ce5.aballier@gentoo
1 commit: 0f92e136efe8d59576577a6cf308aef308778ce5
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 09:52:06 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 17 09:53:43 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f92e136
7
8 x11-libs/libva: bump to 1.6.2
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 x11-libs/libva/Manifest | 1 +
14 x11-libs/libva/libva-1.6.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
18 index 288f902..c81858c 100644
19 --- a/x11-libs/libva/Manifest
20 +++ b/x11-libs/libva/Manifest
21 @@ -5,3 +5,4 @@ DIST libva-1.5.0.tar.bz2 774266 SHA256 e946d4b3110e4e23ec6a588e0c828937e502c6719
22 DIST libva-1.5.1.tar.bz2 761390 SHA256 2511b25ead7a6ac1358bc4b81157647fef61e3904ccaca3cfefc3e976a0da005 SHA512 f3198c7b138974c75b0a929c26b15b4b72ec38fccd782a6d0b4df7ab0d496ceb14beac6837da13806c9dcfe6576d2cf585c01acd6e90ba0542d43c07efe530d8 WHIRLPOOL fc711102dbfab7ce3f81ef91d27e943d75217d668ec7605de75168b758f0465aeecd7f7b16407bf7fb48ea4367f1d589e9fabdd7e583803ae2aecf4a0ca4f74a
23 DIST libva-1.6.0.tar.bz2 786561 SHA256 3ad9dc9c1a6a10e9cc4234c2a1cd5e568ec0cd25145e86875eba6e0d69153458 SHA512 59a451e42bdb70bca83e90800763e0a1a666044189d6399acf1d539b5ebb85d6e12317e8c7f7a97345549de9fd34ee4c7dc52d17ad5c3eb083f80aa15d1b8ed0 WHIRLPOOL a930d02a64c3caf33146aaf8340a4e1850d693595e3455406680d4611a092c779a3c4dbd97628b3a8e3340327262940f161b5fe925bf9a62022801b027a99a2b
24 DIST libva-1.6.1.tar.bz2 771910 SHA256 7fa2c23fb4431ed8590a52173db18e8760fabb7321d14110c574cc8674594e2e SHA512 cd21c27b89c975cbf6cc77125625dca77332467b291536e0fa4640618871be9dbd1c51e7bd09d15b1af8dbd9166a29113f2dd10a50558ffa00d21161cb9d7958 WHIRLPOOL 5f9091315b411fe8b9d4a4e246bf41066355632b457e84c7beeb4d40d238d2d4defd828e455639e0403fd29b8f7877118f7658c9e768b5062eeceaf5556fbf4f
25 +DIST libva-1.6.2.tar.bz2 787002 SHA256 c417f09cdeef549e54f4be5f9876026513afeac395c5be28750b431d848c8bd0 SHA512 7e69c44cc1aaa94f0a9e8662ac10974b9e5ab2b29cb2b230370ef1449d8926ea4d4571593c6fa78c6601da4322716c7ab3d1ff42e889252c4769cc267bdc04be WHIRLPOOL e74193d0d31c1be4229b58058064e2e743aeb729e3daef045c7882e8f317c9ccccad9d74bbbea8144c6706a8793052f77acb1d3fcd6488e679be1e97a4a113f4
26
27 diff --git a/x11-libs/libva/libva-1.6.2.ebuild b/x11-libs/libva/libva-1.6.2.ebuild
28 new file mode 100644
29 index 0000000..a882b76
30 --- /dev/null
31 +++ b/x11-libs/libva/libva-1.6.2.ebuild
32 @@ -0,0 +1,86 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +SCM=""
40 +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
41 + SCM=git-2
42 + EGIT_BRANCH=master
43 + EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/libva"
44 +fi
45 +
46 +AUTOTOOLS_AUTORECONF="yes"
47 +inherit autotools-multilib ${SCM} multilib
48 +
49 +DESCRIPTION="Video Acceleration (VA) API for Linux"
50 +HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
51 +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
52 + SRC_URI=""
53 + S="${WORKDIR}/${PN}"
54 +else
55 + SRC_URI="http://www.freedesktop.org/software/vaapi/releases/libva/${P}.tar.bz2"
56 +fi
57 +
58 +LICENSE="MIT"
59 +SLOT="0"
60 +if [ "${PV%9999}" = "${PV}" ] ; then
61 + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
62 +else
63 + KEYWORDS=""
64 +fi
65 +IUSE="+drm egl opengl vdpau wayland X"
66 +
67 +VIDEO_CARDS="dummy nvidia intel fglrx nouveau"
68 +for x in ${VIDEO_CARDS}; do
69 + IUSE+=" video_cards_${x}"
70 +done
71 +
72 +RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
73 + X? (
74 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
75 + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
76 + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
77 + )
78 + egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] )
79 + opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
80 + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )"
81 +
82 +DEPEND="${RDEPEND}
83 + virtual/pkgconfig"
84 +PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
85 + video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
86 + vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
87 + video_cards_fglrx? (
88 + || ( >=x11-drivers/ati-drivers-14.12-r3[${MULTILIB_USEDEP}]
89 + >=x11-libs/xvba-video-0.8.0-r1[${MULTILIB_USEDEP}] )
90 + )
91 + video_cards_intel? ( >=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] )
92 + "
93 +
94 +REQUIRED_USE="|| ( drm wayland X )
95 + opengl? ( X )"
96 +
97 +DOCS=( NEWS )
98 +
99 +MULTILIB_WRAPPED_HEADERS=(
100 +/usr/include/va/va_backend_glx.h
101 +/usr/include/va/va_x11.h
102 +/usr/include/va/va_dri2.h
103 +/usr/include/va/va_dricommon.h
104 +/usr/include/va/va_glx.h
105 +)
106 +
107 +multilib_src_configure() {
108 + local myeconfargs=(
109 + --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
110 + $(use_enable video_cards_dummy dummy-driver)
111 + $(use_enable opengl glx)
112 + $(use_enable X x11)
113 + $(use_enable wayland)
114 + $(use_enable egl)
115 + $(use_enable drm)
116 + )
117 + autotools-utils_src_configure
118 +}