cinnamon: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-11-28 08:04:25 +07:00
parent be34e49094
commit 9edd5e633b
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -74,34 +74,26 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Use cinnamon theme by default
patch -p1 < $CWD/default-theme.patch
# Patch to use Slackware Logo, thanks to Skaendo
patch -p1 < $CWD/logo.patch
# Remove broken symlink
rm files/etc/xdg/menus/cinnamon-applications-merged
patch -p1 < $CWD/7382.patch
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
--prefix=/usr \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-introspection=yes \
--enable-compile-warnings=no \
--disable-schemas-compile \
--disable-gtk-doc \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
--prefix=/usr \
--sysconfdir=/etc
ninja
DESTDIR=$PKG ninja install
cd ..
# Use custom Slackware logo
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/