diff options
-rw-r--r-- | x11-libs/libva-intel-driver/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/libva-intel-driver/libva-intel-driver-1.6.1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/x11-libs/libva-intel-driver/Manifest b/x11-libs/libva-intel-driver/Manifest index fd5074f856ee..07faab5dbe0d 100644 --- a/x11-libs/libva-intel-driver/Manifest +++ b/x11-libs/libva-intel-driver/Manifest @@ -3,3 +3,4 @@ DIST libva-intel-driver-1.4.1.tar.bz2 980214 SHA256 fe6784c7ba6092204e3e7d4142e6 DIST libva-intel-driver-1.5.0.tar.bz2 1019243 SHA256 d0b448193ab34b622cd14e4db8ca29991a4038b4eb459a8fbbcbd7db843da3dc SHA512 aef41b40a9d926c2555e58258a65b82a406e24ab4e4e513390674dfabc05c8e6ebc31bf00adfd399800e81523f88209a4df286216fb8e7236c8f11f09061825e WHIRLPOOL 38879dcf16aa869478197463d619e13ae7fa4bcbe185a5ce724a4ba7e64dc914840add4c876697c52b8599adc401f42b24ee9307a7765e3f7caa541cdb5fd17c DIST libva-intel-driver-1.5.1.tar.bz2 1046744 SHA256 0bdb6c303d03ccb536ab726936448c3310deb3b914af51d7cae39b5539e0eadc SHA512 cb1298ffffbf43a42fca3a030ed2baecdb30468c8d2a8b1e5f2bb2849c3ce9956cb21a5da0a6482a2fba1b8a09358363237f8325e48d184e4ad49557546e7e25 WHIRLPOOL 5255e8653b9ac912b78bbd952c2de8ed00823892a54f9f9796811ff0638a13b5e3f1b73e6566f01fcb971aac0f9b25aba7a208adc5587e93c94dae5e829b83e3 DIST libva-intel-driver-1.6.0.tar.bz2 1091478 SHA256 9876afe4610c01a8ee5ba9348266515fce4dd031139d580ad97984d06afa08d4 SHA512 8920d6a53bc13df519facdc3e8f2546ac2d27d7f512219f9f949c93563ff637af0abdb7487a26209b79d23db990ecbc4ba6b14f15d4fc0f65f264699509b9b74 WHIRLPOOL e1820defdc1d621e955f4511ad60529665d210b6d10e054b24781c441d5fcac75a077170dc86b4604f5bdeea5649f3e5a5a1b001916b286d5077cc4d427dbfa4 +DIST libva-intel-driver-1.6.1.tar.bz2 1070666 SHA256 3656e99c5ecbe8fe179478306da157dca997a61bb1b453715f52881edfa156db SHA512 c841dc3c1539da8c1e013eb392a1a5c309b28656b28a6203afd4eea95023810953462d7d9467fb7c0878caeaa23863598dc5f6faed545d451868cbde468b0ea6 WHIRLPOOL ed55b22ba6153f239632ebf27fa8ae3e89e4f1158dee936fd925146b790c80cab16ae335e8e32c1bf47eb3905ba015a47bd89f79b43ea36d4e7488106f526002 diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-1.6.1.ebuild b/x11-libs/libva-intel-driver/libva-intel-driver-1.6.1.ebuild new file mode 100644 index 000000000000..8c7d5093b967 --- /dev/null +++ b/x11-libs/libva-intel-driver/libva-intel-driver-1.6.1.ebuild @@ -0,0 +1,63 @@ +# 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/git/vaapi/intel-driver" +fi + +AUTOTOOLS_AUTORECONF="yes" +inherit autotools-multilib ${SCM} + +DESCRIPTION="HW video decode support for Intel integrated graphics" +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-intel-driver/${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 wayland X" + +RDEPEND=">=x11-libs/libva-1.6[X?,wayland?,drm?,${MULTILIB_USEDEP}] + !<x11-libs/libva-1.0.15[video_cards_intel] + >=x11-libs/libdrm-2.4.46[video_cards_intel,${MULTILIB_USEDEP}] + wayland? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + # Fix automagic depend, bug #529388 + # https://bugs.freedesktop.org/show_bug.cgi?id=79478 + "${FILESDIR}"/${PN}-1.6.0-wayland-automagic.patch +) + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die + autotools-multilib_src_prepare +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable drm) + $(use_enable wayland) + $(use_enable X x11) + ) + autotools-utils_src_configure +} |