mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
xapps: Switch to meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
317ff5327d
commit
71bb9eac9e
1 changed files with 11 additions and 13 deletions
|
@ -71,22 +71,20 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
mkdir -p build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./autogen.sh \
|
meson setup \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--buildtype=release \
|
||||||
--sysconfdir=/etc \
|
--libdir=lib${LIBDIRSUFFIX} \
|
||||||
--localstatedir=/var \
|
--libexecdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
-Ddocs=true \
|
||||||
--enable-introspection=yes \
|
..
|
||||||
--enable-compile-warnings=no \
|
|
||||||
--disable-schemas-compile \
|
|
||||||
--build=$ARCH-slackware-linux
|
|
||||||
|
|
||||||
make
|
ninja
|
||||||
make install DESTDIR=$PKG
|
DESTDIR=$PKG ninja install
|
||||||
|
cd ..
|
||||||
|
|
||||||
# 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