mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-25 21:59:21 +01:00
cinnamon: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
be34e49094
commit
9edd5e633b
1 changed files with 15 additions and 23 deletions
|
@ -74,34 +74,26 @@ 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 {} \;
|
||||||
|
|
||||||
# Use cinnamon theme by default
|
|
||||||
patch -p1 < $CWD/default-theme.patch
|
|
||||||
|
|
||||||
# Patch to use Slackware Logo, thanks to Skaendo
|
# Patch to use Slackware Logo, thanks to Skaendo
|
||||||
patch -p1 < $CWD/logo.patch
|
patch -p1 < $CWD/logo.patch
|
||||||
|
|
||||||
# Remove broken symlink
|
|
||||||
rm files/etc/xdg/menus/cinnamon-applications-merged
|
|
||||||
|
|
||||||
patch -p1 < $CWD/7382.patch
|
patch -p1 < $CWD/7382.patch
|
||||||
|
|
||||||
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-compile-warnings=no \
|
--prefix=/usr \
|
||||||
--disable-schemas-compile \
|
--sysconfdir=/etc
|
||||||
--disable-gtk-doc \
|
ninja
|
||||||
--build=$ARCH-slackware-linux
|
DESTDIR=$PKG ninja install
|
||||||
|
cd ..
|
||||||
make
|
|
||||||
make install DESTDIR=$PKG
|
|
||||||
|
|
||||||
# Use custom Slackware logo
|
# Use custom Slackware logo
|
||||||
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/
|
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/
|
||||||
|
|
Loading…
Reference in a new issue