diff options
author | Gene Carlson <kvngncrlsn@gmail.com> | 2023-03-11 23:03:40 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-11 22:29:46 +0700 |
commit | 016b11fc9ad66918ec47047c5c46393f2a499e2f (patch) | |
tree | 474d758f883524d12a4aff6cf2746bb2f5255a30 /system/pcem | |
parent | 43bc749c9e9ceba9b6801f072e058d8df6b7bd53 (diff) |
system/pcem: Updated for version b8ad941.20230304.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/pcem')
-rw-r--r-- | system/pcem/pcem.SlackBuild | 19 | ||||
-rw-r--r-- | system/pcem/pcem.info | 6 |
2 files changed, 19 insertions, 6 deletions
diff --git a/system/pcem/pcem.SlackBuild b/system/pcem/pcem.SlackBuild index f62dae64207d1..36d31c9ababae 100644 --- a/system/pcem/pcem.SlackBuild +++ b/system/pcem/pcem.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pcem -# Copyright 2022 K. Eugene Carlson Tsukuba, Japan +# Copyright 2022-2023 K. Eugene Carlson Tsukuba, Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pcem -VERSION=${VERSION:-fa9c5ef.20220623} -SRCVERSION=${SRCVERSION:-fa9c5ef6c0e49389faaee329f52caab709762342} +VERSION=${VERSION:-b8ad941.20230304} +SRCVERSION=${SRCVERSION:-b8ad9416bc1d3acd8b384a83b753ddf2282bd091} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -102,6 +102,7 @@ find -L . \ mkdir build cd build cmake -G "Ninja" \ + -DwxWidgets_CONFIG_OPTIONS="--version=3.0" \ -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ @@ -116,6 +117,18 @@ ninja DESTDIR=$PKG ninja install/strip cd .. +# Use a wrapper script to create a symlink to the system roms collection +# (available with pcem-roms on SBo). +mv $PKG/usr/bin/pcem $PKG/usr/bin/PCem +cat << EOF >> $PKG/usr/bin/pcem +#!/bin/bash + +[ ! -d \$HOME/.pcem ] && mkdir \$HOME/.pcem +[ ! -d \$HOME/.pcem/roms ] && ln -s /usr/share/pcem/roms \$HOME/.pcem/roms +PCem +EOF +chmod 0755 $PKG/usr/bin/pcem + mkdir -p $PKG/usr/man/man1 mv $PKG/usr/share/man/man1/pcem.man/pcem.man.1 $PKG/usr/man/man1/pcem.1 rm -r $PKG/usr/share/man diff --git a/system/pcem/pcem.info b/system/pcem/pcem.info index c088f774995f4..a0362c1394191 100644 --- a/system/pcem/pcem.info +++ b/system/pcem/pcem.info @@ -1,8 +1,8 @@ PRGNAM="pcem" -VERSION="fa9c5ef.20220623" +VERSION="b8ad941.20230304" HOMEPAGE="http://pcem-emulator.co.uk/" -DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/fa9c5ef6c0e49389faaee329f52caab709762342/pcem-fa9c5ef6c0e49389faaee329f52caab709762342.zip" -MD5SUM="a0662fdfdca03ec769badba91f9ebe79" +DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/b8ad9416bc1d3acd8b384a83b753ddf2282bd091/pcem-b8ad9416bc1d3acd8b384a83b753ddf2282bd091.zip" +MD5SUM="5df65f15b4db312cedcfadabede4001f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxGTK3" |