mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
muffin: Switch to meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
11a24b54d4
commit
7557b99b08
1 changed files with 16 additions and 26 deletions
|
@ -76,32 +76,22 @@ find -L . \
|
||||||
|
|
||||||
sed -i "s|--warn-error||g" src/Makefile.am
|
sed -i "s|--warn-error||g" src/Makefile.am
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
mkdir build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./autogen.sh \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
meson .. \
|
||||||
--sysconfdir=/etc \
|
--buildtype=release \
|
||||||
--localstatedir=/var \
|
--infodir=/usr/info \
|
||||||
--mandir=/usr/man \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--localstatedir=/var \
|
||||||
--enable-introspection=yes \
|
--mandir=/usr/man \
|
||||||
--enable-startup-notification=yes \
|
--prefix=/usr \
|
||||||
--disable-silent-rules \
|
--sysconfdir=/etc \
|
||||||
--disable-schemas-compile \
|
-Dstrip=true
|
||||||
--disable-static \
|
"${NINJA:=ninja}"
|
||||||
--enable-compile-warnings=no \
|
DESTDIR=$PKG $NINJA install
|
||||||
--disable-gtk-doc \
|
cd ..
|
||||||
--disable-clutter-doc \
|
|
||||||
--disable-wayland-egl-platform \
|
|
||||||
--disable-wayland-egl-server \
|
|
||||||
--disable-kms-egl-platform \
|
|
||||||
--disable-wayland \
|
|
||||||
--disable-native-backend \
|
|
||||||
--build=$ARCH-slackware-linux
|
|
||||||
|
|
||||||
make
|
|
||||||
make install DESTDIR=$PKG
|
|
||||||
|
|
||||||
# Don't ship .la files:
|
# Don't ship .la files:
|
||||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||||
|
|
Loading…
Reference in a new issue