/[alx-svn]/smage/tags/alx-0_6_1/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn925-r1.smage2 |
Contents of /smage/tags/alx-0_6_1/core/xf86-video-openchrome/xf86-video-openchrome-0.2.904_svn925-r1.smage2
Parent Directory | Revision Log
Revision 3218 -
(show annotations)
(download)
Thu Sep 15 09:45:15 2011 UTC (12 years, 9 months ago) by niro
File size: 976 byte(s)
Thu Sep 15 09:45:15 2011 UTC (12 years, 9 months ago) by niro
File size: 976 byte(s)
tagged 'alx-0_6_1'
1 | # $Id$ |
2 | |
3 | PNAME="xf86-video-openchrome" |
4 | PVER="0.2.904_svn925" |
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-unichrome-7.10" |
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 | ALX_ONLY_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/ | 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 | } |