Magellan Linux

Contents of /smage/trunk/core/libdrm/libdrm-2.4.65-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7583 - (show annotations) (download)
Tue Sep 22 08:28:40 2015 UTC (8 years, 8 months ago) by niro
File size: 1016 byte(s)
auto added: ver bump to 2.4.65-r1
1 # $Id$
2
3 PNAME="libdrm"
4 PVER="2.4.65"
5 PBUILD="r1"
6
7 PCAT="x11-libs"
8
9 DESCRIPTION="Xorg drm library."
10 HOMEPAGE="http://dri.freedesktop.org/"
11
12 DEPEND=">= x11-libs/libpciaccess-0.13
13 >= sys-fs/libudev-220"
14
15 SDEPEND=">= dev-libs/libpthread-stubs-0.1
16 >= x11-libs/libpciaccess-dev-0.13
17 >= sys-fs/libudev-dev-220"
18
19 if mqueryfeature "check"
20 then
21 SDEPEND+="
22 >= x11-libs/cairo-1.14
23 >= x11-libs/cairo-dev-1.14"
24 fi
25
26 SRCFILE="${PNAME}-${PVER}.tar.bz2"
27
28 sminclude xorg multilib alx-split
29
30 SRC_URI=(
31 http://dri.freedesktop.org/${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 )
34
35 UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball"
36
37 src_compile()
38 {
39 # add march=native to cflags to fix compile issues
40 # see http://bugs.freedesktop.org/show_bug.cgi?id=24381
41 export CFLAGS="${CFLAGS} -march=native"
42 export CXXFLAGS="${CXXFLAGS} -march=native"
43
44 mconfigure \
45 --enable-udev \
46 --enable-intel \
47 --enable-radeon \
48 --enable-nouveau \
49 --enable-vmwgfx \
50 --disable-valgrind \
51 || die
52
53 mmake || die
54 }