games/m64py: Build using qt5

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
M.Dinslage 2021-07-31 01:13:34 -05:00 committed by Robby Workman
parent 288e994678
commit 064d0f8d22
4 changed files with 21 additions and 19 deletions

View file

@ -1,3 +1,4 @@
M64Py is a Qt4 front-end (GUI) for Mupen64Plus 2.0, a cross-platform
plugin-based Nintendo 64 emulator. Front-end is written in Python and it
provides a user-friendly interface over Mupen64Plus shared library.
M64Py is a Qt5 front-end (GUI) for Mupen64Plus, a cross-platform
plugin-based Nintendo 64 emulator. Front-end is written in Python
and it provides a user-friendly interface over the Mupen64Plus
shared library.

View file

@ -2,7 +2,7 @@
# Slackware build script for m64py
# Copyright 2015 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
# Copyright 2021 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -34,6 +34,7 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -74,19 +75,19 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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 CHANGELOG COPYING LICENSES PKG-INFO README.rst \
AUTHORS CHANGELOG LICENSES README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="m64py"
VERSION="0.2.5"
HOMEPAGE="http://m64py.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/m64py/m64py-0.2.5.tar.gz"
HOMEPAGE="https://github.com/mupen64plus/mupen64plus-ui-python"
DOWNLOAD="https://github.com/mupen64plus/mupen64plus-ui-python/releases/download/0.2.5/m64py-0.2.5.tar.gz"
MD5SUM="201a5b08a7ed43db26af6067a064e116"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="PySDL2 mupen64plus"
REQUIRES="mupen64plus python3-pysdl2"
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"

View file

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
m64py: m64py (mupen64plus GUI)
m64py: m64py (A GUI frontend for Mupen64Plus)
m64py:
m64py: M64Py is a Qt4 front-end (GUI) for Mupen64Plus 2.0, a cross-platform
m64py: M64Py is a Qt5 front-end (GUI) for Mupen64Plus, a cross-platform
m64py: plugin-based Nintendo 64 emulator. Front-end is written in Python
m64py: and it provides a user-friendly interface over Mupen64Plus shared
m64py: library.
m64py: and it provides a user-friendly interface over the Mupen64Plus
m64py: shared library.
m64py:
m64py: Homepage: http://m64py.sourceforge.net
m64py: Homepage: https://github.com/mupen64plus/mupen64plus-ui-python
m64py:
m64py:
m64py: