diff options
Diffstat (limited to 'libraries/gnome-desktop/gnome-desktop.SlackBuild')
-rw-r--r-- | libraries/gnome-desktop/gnome-desktop.SlackBuild | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/libraries/gnome-desktop/gnome-desktop.SlackBuild b/libraries/gnome-desktop/gnome-desktop.SlackBuild index 960ec82ddd6b..b76ae8d06f59 100644 --- a/libraries/gnome-desktop/gnome-desktop.SlackBuild +++ b/libraries/gnome-desktop/gnome-desktop.SlackBuild @@ -22,8 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Updated to version 40.2 by Igor Alexandrov <igor.alexandrov@outlook.com> + PRGNAM=gnome-desktop -VERSION=${VERSION:-3.18.2} +VERSION=${VERSION:-40.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,7 +64,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,28 +71,31 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --disable-maintainer-mode \ - --disable-desktop-docs - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --buildtype=release \ + -Dsystemd=disabled \ + -Ddesktop_docs=false \ + -Dgtk_doc=true + ninja + DESTDIR=$PKG ninja install +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING COPYING-DOCS COPYING.LIB HACKING MAINTAINERS NEWS README ChangeLog \ + AUTHORS CONTRIBUTING.md COPYING COPYING-DOCS COPYING.LIB NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |