Magellan Linux

Annotation of /smage/trunk/core/xf86-video-sis/xf86-video-sis-0.12.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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