Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 45 additions & 16 deletions games/emulationstation-de/README
Original file line number Diff line number Diff line change
@@ -1,23 +1,52 @@
emulationstation-de (Game emulation frontend)
emulationstation-de (Frontend for browsing and launching games)

ES-DE (EmulationStation Desktop Edition) is a frontend for browsing and
launching games from your multi-platform game collection. It supports
more than 100 game systems and features a built-in scraper for artwork
and metadata, fully customizable themes, complete controller navigation,
collections (favorites, last played, custom) and video previews.
ES-DE (EmulationStation Desktop Edition) is a frontend for browsing
and launching games from your multi-platform game collection. It
supports more than 150 game systems and is available for Linux,
macOS, Windows, and Android.

This package provides ES-DE version 2.2.1, the last release of the 2.x
branch. It is specifically chosen for Slackware 15.0 compatibility, as
it uses the ffmpeg 4.x API which matches the system ffmpeg (4.4.x)
included in Slackware 15.0.
Features include a built-in scraper for artwork and metadata,
fully customizable themes, complete controller navigation support,
collections (favorites, last played, custom), video previews, and
a comprehensive user guide.

NOTE: ES-DE 3.x requires ffmpeg 5.x or newer and is NOT compatible
with Slackware 15.0's system ffmpeg. Use this 2.2.1 package for 15.0.
For Slackware -current, the ES-DE 3.x SlackBuild is recommended instead.
REQUIRED DEPENDENCIES (not included in Slackware -current at date):
- FreeImage (from SBo)
- libgit2 (from SBo)
- pugixml (from SBo)

The application updater (checks for new releases on startup) is
disabled in this build, as recommended for packaged distributions.
The following dependencies ARE included in Slackware -current at date:
- SDL2
- ffmpeg
- freetype2
- harfbuzz
- curl
- gettext
- poppler
- icu4c (libicu)

The application updater (which checks for new releases on startup)
is disabled in this build as is recommended for packaged distributions.
You can re-enable it by removing -DAPPLICATION_UPDATER=off from the
cmake invocation in the SlackBuild script.

After installation, ES-DE will look for ROMs in ~/ROMs by default.
On first startup you will be prompted to set the ROM directory if
no games are found. Configuration files are stored in ~/ES-DE/
no games are found.

Configuration files are stored in ~/ES-DE/

IMPORTANT NOTE FOR SLACKWARE 15.0 USERS:

This package requires ffmpeg 5.x or newer due to API changes introduced
in that version. Slackware 15.0 ships ffmpeg 4.4.x, which is NOT
compatible with ES-DE 3.x. Attempting to build this package on
Slackware 15.0 will fail at compile time with errors related to
deprecated or removed symbols in the ffmpeg libraries (libavcodec,
libavfilter, libavformat, libavutil).

If you are running Slackware 15.0, please use the ES-DE 2.2.1
SlackBuild instead. That release targets the ffmpeg 4.x API and
is fully compatible with the system ffmpeg included in Slackware 15.0.

This SlackBuild is intended for Slackware -current only.
22 changes: 8 additions & 14 deletions games/emulationstation-de/emulationstation-de.SlackBuild
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=emulationstation-de
VERSION=${VERSION:-2.2.1}
VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

# GitLab archives the source with a "v" prefix in the tag name
# GitLab archives the source with a "v" prefix in the directory name
SRCVER="v$VERSION"

if [ -z "$ARCH" ]; then
Expand All @@ -45,6 +45,9 @@ if [ -z "$ARCH" ]; then
esac
fi

# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
Expand Down Expand Up @@ -83,17 +86,8 @@ 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 {} \;

# Patch for libgit2 >= 1.0 API changes (Slackware 15.0 ships libgit2 1.x)
sed -i \
-e 's/git_transfer_progress\b/git_indexer_progress/g' \
-e 's/git_transfer_progress_cb\b/git_indexer_progress_cb/g' \
-e 's/git_error_clear();//g' \
es-app/src/guis/GuiThemeDownloader.cpp

# Build using cmake in a dedicated build subdirectory.
# APPLICATION_UPDATER=off is recommended for packaged/distro builds.
# ES-DE 2.2.1 uses the ffmpeg 4.x API, compatible with Slackware 15.0's
# system ffmpeg (4.4.x). No additional ffmpeg package is required.
# Build using cmake in a dedicated build subdirectory
# APPLICATION_UPDATER=off is recommended for packaged/distro builds
mkdir -p build
cd build
cmake \
Expand All @@ -108,7 +102,7 @@ cd build
make install/strip DESTDIR=$PKG
cd ..

# Compress man pages if installed under /usr/man or /usr/share/man
# Compress man pages if any were installed
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do
Expand Down
6 changes: 3 additions & 3 deletions games/emulationstation-de/emulationstation-de.info
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PRGNAM="emulationstation-de"
VERSION="2.2.1"
VERSION="3.4.0"
HOMEPAGE="https://es-de.org/"
DOWNLOAD="https://gitlab.com/es-de/emulationstation-de/-/archive/v2.2.1/emulationstation-de-v2.2.1.tar.gz"
MD5SUM="2cb00a33c4006234766fb157cf32132a"
DOWNLOAD="https://gitlab.com/es-de/emulationstation-de/-/archive/v3.4.0/emulationstation-de-v3.4.0.tar.gz"
MD5SUM="8fd3fc8a41a268336f0d97ea5a28fecb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="FreeImage libgit2 pugixml"
Expand Down
8 changes: 4 additions & 4 deletions games/emulationstation-de/slack-desc
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ emulationstation-de: emulationstation-de (Game emulation frontend)
emulationstation-de:
emulationstation-de: ES-DE (EmulationStation Desktop Edition) is a frontend for
emulationstation-de: browsing and launching games from your multi-platform game
emulationstation-de: collection. It supports more than 100 game systems and is
emulationstation-de: available for Linux, macOS and Windows. Features include a
emulationstation-de: built-in scraper for artwork and metadata, customizable themes,
emulationstation-de: controller navigation, video previews and collections.
emulationstation-de: collection. It supports more than 150 game systems and is
emulationstation-de: available for Linux, macOS, Windows, and Android.
emulationstation-de: Features include a built-in scraper for artwork and metadata,
emulationstation-de: customizable themes, controller navigation, and collections.
emulationstation-de:
emulationstation-de: Homepage: https://es-de.org/
emulationstation-de: