From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 89A3B1393F1 for ; Mon, 14 Sep 2015 11:54:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FC5521C10A; Mon, 14 Sep 2015 11:54:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A28421C10A for ; Mon, 14 Sep 2015 11:54:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54DF93409EF for ; Mon, 14 Sep 2015 11:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 538251FA for ; Mon, 14 Sep 2015 11:54:10 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1442231496.98fd6564435b0089b86aa6010341065faf9d39ae.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libva/Manifest x11-libs/libva/libva-1.6.1.ebuild X-VCS-Directories: x11-libs/libva/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 98fd6564435b0089b86aa6010341065faf9d39ae X-VCS-Branch: master Date: Mon, 14 Sep 2015 11:54:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 424d6d51-cadf-44ef-986d-8efbc47187c9 X-Archives-Hash: 1710d6368aa8d7c8ffe8b994574b493b commit: 98fd6564435b0089b86aa6010341065faf9d39ae Author: Alexis Ballier gentoo org> AuthorDate: Mon Sep 14 11:51:36 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Sep 14 11:51:36 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98fd6564 x11-libs/libva: bump to 1.6.1. bug #560092 Package-Manager: portage-2.2.20.1 x11-libs/libva/Manifest | 1 + x11-libs/libva/libva-1.6.1.ebuild | 92 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest index 0ca3c43..288f902 100644 --- a/x11-libs/libva/Manifest +++ b/x11-libs/libva/Manifest @@ -4,3 +4,4 @@ DIST libva-1.4.1.tar.bz2 761421 SHA256 0662af0ecdf1cfd2bb47e86f5bf66009554fe12ce DIST libva-1.5.0.tar.bz2 774266 SHA256 e946d4b3110e4e23ec6a588e0c828937e502c67196d1266214441fefc4b83486 SHA512 68f7605678b7c617edce8d81d88880806c92b431147614b4f802f0f93d844f14f6d3756040002d063ef4d049e2949958ea0f95a3bb2eafc8f47729c0ee97905a WHIRLPOOL 5cb34734061421d19d968e4f1bbc1629e31aeebadf1b61c9d9e5445c739ab5451fd4507cf44999c4c0067a0322a1649afd6289a7eb7aeea90deb9058f234cbfa DIST libva-1.5.1.tar.bz2 761390 SHA256 2511b25ead7a6ac1358bc4b81157647fef61e3904ccaca3cfefc3e976a0da005 SHA512 f3198c7b138974c75b0a929c26b15b4b72ec38fccd782a6d0b4df7ab0d496ceb14beac6837da13806c9dcfe6576d2cf585c01acd6e90ba0542d43c07efe530d8 WHIRLPOOL fc711102dbfab7ce3f81ef91d27e943d75217d668ec7605de75168b758f0465aeecd7f7b16407bf7fb48ea4367f1d589e9fabdd7e583803ae2aecf4a0ca4f74a DIST libva-1.6.0.tar.bz2 786561 SHA256 3ad9dc9c1a6a10e9cc4234c2a1cd5e568ec0cd25145e86875eba6e0d69153458 SHA512 59a451e42bdb70bca83e90800763e0a1a666044189d6399acf1d539b5ebb85d6e12317e8c7f7a97345549de9fd34ee4c7dc52d17ad5c3eb083f80aa15d1b8ed0 WHIRLPOOL a930d02a64c3caf33146aaf8340a4e1850d693595e3455406680d4611a092c779a3c4dbd97628b3a8e3340327262940f161b5fe925bf9a62022801b027a99a2b +DIST libva-1.6.1.tar.bz2 771910 SHA256 7fa2c23fb4431ed8590a52173db18e8760fabb7321d14110c574cc8674594e2e SHA512 cd21c27b89c975cbf6cc77125625dca77332467b291536e0fa4640618871be9dbd1c51e7bd09d15b1af8dbd9166a29113f2dd10a50558ffa00d21161cb9d7958 WHIRLPOOL 5f9091315b411fe8b9d4a4e246bf41066355632b457e84c7beeb4d40d238d2d4defd828e455639e0403fd29b8f7877118f7658c9e768b5062eeceaf5556fbf4f diff --git a/x11-libs/libva/libva-1.6.1.ebuild b/x11-libs/libva/libva-1.6.1.ebuild new file mode 100644 index 0000000..cc740ac --- /dev/null +++ b/x11-libs/libva/libva-1.6.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild + SCM=git-2 + EGIT_BRANCH=master + EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/libva" +fi + +AUTOTOOLS_AUTORECONF="yes" +inherit autotools-multilib ${SCM} multilib + +DESCRIPTION="Video Acceleration (VA) API for Linux" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi" +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild + SRC_URI="" + S="${WORKDIR}/${PN}" +else + SRC_URI="http://www.freedesktop.org/software/vaapi/releases/libva/${P}.tar.bz2" +fi + +LICENSE="MIT" +SLOT="0" +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +else + KEYWORDS="" +fi +IUSE="+drm egl opengl vdpau wayland X" + +VIDEO_CARDS="dummy nvidia intel fglrx nouveau" +for x in ${VIDEO_CARDS}; do + IUSE+=" video_cards_${x}" +done + +RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + ) + egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) + opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) + video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) + vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) + video_cards_fglrx? ( + || ( >=x11-drivers/ati-drivers-14.12-r3[${MULTILIB_USEDEP}] + >=x11-libs/xvba-video-0.8.0-r1[${MULTILIB_USEDEP}] ) + ) + video_cards_intel? ( >=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] ) + " + +REQUIRED_USE="|| ( drm wayland X ) + opengl? ( X )" + +DOCS=( NEWS ) + +PATCHES=( + # Fix automagic depend, bug #529388 + # https://bugs.freedesktop.org/show_bug.cgi?id=79478 + "${FILESDIR}"/${PN}-1.5.1-wayland-automagic.patch +) + +MULTILIB_WRAPPED_HEADERS=( +/usr/include/va/va_backend_glx.h +/usr/include/va/va_x11.h +/usr/include/va/va_dri2.h +/usr/include/va/va_dricommon.h +/usr/include/va/va_glx.h +) + +multilib_src_configure() { + local myeconfargs=( + --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" + $(use_enable video_cards_dummy dummy-driver) + $(use_enable opengl glx) + $(use_enable X x11) + $(use_enable wayland) + $(use_enable egl) + $(use_enable drm) + ) + autotools-utils_src_configure +}