Magellan Linux

Annotation of /trunk/extras/xf86-video-sis/xf86-video-sis-0.10.9-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31177 - (hide annotations) (download)
Mon Jun 11 14:44:36 2018 UTC (5 years, 11 months ago) by niro
File size: 725 byte(s)
-fixed ftbfs with xorg-server-1.20
1 niro 31176 # $Id$
2    
3     PNAME="xf86-video-sis"
4     PVER="0.10.9"
5     PBUILD="r3"
6    
7     PCAT="x11-drivers"
8    
9     DEPEND=">= x11-libs/libdrm-2.4.92
10     >= media-libs/mesa-gallium-swrast-18.1
11     == virtual/X-ABI-VIDEODRV-24.0"
12    
13     sminclude xorg
14    
15 niro 31177 SRC_URI+=(
16     mirror://${PNAME}/${PNAME}-0.10.7-xi.patch
17     mirror://${PNAME}/${PNAME}-0.10.9-ftbfs-xorg-server-1.20.patch
18     )
19 niro 31176
20     src_prepare()
21     {
22     munpack ${SRCFILE} || die
23     cd ${SRCDIR}
24    
25     # fix build against new xi
26     mpatch ${PNAME}-0.10.7-xi.patch || die
27 niro 31177 # fix ftbfs with xorg-server-1.20
28     # see: https://lists.x.org/archives/xorg-devel/2018-May/056952.html
29     mpatch ${PNAME}-0.10.9-ftbfs-xorg-server-1.20.patch || die
30 niro 31176 mautoreconf || die
31     }
32    
33     src_compile()
34     {
35     cd ${SRCDIR}
36    
37     xorg_src_configure --enable-dri || die
38     mmake || die
39     }