diff options
-rw-r--r-- | games/dolphin-emu/README | 4 | ||||
-rw-r--r-- | games/dolphin-emu/dolphin-emu.SlackBuild | 19 | ||||
-rw-r--r-- | games/dolphin-emu/dolphin-emu.info | 8 |
3 files changed, 19 insertions, 12 deletions
diff --git a/games/dolphin-emu/README b/games/dolphin-emu/README index 2f9ef19f55..10d3a9a98c 100644 --- a/games/dolphin-emu/README +++ b/games/dolphin-emu/README @@ -6,5 +6,5 @@ lesser known titles can be hit or miss. Triforce compatibility is currently limited to a couple of games - others require more of the Triforce-specific peripheral devices to be emulated. -Optional dependencies are SFML, OpenAL, portaudio, pulseaudio, soil -and ffmpeg. +Optional dependencies are SFML, OpenAL, portaudio, pulseaudio, soil, +SDL2, miniupnpc, soundtouch and ffmpeg. diff --git a/games/dolphin-emu/dolphin-emu.SlackBuild b/games/dolphin-emu/dolphin-emu.SlackBuild index 7260fb45ce..32777e63ab 100644 --- a/games/dolphin-emu/dolphin-emu.SlackBuild +++ b/games/dolphin-emu/dolphin-emu.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dolphin-emu -VERSION=${VERSION:-3.5} +VERSION=${VERSION:-4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM/-*/}-$VERSION +rm -rf $PRGNAM unzip $CWD/${PRGNAM/-*/}-$VERSION-src.zip -cd ${PRGNAM/-*/}-$VERSION +cd $PRGNAM chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -69,11 +69,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Force dolphin-emu to use internal polarssl. Dolphin-emu fails to build +# when polarssl >= 1.3.x is installed. +sed -i 's|include(FindPolarSSL)|#&|' CMakeLists.txt + mkdir build cd build cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -Dbindir=/usr/games \ + -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \ + -DINSTALL_LIB_DIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release .. @@ -85,14 +91,15 @@ 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/share/applications -install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications for i in 16 32 48 64 128; do convert Installer/Dolphin.ico -resize ${i}x${i}! $PRGNAM-${i}.png - install -D -m 0644 $PRGNAM-${i}-8.png \ + install -D -m 0644 $PRGNAM-${i}-3.png \ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png done +# Remove unnecessary files/directories. +rm -f $PKG/usr/share/pixmaps $PKG/usr/lib${LIBDIRSUFFIX}/libpolarssl.a + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a license.txt Readme.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/dolphin-emu/dolphin-emu.info b/games/dolphin-emu/dolphin-emu.info index 6de7d1aca7..0b52181861 100644 --- a/games/dolphin-emu/dolphin-emu.info +++ b/games/dolphin-emu/dolphin-emu.info @@ -1,10 +1,10 @@ PRGNAM="dolphin-emu" -VERSION="3.5" +VERSION="4.0" HOMEPAGE="http://dolphin-emu.org/" -DOWNLOAD="https://dolphin-emu.googlecode.com/files/dolphin-3.5-src.zip" -MD5SUM="4d0429f1e10f0862256e0b4c4e2f44a3" +DOWNLOAD="https://dolphin-emu.googlecode.com/files/dolphin-4.0-src.zip" +MD5SUM="ff91b3efadbdaedd24eec70cc2828557" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="nvidia-cg-toolkit" +REQUIRES="%README% nvidia-cg-toolkit" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" |