Magellan Linux

Contents of /smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7690 - (show annotations) (download)
Thu Sep 24 08:36:11 2015 UTC (8 years, 7 months ago) by niro
File size: 853 byte(s)
-mesa-10.4 rebuild
1 # $Id$
2
3 PNAME="xf86-video-openchrome"
4 PVER="0.3.3"
5 PBUILD="r8"
6
7 PCAT="x11-drivers"
8
9 DEPEND=">= x11-libs/libdrm-2.4.65
10 >= media-libs/mesa-gallium-swrast-10.4
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 }