Magellan Linux

Contents of /smage/trunk/core/xf86-video-savage/xf86-video-savage-2.3.9-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14229 - (show annotations) (download)
Mon Jul 6 16:55:11 2020 UTC (3 years, 9 months ago) by niro
File size: 670 byte(s)
auto added: ver bump to 2.3.9-r5
1 # $Id$
2
3 PNAME="xf86-video-savage"
4 PVER="2.3.9"
5 PBUILD="r5"
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/savage_drv.so"
14 sminclude xorg alx-split
15
16 SRC_URI+=( mirror://${PNAME}/${PNAME}-2.3.9-ftbfs-xorg-server-1.20.patch )
17
18 src_prepare()
19 {
20 munpack ${SRCFILE} || die
21 cd ${SRCDIR}
22
23 # fix ftbfs with xorg-server-1.20
24 # see: https://lists.x.org/archives/xorg-devel/2018-May/056952.html
25 mpatch ${PNAME}-2.3.9-ftbfs-xorg-server-1.20.patch || die
26 }
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 xorg_src_configure --enable-dri || die
33 mmake || die
34 }