Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/libdrm/libdrm-2.4.102-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14163 - (hide annotations) (download)
Fri Jul 3 13:31:19 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/core/libdrm/libdrm-2.4.102-r1.smage2
File size: 1257 byte(s)
auto added: ver bump to 2.4.102-r1
1 niro 14161 # $Id$
2    
3     PNAME="libdrm"
4     PVER="2.4.102"
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.14
13     >= sys-fs/libudev-242"
14    
15     SDEPEND=">= dev-libs/libpthread-stubs-0.1
16     >= x11-libs/libpciaccess-dev-0.14
17     >= sys-fs/libudev-dev-242
18     >= virtual/x11-protos"
19    
20     if mqueryfeature "check"
21     then
22     SDEPEND+="
23     >= x11-libs/cairo-1.16
24     >= x11-libs/cairo-dev-1.16"
25     fi
26    
27     SRCFILE="${PNAME}-${PVER}.tar.xz"
28    
29 niro 14162 sminclude xorg multilib meson alx-split
30 niro 14161
31     SRC_URI=(
32     http://dri.freedesktop.org/${PNAME}/${SRCFILE}
33     mirror://${PNAME}/${SRCFILE}
34     )
35    
36     UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball xz"
37    
38     src_compile()
39     {
40     # disabled, seems to break libdrm (oslookupcolor issue) with newer gcc (>=6.1)
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 niro 14162 meson_configure \
47     $(meson_bool_true udev) \
48     $(meson_bool_true libkms) \
49     $(meson_bool_true intel) \
50     $(meson_bool_true nouveau) \
51     $(meson_bool_true amdgpu) \
52     $(meson_bool_true radeon) \
53     $(meson_bool_true vmwgfx) \
54     $(meson_bool_false valgrind) \
55 niro 14161 || die
56    
57 niro 14163 mninja || die
58 niro 14161 }