Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r7.smage2
Parent Directory | Revision Log
Revision 7657 -
(show annotations)
(download)
Wed Sep 23 09:17:01 2015 UTC (9 years ago) by niro
File size: 853 byte(s)
Wed Sep 23 09:17:01 2015 UTC (9 years ago) by niro
File size: 853 byte(s)
auto added: ver bump to 0.3.3-r7
1 | # $Id$ |
2 | |
3 | PNAME="xf86-video-openchrome" |
4 | PVER="0.3.3" |
5 | PBUILD="r7" |
6 | |
7 | PCAT="x11-drivers" |
8 | |
9 | DEPEND=">= x11-libs/libdrm-2.4.61 |
10 | >= media-libs/mesa-gallium-swrast-10.6 |
11 | == virtual/X-ABI-VIDEODRV-18" |
12 | |
13 | SDEPEND=">= x11-libs/libX11-1.6" |
14 | |
15 | ALX_PKG_KEEP="usr/$(mlibdir)/xorg/modules/drivers/openchrome_drv.so" |
16 | sminclude xorg alx-split |
17 | |
18 | SRC_URI+=( mirror://${PNAME}/${PNAME}-${PVER}-missing-include-with-xorg-116.patch ) |
19 | |
20 | src_prepare() |
21 | { |
22 | munpack ${SRCFILE} || die |
23 | cd ${SRCDIR} |
24 | |
25 | # fix ftbfs with newer xorg-headers |
26 | # see: http://lists.x.org/archives/xorg-devel/2014-July/042950.html |
27 | mpatch ${PNAME}-${PVER}-missing-include-with-xorg-116.patch || die |
28 | |
29 | # disable xvmc in openchrome-drivers |
30 | sed -i "s:XVMC=yes:XVMC=no:g" configure.ac || die |
31 | mautoreconf || die |
32 | } |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | xorg_src_configure --enable-dri --disable-xvmc || die |
39 | mmake || die |
40 | } |