mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
Upgrade libva to 1.1.0.
BUG=none TEST=emerged by hand Change-Id: I18f1416535969930c041db35de2bcd0380425716 Reviewed-on: https://gerrit.chromium.org/gerrit/26177 Reviewed-by: Pawel Osciak <posciak@google.com> Tested-by: Pawel Osciak <posciak@google.com> Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org> Commit-Ready: Stéphane Marchesin <marcheu@chromium.org> Tested-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
parent
73f002b0fb
commit
060f3b7d9e
@ -1 +1 @@
|
||||
DIST libva-1.0.14.tar.bz2 769706 RMD160 f71631125824f477ffcb26dccf35a730807a47f7 SHA1 e8074c8c603df53b3f6794af72a5c4777ba12f1a SHA256 b15ab93b549651a07664ced831b20e559e0f7edabb57169af8049b3e761ea764
|
||||
DIST libva-1.1.0.tar.bz2 530765 RMD160 d56b7f6d06af2e197c5c9f51f1ca9107405fcccb SHA1 875b27ea44dca68362fd8b61e15a6bbad8546044 SHA256 a7289f9c36639f04e7c140ac7ae67d0398d54625a1b5e87990fcba547349990f
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-1.0.14.ebuild,v 1.2 2011/07/29 01:10:12 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-1.1.0.ebuild,v 1.2 2012/06/08 15:33:00 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
@ -8,7 +8,7 @@ SCM=""
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SCM=git-2
|
||||
EGIT_BRANCH=master
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/libva"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/libva"
|
||||
fi
|
||||
|
||||
inherit autotools ${SCM} multilib
|
||||
@ -19,7 +19,7 @@ if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SRC_URI=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
SRC_URI="http://cgit.freedesktop.org/libva/snapshot/${P}.tar.bz2"
|
||||
SRC_URI="http://cgit.freedesktop.org/vaapi/libva/snapshot/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
@ -29,7 +29,7 @@ if [ "${PV%9999}" = "${PV}" ] ; then
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="opengl"
|
||||
IUSE="egl opengl"
|
||||
|
||||
VIDEO_CARDS="dummy nvidia intel fglrx"
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
@ -37,17 +37,19 @@ for x in ${VIDEO_CARDS}; do
|
||||
done
|
||||
|
||||
RDEPEND=">=x11-libs/libdrm-2.4
|
||||
video_cards_intel? ( >=x11-libs/libdrm-2.4.23[video_cards_intel] )
|
||||
video_cards_dummy? ( sys-fs/udev )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
opengl? ( virtual/opengl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
virtual/pkgconfig"
|
||||
PDEPEND="video_cards_nvidia? ( x11-libs/vdpau-video )
|
||||
video_cards_fglrx? ( x11-libs/xvba-video )"
|
||||
video_cards_fglrx? ( x11-libs/xvba-video )
|
||||
video_cards_intel? ( >=x11-libs/libva-intel-driver-1.0.18 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
@ -58,11 +60,12 @@ src_configure() {
|
||||
--with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" \
|
||||
$(use_enable video_cards_dummy dummy-driver) \
|
||||
$(use_enable video_cards_dummy dummy-backend) \
|
||||
$(use_enable video_cards_intel i965-driver) \
|
||||
$(use_enable opengl glx)
|
||||
$(use_enable opengl glx) \
|
||||
$(use_enable egl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc NEWS || die
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user