Annotation of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn858-r2.smage2
Parent Directory | Revision Log
Revision 1431 -
(hide annotations)
(download)
Thu Mar 3 10:56:20 2011 UTC (13 years, 2 months ago) by niro
File size: 956 byte(s)
Thu Mar 3 10:56:20 2011 UTC (13 years, 2 months ago) by niro
File size: 956 byte(s)
auto added: ver bump to 0.2.904_svn858-r2
1 | niro | 1431 | # $Id$ |
2 | |||
3 | PNAME="xf86-video-openchrome" | ||
4 | PVER="0.2.904_svn858" | ||
5 | PBUILD="r2" | ||
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 | } |