diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2022-04-16 16:58:41 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:19 +0700 |
commit | d7c8442d96ea963d7419e0c7446350716a8eb5d6 (patch) | |
tree | 77d548183291819762e9443f1e831659576be49b /games/lutris | |
parent | 1fadfddbc9c541164c9a13fa76c2cb6e5cefd530 (diff) |
games/lutris: Updated to 0.5.10
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/lutris')
-rw-r--r-- | games/lutris/lutris.SlackBuild | 26 | ||||
-rw-r--r-- | games/lutris/lutris.info | 6 |
2 files changed, 25 insertions, 7 deletions
diff --git a/games/lutris/lutris.SlackBuild b/games/lutris/lutris.SlackBuild index 39896a4453c6..42562efdb9ab 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 fad9380e1e26..ac3271880493 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" |