Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r9.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8089 - (show annotations) (download)
Wed Dec 30 12:28:40 2015 UTC (8 years, 4 months ago) by niro
File size: 853 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="xf86-video-openchrome"
4 PVER="0.3.3"
5 PBUILD="r9"
6
7 PCAT="x11-drivers"
8
9 DEPEND=">= x11-libs/libdrm-2.4.65
10 >= media-libs/mesa-gallium-swrast-11.0
11 == virtual/X-ABI-VIDEODRV-20"
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 }