Magellan Linux

Contents of /branches/R11-unstable/extras/xf86-video-sis/xf86-video-sis-0.10.9-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32322 - (show annotations) (download)
Mon Apr 29 12:13:59 2019 UTC (5 years ago) by niro
File size: 725 byte(s)
-release branches/R11-unstable
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.96
10 >= media-libs/mesa-gallium-swrast-18.3
11 == virtual/X-ABI-VIDEODRV-24.0"
12
13 sminclude xorg
14
15 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
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 # 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 mautoreconf || die
31 }
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 xorg_src_configure --enable-dri || die
38 mmake || die
39 }