Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6720 - (hide annotations) (download)
Wed Jul 15 15:27:36 2015 UTC (8 years, 10 months ago) by niro
Original Path: smage/trunk/core/xf86-video-openchrome/xf86-video-openchrome-0.3.3-r5.smage2
File size: 853 byte(s)
auto added: ver bump to 0.3.3-r5
1 niro 6720 # $Id$
2    
3     PNAME="xf86-video-openchrome"
4     PVER="0.3.3"
5     PBUILD="r5"
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-19"
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     }