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
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./autogen.sh \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-introspection=yes \
|
||||
--enable-startup-notification=yes \
|
||||
--disable-silent-rules \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--enable-compile-warnings=no \
|
||||
--disable-gtk-doc \
|
||||
--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
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
meson .. \
|
||||
--buildtype=release \
|
||||
--infodir=/usr/info \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
-Dstrip=true
|
||||
"${NINJA:=ninja}"
|
||||
DESTDIR=$PKG $NINJA install
|
||||
cd ..
|
||||
|
||||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
|
Loading…
Reference in a new issue