summaryrefslogtreecommitdiff
blob: d428635769e7dcd11593365a5f2f4a1844fba808 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-omapfb/xf86-video-omapfb-0.1.1.1_p1.ebuild,v 1.2 2015/03/14 14:07:28 maekke Exp $

EAPI="5"

XORG_EAUTORECONF="yes"

inherit xorg-2

MY_P="${P/_p*//}"
MY_P_PATCH="${PN}_${PV/_p/-}"

SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
	mirror://debian/pool/main/x/${PN}/${MY_P_PATCH}.diff.gz"
HOMEPAGE="https://packages.debian.org/source/sid/xf86-video-omapfb"

DESCRIPTION="X.org driver for TI OMAP framebuffers"
KEYWORDS="-* arm"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
	x11-proto/fontsproto
	x11-proto/randrproto
	x11-proto/renderproto
	x11-proto/xproto"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${WORKDIR}/${MY_P_PATCH}.diff"
	epatch "${FILESDIR}"/000*.patch
	xorg-2_src_prepare
}