Annotation of /smage/branches/alx-0_6_0/core/libdrm/libdrm-2.4.42-r1.smage2
Parent Directory | Revision Log
Revision 4929 -
(hide annotations)
(download)
Wed Jun 5 11:06:34 2013 UTC (10 years, 11 months ago) by niro
File size: 829 byte(s)
Wed Jun 5 11:06:34 2013 UTC (10 years, 11 months ago) by niro
File size: 829 byte(s)
auto added: ver bump to 2.4.42-r1
1 | niro | 4929 | # $Id$ |
2 | |||
3 | PNAME="libdrm" | ||
4 | PVER="2.4.42" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="x11-libs" | ||
8 | |||
9 | DESCRIPTION="Xorg drm library." | ||
10 | HOMEPAGE="http://dri.freedesktop.org/" | ||
11 | |||
12 | sminclude xorg multilib alx-split | ||
13 | |||
14 | DEPEND=">= sys-fs/udev-166 | ||
15 | >= x11-libs/libpciaccess-0.12" | ||
16 | SDEPEND=">= dev-libs/libpthread-stubs-0.1" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | # add march=native to cflags to fix compile issues | ||
30 | # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 | ||
31 | export CFLAGS="${CFLAGS} -march=native" | ||
32 | export CXXFLAGS="${CXXFLAGS} -march=native" | ||
33 | |||
34 | mconfigure \ | ||
35 | --enable-udev \ | ||
36 | --enable-intel \ | ||
37 | --enable-radeon \ | ||
38 | --enable-nouveau-experimental-api \ | ||
39 | || die | ||
40 | |||
41 | mmake || die | ||
42 | } |