cinnamon-screensaver: port to meson.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-05-14 08:02:22 +07:00
parent c6330697e5
commit 803cd02fc8
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -71,23 +71,22 @@ 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 build
CXXFLAGS="$SLKCFLAGS" \ cd build
./autogen.sh \ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \ meson .. \
--libexecdir=/usr/lib${LIBDIRSUFFIX} \ --buildtype=release \
--sysconfdir=/etc \ --infodir=/usr/info \
--localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \
--enable-compile-warnings=no \ --prefix=/usr \
--enable-introspection=yes \ --sysconfdir=/etc \
--enable-locking \ -Dlocking=true \
--build=$ARCH-slackware-linux ninja
DESTDIR=$PKG ninja install
make cd ..
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