Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.2.906-r2.smage2
Parent Directory | Revision Log
Revision 3825 -
(show annotations)
(download)
Thu Jul 19 12:36:07 2012 UTC (12 years, 2 months ago) by niro
File size: 948 byte(s)
Thu Jul 19 12:36:07 2012 UTC (12 years, 2 months ago) by niro
File size: 948 byte(s)
auto added: ver bump to 0.2.906-r2
1 | # $Id$ |
2 | |
3 | PNAME="xf86-video-openchrome" |
4 | PVER="0.2.906" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="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.37 |
13 | >= media-libs/mesa-gallium-swrast-8" |
14 | |
15 | SDEPEND=">= x11-libs/libX11-1 |
16 | >= x11-proto/xf86driproto-1" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | ALX_PKG_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so" |
22 | sminclude xorg alx-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/ | grep -v latest | 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 | mautoreconf || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | xorg_src_configure --enable-dri --disable-xvmc || die |
46 | mmake || die |
47 | } |