blob: df34f6fa68c43dfeb8fc6eb99bb5c536fa29f3a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
inherit autotools multilib
MY_PN="intel-driver-g45-h264"
MY_PV="20140512"
DESCRIPTION="HW video decode support for Intel integrated graphics (with h264 support for Intel G45 chipsets)"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
SRC_URI="https://downloads.sourceforge.net/project/g45h264/${MY_PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+drm wayland X"
RDEPEND=">=x11-libs/libva-1.3.0[X?,wayland?,drm?]
!<x11-libs/libva-1.2.1[video_cards_intel]
>=x11-libs/libdrm-2.4.45[video_cards_intel]
!>x11-libs/libva-intel-driver-9999
wayland? ( media-libs/mesa[egl] >=dev-libs/wayland-1 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/${MY_PN}
src_prepare() {
eautoreconf
}
src_configure() {
econf \
--disable-silent-rules \
$(use_enable drm) \
$(use_enable wayland) \
$(use_enable X x11)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README || die
find "${D}" -name '*.la' -delete
}
|