/[alx-svn]/smage/branches/alx-0_6_0/core/xf86-video-openchrome/xf86-video-openchrome-0.2.906-r1.smage2 |
Contents of /smage/branches/alx-0_6_0/core/xf86-video-openchrome/xf86-video-openchrome-0.2.906-r1.smage2
Parent Directory | Revision Log
Revision 3568 -
(show annotations)
(download)
Mon Jul 9 13:54:56 2012 UTC (12 years, 2 months ago) by niro
File size: 833 byte(s)
Mon Jul 9 13:54:56 2012 UTC (12 years, 2 months ago) by niro
File size: 833 byte(s)
-moved to 'core'
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/libdrm-2.4.26" |
13 | #>= media-libs/mesa-dri-swrast-7.10" |
14 | |
15 | SDEPEND="${SDEPEND} |
16 | >= x11-proto/xf86driproto-1 |
17 | >= x11-proto/glproto-1.4.12 |
18 | >= x11-libs/libX11-1.4" |
19 | |
20 | ALX_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so" |
21 | sminclude xorg alx-split |
22 | |
23 | UP2DATE="updatecmd http://www.openchrome.org/releases/ | grep -v latest | lasttarball" |
24 | |
25 | src_prepare() |
26 | { |
27 | munpack ${SRCFILE} || die |
28 | cd ${SRCDIR} |
29 | |
30 | # disable xvmc in openchrome drivers |
31 | sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die |
32 | mautoreconf || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | xorg_src_configure --enable-dri --disable-xvmc || die |
40 | mmake || die |
41 | } |