Magellan Linux

Contents of /smage/trunk/core/xf86-video-sis/xf86-video-sis-0.10.9-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12024 - (show annotations) (download)
Mon Aug 20 13:35:36 2018 UTC (5 years, 8 months ago) by niro
File size: 799 byte(s)
-fixed ftbfs with xorg-server-1.20
1 # $Id$
2
3 PNAME="xf86-video-sis"
4 PVER="0.10.9"
5 PBUILD="r4"
6
7 PCAT="x11-drivers"
8
9 DEPEND=">= x11-libs/libdrm-2.4.92
10 == virtual/X-ABI-VIDEODRV-24.0"
11 # >= media-libs/mesa-gallium-swrast-18.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 }