scummvm/scummvm.spec
Dirk Stoecker a986b2f0b9 Accepting request 946818 from home:gcomes.obs
- Update to 2.5.1
  General:
  * Ported ResidualVM GUI theme to remastered version.
  * Fixed edge case for Punycode.
  * Fixed checking for savegame overwrite in autosave slot.
  * Fixed moving savegame to new slot for most engines.
  * Scalers are now supported with the OpenGL graphics mode.
  AGOS:
  * Fixed old Waxworks AdLib music regression.
  AGS:
  * Detection list updates.
  Grim:
  * Fixed default "Talk Speed" option value.
  * Fixed black screen while entering save game name.
  * OpenGL without shaders is preferred as default for Grim Fandango.
  Kyra:
  * Fixed graphical glitch in Legend of Kyrandia 3.
  SAGA:
  * Fixed digitized music not looping in Inherit the Earth.
  SCUMM:
  * Improved support for the high-resolution text in the 16-color Macintosh versions of Loom and Indiana Jones and the Last Crusade.
  * Improved OPL3 sound emulation for Sam&Max.
  * Fixed music not looping in The Dig.
  * Fixed crash when loading savegames from Humongous Entertainment games.
  Sherlock:
  * Fixed crash using matches on lab table.
  * Fixed character animation in Rose Tattoo.
  * Fixed glitch opening map in Rose Tattoo.
  * Fixed bell pull and fog horn sounds in Serrated Scalpel.
  * Fixed inventory not updating in Serrated Scalpel after examining watch.
  * Fixed fog overlay at Cleopatra's Needle in Rose Tattoo.
  * Fixed graphic issues in Serrated Scalpel looking at items whilst inventory is open.
  * Made Serrated Scalpel darts closer in speed to the original.
  * Fixed crash when moving cursor past end of string in Rose Tattoo save dialog.
  * Process pending key presses in the order they were made, not the most recent first.
  * Fixed crash when using Delete key in Rose Tattoo save dialog.
  * Fixed rare conversation bug in Serrated Scalpel that would happen when Lord Brumwell started talking to you while the inventory window was open.
  * Resume animations in Serrated Scalpel after conversations. This fixes the bug where Jock Mahoney or Nobby Charleton would get stuck indefinitely, refusing to talk to you.
  * Fixed various user interface glitches in both games.
  Stark:
  * Added OpenGL renderer (without shaders).
  * Added TinyGL renderer.
  * Fixed autosave handling.
  TwinE:
  * Numerous bugfixes and stability improvements.
  Xeen:
  * Fixed crash on startup loading constants from xeen.ccs.
  * Fixed spell selection aborting when characters were switched.
  * Fixed some bad memory accesses.
  * Various sound fixes.
  * Fixed the monster item drop probabilities.

OBS-URL: https://build.opensuse.org/request/show/946818
OBS-URL: https://build.opensuse.org/package/show/games/scummvm?expand=0&rev=69
2022-01-17 15:42:42 +00:00

141 lines
4.5 KiB
RPMSpec

#
# spec file for package scummvm
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with faad
%bcond_without libmpeg2
%bcond_without mad
Name: scummvm
Version: 2.5.1
Release: 0
Summary: Interpreter for several adventure games
License: GPL-2.0-or-later
Group: Amusements/Games/Other
URL: https://www.scummvm.org/
Source: https://www.scummvm.org/frs/scummvm/%{version}/scummvm-%{version}.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: discord-rpc-devel
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa) >= 0.9
BuildRequires: pkgconfig(flac) >= 1.0.1
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libpng) >= 1.2.8
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(sdl) >= 1.2.2
BuildRequires: pkgconfig(theoradec) >= 1.0
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisfile)
BuildRequires: pkgconfig(zlib)
Suggests: %{name}-extra
Suggests: %{name}-tools
%if %{with faad}
BuildRequires: libfaad-devel
%endif
%if %{with mad}
BuildRequires: pkgconfig(mad)
%endif
%if %{with libmpeg2}
BuildRequires: pkgconfig(libmpeg2) >= 0.4.0
%endif
%ifarch %{ix86}
BuildRequires: nasm
%endif
BuildRequires: fdupes
BuildRequires: fribidi-devel
BuildRequires: giflib-devel
BuildRequires: glew-devel
BuildRequires: libSDL2_net-devel
BuildRequires: liba52-devel
BuildRequires: libcurl-devel
BuildRequires: libspeechd-devel
%description
ScummVM is an interpreter that will play graphic adventure games written for
LucasArts' SCUMM virtual machine (such as Day of the Tentacle and
Monkey Island), Sierra's AGI adventures (such as early King's Quest and
Space Quest games), Adventure Soft's Simon the Sorcerer 1, 2 and Feeble Files,
Revolution Software's Beneath a Steel Sky and Broken Sword 1, 2 and 2.5,
Interactive Binary Illusions' Flight of the Amazon Queen,
Coktel Vision's Gobliiins, Wyrmkeep's Inherit the Earth, Westwood's
Legend of Kyrandia, and various others.
%package extra
Summary: Extra engines for ScummVM
Group: Amusements/Games/Other
Requires: %{name} = %{version}
%description extra
lastexpress and toltecs engines for ScummVM.
These engines are in a worse state, but allow to play extra games.
%prep
%setup -q
# build the endianness test without optimization otherwise gcc is too smart
# and optimize everything away, making the test fail
sed -i '/tmp_endianness_check.cpp/ s/$CXXFLAGS/$CXXFLAGS -fno-lto -O0/' configure
#allow to use liba52 from svn
sed -i '/a52_init/s@(0)@()@' configure
sed -i '/a52_init/s@(0)@()@' audio/decoders/ac3.cpp
%build
# scummvm relies on -gsplit-dwarf which is incompatible with -flto
%define _lto_cflags %{nil}
# No rpm configure because scummvm's configure isn't a real configure and thus
# doesn't understand some of the options %%configure passes.
CXXFLAGS="%{optflags}" ; export CXXFLAGS ; \
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--datarootdir=%{_datadir} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--docdir=%{_docdir}/%{name} \
--enable-verbose-build \
--enable-plugins \
--enable-engine-dynamic=lastexpress \
--enable-engine-dynamic=wintermute
# Subengines are not included even as dynamic since I don't want to touch the main engines
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}%{_docdir}/%{name}/COPYING*
%fdupes %{buildroot}%{_datadir}/scummvm
%files
%defattr(0644,root,root,0755)
%license COPYING*
%attr(0755,-,-) %{_bindir}/scummvm
%{_datadir}/scummvm
%{_mandir}/man6/scummvm.6*
%{_datadir}/applications/scummvm.desktop
%{_datadir}/metainfo/scummvm.appdata.xml
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/pixmaps/scummvm.xpm
%{_docdir}/%{name}
%files extra
%defattr(0644,root,root,0755)
%{_libdir}/scummvm
%changelog