Mercurial > vanilla
comparison graphics/mesa/mesa.sh @ 766:e91fbcb3d1ef
vanilla: consolidate FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 09 Aug 2019 20:10:00 +0200 |
parents | 439aade5bee6 |
children | c4c953d0af41 |
comparison
equal
deleted
inserted
replaced
765:859f76ffb512 | 766:e91fbcb3d1ef |
---|---|
115 CC="$CC" \ | 115 CC="$CC" \ |
116 CFLAGS="$CFLAGS" \ | 116 CFLAGS="$CFLAGS" \ |
117 CXX="$CXX" \ | 117 CXX="$CXX" \ |
118 CXXFLAGS="$CXXFLAGS" \ | 118 CXXFLAGS="$CXXFLAGS" \ |
119 LDFLAGS="$LDFLAGS" \ | 119 LDFLAGS="$LDFLAGS" \ |
120 meson \ | 120 meson . build \ |
121 --prefix / \ | 121 --prefix / \ |
122 --buildtype release \ | 122 --buildtype release \ |
123 --default-library shared \ | 123 --default-library shared |
124 -D libdir=lib \ | 124 -D libdir=lib \ |
125 -D bpm=true \ | 125 -D bpm=true \ |
126 -D platforms="$with_platforms" \ | 126 -D platforms="$with_platforms" \ |
127 -D dri-drivers="$with_dri_drivers" \ | 127 -D dri-drivers="$with_dri_drivers" \ |
128 -D gallium-drivers="$with_gallium_drivers" \ | 128 -D gallium-drivers="$with_gallium_drivers" \ |
129 -D vulkan-drivers="$with_vulkan_drivers" \ | 129 -D vulkan-drivers="$with_vulkan_drivers" \ |
130 $with_dri \ | 130 $with_dri \ |
131 $with_egl \ | 131 $with_egl \ |
132 $with_glvnd \ | 132 $with_glvnd \ |
133 $with_glx \ | 133 $with_glx \ |
134 $with_llvm \ | 134 $with_llvm |
135 . build | |
136 ninja -C build | 135 ninja -C build |
137 DESTDIR=$DESTDIR ninja -C build install | 136 DESTDIR=$DESTDIR ninja -C build install |
137 sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc | |
138 | 138 |
139 cd .. | 139 cd .. |
140 rm -rf $PKGNAME-$PKGVERSION | 140 rm -rf $PKGNAME-$PKGVERSION |
141 } |