Magellan Linux

Contents of /smage/branches/alx07x-stable/core/xf86-video-sis/xf86-video-sis-0.10.9-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13488 - (show annotations) (download)
Fri Jul 12 11:52:51 2019 UTC (4 years, 9 months ago) by niro
File size: 799 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="xf86-video-sis"
4 PVER="0.10.9"
5 PBUILD="r5"
6
7 PCAT="x11-drivers"
8
9 DEPEND=">= x11-libs/libdrm-2.4.98
10 == virtual/X-ABI-VIDEODRV-24.0"
11 # >= media-libs/mesa-gallium-swrast-19.0
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 }