Annotation of /smage/trunk/core/xf86-video-sis/xf86-video-sis-0.10.9-r4.smage2
Parent Directory | Revision Log
Revision 12024 -
(hide annotations)
(download)
Mon Aug 20 13:35:36 2018 UTC (5 years, 9 months ago) by niro
File size: 799 byte(s)
Mon Aug 20 13:35:36 2018 UTC (5 years, 9 months ago) by niro
File size: 799 byte(s)
-fixed ftbfs with xorg-server-1.20
1 | niro | 12023 | # $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 | niro | 12024 | 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 | niro | 12023 | |
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 | niro | 12024 | # 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 | niro | 12023 | mautoreconf || die |
32 | } | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | xorg_src_configure --enable-dri || die | ||
39 | mmake || die | ||
40 | } |