Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn858-r1.smage2
Parent Directory | Revision Log
Revision 1125 -
(show annotations)
(download)
Wed Jan 26 17:20:08 2011 UTC (13 years, 8 months ago) by niro
File size: 1035 byte(s)
Wed Jan 26 17:20:08 2011 UTC (13 years, 8 months ago) by niro
File size: 1035 byte(s)
-moved to 'core'
1 | # $Id: xf86-video-openchrome-0.2.904_svn841-r1.smage2 523 2010-05-08 01:46:32Z niro $ |
2 | |
3 | PNAME="xf86-video-openchrome" |
4 | PVER="0.2.904_svn858" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-drivers" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices." |
11 | HOMEPAGE="http://xorg.freedesktop.org" |
12 | |
13 | DEPEND=">= x11-libs/libdrm-2.4.23" |
14 | |
15 | SDEPEND=">= x11-libs/libX11-1 |
16 | >= x11-proto/xf86driproto-1" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | MCORE_ONLY_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so" |
22 | sminclude xorg mcore-split |
23 | |
24 | SRC_URI=( |
25 | http://www.openchrome.org/releases/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://www.openchrome.org/releases/ | lasttarball" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # disable xvmc in openchrome-drivers |
37 | sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die |
38 | |
39 | autoreconf --verbose --install --force || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | xorg_src_configure --enable-dri --disable-xvmc || die |
47 | mmake || die |
48 | } |