diff --git a/games/lutris/lutris.SlackBuild b/games/lutris/lutris.SlackBuild index 39896a4453..42562efdb9 100644 --- a/games/lutris/lutris.SlackBuild +++ b/games/lutris/lutris.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lutris -VERSION=${VERSION:-0.5.9.1} +VERSION=${VERSION:-0.5.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,7 +49,7 @@ TMP=${TMP:-/tmp/SBo} PKG=${PKG:-$TMP/package-$PRGNAM} OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS LICENSE INSTALL.rst README.rst" +DOCS="AUTHORS LICENSE README.rst" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -83,12 +83,30 @@ 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 {} \; -python3 setup.py build -python3 setup.py install --root="$PKG" --optimize=1 --skip-build +mkdir -p build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Derrorlogs=false \ + -Dstrip=true + "${NINJA:=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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/lutris/lutris.info b/games/lutris/lutris.info index fad9380e1e..ac32718804 100644 --- a/games/lutris/lutris.info +++ b/games/lutris/lutris.info @@ -1,8 +1,8 @@ PRGNAM="lutris" -VERSION="0.5.9.1" +VERSION="0.5.10" HOMEPAGE="https://lutris.net/" -DOWNLOAD="https://github.com/lutris/lutris/archive/refs/tags/v0.5.9.1/lutris-0.5.9.1.tar.gz" -MD5SUM="948e18e95750ca0f0af120ea86efe1f6" +DOWNLOAD="https://github.com/lutris/lutris/archive/refs/tags/v0.5.10/lutris-0.5.10.tar.gz" +MD5SUM="550e4269edfcbdfb4899b06499a470b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-magic gnome-desktop webkit2gtk lxml"