mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
cinnamon-desktop: Switch to meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
1d9c2ce9f4
commit
317ff5327d
1 changed files with 11 additions and 14 deletions
|
@ -74,23 +74,20 @@ find -L . \
|
|||
# Use ConsoleKit instead of logind
|
||||
sed -i "s|<default>true</default>|<default>false</default>|g" schemas/org.cinnamon.desktop.session.gschema.xml.in.in
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./autogen.sh \
|
||||
mkdir -p build
|
||||
cd build
|
||||
meson setup \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--buildtype=release \
|
||||
--libdir=lib${LIBDIRSUFFIX} \
|
||||
--libexecdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-introspection=yes \
|
||||
--build=$ARCH-slackware-linux
|
||||
-Ddocs=true \
|
||||
..
|
||||
|
||||
sed -i "s|include \$(libgsystem_srcpath)\/\$(DEPDIR)/libgsystem_la-gsystem-file-utils.Plo||" libcinnamon-desktop/Makefile
|
||||
sed -i "s|include \$(libgsystem_srcpath)\/\$(DEPDIR)/libgsystem_la-gsystem-local-alloc.Plo||" libcinnamon-desktop/Makefile
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
ninja
|
||||
DESTDIR=$PKG ninja install
|
||||
cd ..
|
||||
|
||||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
|
Loading…
Reference in a new issue