Contents of /smage/trunk/core/libdrm/libdrm-2.4.68-r2.smage2
Parent Directory | Revision Log
Revision 9074 -
(show annotations)
(download)
Thu Jun 16 13:46:26 2016 UTC (8 years, 3 months ago) by niro
File size: 963 byte(s)
Thu Jun 16 13:46:26 2016 UTC (8 years, 3 months ago) by niro
File size: 963 byte(s)
-disabled non working packages
1 | # $Id$ |
2 | |
3 | PNAME="libdrm" |
4 | PVER="2.4.68" |
5 | PBUILD="r2" |
6 | |
7 | STATE="disabled" |
8 | PCAT="x11-libs" |
9 | |
10 | DESCRIPTION="Xorg drm library." |
11 | HOMEPAGE="http://dri.freedesktop.org/" |
12 | |
13 | DEPEND=">= x11-libs/libpciaccess-0.13 |
14 | >= sys-fs/libudev-220" |
15 | |
16 | SDEPEND=">= dev-libs/libpthread-stubs-0.1 |
17 | >= x11-libs/libpciaccess-dev-0.13 |
18 | >= sys-fs/libudev-dev-220 |
19 | >= virtual/x11-protos" |
20 | |
21 | if mqueryfeature "check" |
22 | then |
23 | SDEPEND+=" |
24 | >= x11-libs/cairo-1.14 |
25 | >= x11-libs/cairo-dev-1.14" |
26 | fi |
27 | |
28 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
29 | |
30 | sminclude xorg multilib alx-split |
31 | |
32 | SRC_URI=( |
33 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
38 | |
39 | src_compile() |
40 | { |
41 | # add march=native to cflags to fix compile issues |
42 | # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 |
43 | export CFLAGS="${CFLAGS} -march=native" |
44 | export CXXFLAGS="${CXXFLAGS} -march=native" |
45 | |
46 | mconfigure --enable-udev --disable-valgrind || die |
47 | mmake || die |
48 | } |