muffin: Switch to meson.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-06-16 18:24:13 +07:00
parent 11a24b54d4
commit 7557b99b08
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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