/[alx-svn]/smage/branches/alx-0_6_0/extras/xf86-video-openchrome/xf86-video-openchrome-0.2.906-r1.smage2 |
Contents of /smage/branches/alx-0_6_0/extras/xf86-video-openchrome/xf86-video-openchrome-0.2.906-r1.smage2
Parent Directory | Revision Log
Revision 3564 -
(show annotations)
(download)
Mon Jul 9 13:21:56 2012 UTC (11 years, 10 months ago) by niro
File size: 856 byte(s)
Mon Jul 9 13:21:56 2012 UTC (11 years, 10 months ago) by niro
File size: 856 byte(s)
-disable hardcoded xvmc support
1 | # $Id$ |
2 | |
3 | PNAME="xf86-video-openchrome" |
4 | PVER="0.2.906" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-drivers" |
8 | |
9 | DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | DEPEND=">= x11-libs/libXvMC-1 |
13 | >= x11-libs/libdrm-2.4.26" |
14 | #>= media-libs/mesa-dri-swrast-7.10" |
15 | |
16 | SDEPEND="${SDEPEND} |
17 | >= x11-proto/xf86driproto-1 |
18 | >= x11-proto/glproto-1.4.12 |
19 | >= x11-libs/libX11-1.4" |
20 | |
21 | ALX_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so" |
22 | sminclude xorg alx-split |
23 | |
24 | UP2DATE="updatecmd http://www.openchrome.org/releases/ | grep -v latest | lasttarball" |
25 | |
26 | src_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | cd ${SRCDIR} |
30 | |
31 | # disable xvmc in openchrome drivers |
32 | sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die |
33 | mautoreconf || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | xorg_src_configure --enable-dri --disable-xvmc || die |
41 | mmake || die |
42 | } |