scummvm/scummvm.spec
Matthias Mailänder fe8ee9d988 Accepting request 934062 from home:gcomes.obs
- Update to 2.5.0
  New games:
  * Added support for Grim Fandango.
  * Added support for The Longest Journey (only on some desktop platforms).
  * Added support for Myst 3: Exile (only on some desktop platforms).
  * Added support for Little Big Adventure.
  * Added support for Red Comrades 1: Save the Galaxy.
  * Added support for Red Comrades 2: For the Great Justice.
  * Added support for Transylvania.
  * Added support for Crimson Crown.
  * Added support for OO-Topos.
  * Added support for Glulx interactive fiction games.
  * Added support for Lure of the Temptress Konami release.
  * Added support for Private Eye.
  * Added support for Spanish Blue Force.
  * Added support for Spanish Ringworld.
  * Added support for Spanish Amazon: Guardians of Eden.
  * Added support for AGS Games versions 2.5+.
  * Added support for Nightlong: Union City Conspiracy.
  * Added support for The Journeyman Project 2: Buried in Time.
  * Added support for Crusader: No Remorse.
  * Added support for L-ZONE.
  * Added support for Spaceship Warlock.
  New ports:
  * The Nintendo DS port got a major rewrite.
  General:
  * Switched ScummVM GUI output to UTF-32.
  * Updated the Roland MT-32 emulation code to the Munt project’s mt32emu 2.5.1.
  * Updated Dropbox Cloud Storage to use the new Dropbox OAuth workflow.
  * Major extension to the number of supported graphics scalers.
  * Display path to scummvm configuration file in GUI -> Options -> Paths.
  * Added new optional dependency, giflib >= 5.0.0. Used by some version of LBA.
  * Added HiDPI support to the ScummVM GUI.
  * Added command line option --window-size for specifying ScummVM window size,
  * applicable only to the OpenGL renderer.
  * Fixed switching to the default graphics mode. This was sometimes not applied
  * until restarting ScummVM or starting a game.
  * ScummVM GUI has been fully translated into Korean and Japanese.
  * Added GUI option for enabling and disabling the Discord RPC integration.
  ADL:
  * Added support for Mystery House French translation.
  * Added support for several game variants.
  AGI:
  * Added support for Russian versions. Input now works.
  AGOS:
  * Added support for the Japanese PC-98 version of Elvira 1.
  CGE:
  * Added option to use Text To Speech for Soltys.
  CGE2:
  * Added option to use Text To Speech for Sfinx.
  Cine:
  * Added detection for Future Wars CD version with French translation patch.
  * Added detection for Italian Amiga Operation Stealth.
  * Fixed crash before entering secret base.
  * Fixed space missing in verb line.
  * Fixed vertically overflowing message boxes.
  Dreamweb:
  * Rendering fixes for Russian fan translation.
  Glk:
  * Fixed savegame issues with several subengines.
  * Fixed memory overrun in Level9 game detector.
  * Added detections for 2020 IF Comp games.
  * Enabled Glulx sub-engine.
  Gob:
  * Added support for Bargon Attack Russian translation.
  * Added support for Woodruff Russian translation.
  Griffon:
  * Fixed Return to Launcher from The Griffon Legend.
  * Added option to use Text To Speech in The Griffon Legend
  Grim:
  * Added support for Brazillian Portuguese Grim Fandango.
  Kyra:
  * Added support for the Japanese Sega-CD version of Eye of the Beholder.
  * Added support for the Hebrew fan translation of Legend of Kyrandia.
  * Added support for the Hebrew fan translation of Legend of Kyrandia 2.
  * Added support for the Simplified Chinese version of Legend of Kyrandia 3.
  * Added support for the playable demo of Lands of Lore.
  Lure:
  * Fixed fire animation in first room when loading saves.
  * Fixed AdLib support.
  * Fixed MT-32 support.
  Pegasus:
  * Added support for DVD/GOG.com release.
  Queen:
  * Added support for German Amiga floppy release.
  SAGA:
  * Added support for ITE GOG Mac CD v1.1.
  * Added support for ITE PC-98 Japanese.
  SCI:
  * Added RGB rendering mode (16/32bpp) for SCI0 - SCI1.1 games, which addresses palette
  * issues in screen transitions and avoids mode changes when playing Mac QuickTime videos.
  * Added custom palette mods for SQ3 and LSL2 from the FreeSCI project.
    When enabled, the mods improve the visuals
  * in these two games.
  * Added support for Macintosh version of Gabriel Knight 1.
  * Added support for CD-Audio version of Mixed-Up Mother Goose.
  * Added support for Korean fan translations from the scummkor project: Castle of Dr. Brain,
  * EcoQuest 1, Gabriel Knight 1, King’s Quest 1, 5, and 6, Laura Bow 2, and Space Quest 4.
  * Added support for Space Quest 4 Update 1.3 by New Rising Sun.
  * Added support for French LSL1VGA.
  * Added support for Hebrew QFG1VGA.
  * Added support for Hebrew GK1.
  * Added support for Russian Longbow.
  * Added support for Russian LSL6.
  * Added support for alternate Russian LSL7.
  * Added support for alternate Polish LSL7 including files packaged with InstallShield.
  * Added support for alternate Russian SQ5.
  * Added support for alternate Russian Torin’s Passage.
  * Added support for fan game Soulshade Asylum.
  * SCI1.1 views are now scaled accurately.
  * Fixed sounds not stopping or restarting correctly.
  * Fixed sound issues when restoring SCI0 games.
  * Fixed corruption when “Prefer digital sound effects” was disabled in SCI1 games.
  * Space Quest 4 CD sound effects now match the selected platform.
  * Added option to enable Windows cursors in CD versions of King’s Quest 5 and Space Quest 4.
  * Fixed “Girl In The Tower” song not playing at the end of King’s Quest 6 CD.
  * Fixed King’s Quest 5 Amiga beach error that prevented completing the game.
  * Fixed over 30 script bugs in GK1, HOYLE4, KQ1DEMO, KQ5, KQ6, KQ7, LB1,
  * LSL3, PEPPER, PQ3, QFG3, SQ1, SQ4, and SQ6.
  * Unlocked JANE easter egg in Gabriel Knight 1.
  SCUMM:
  * Fixed Chinese, Japanese and Korean text display for The Dig and for
    The Curse of Monkey Island. These fixes
  * also include some improvements to the common text display (mainly the formatting of wrapped texts).
  * Fixed display of Chinese, Japanese and Korean pause and restart dialogs.
  * Added support for numerous Korean translations from scummkor project.
  * Added support for Russobit-M versions of Pajama2 and SpyOzone.
  * Fixed speech playback in Akella version of COMI.
  * Added support for Discord and Humble Bundle versions of Indiana Jones and the Fate of Atlantis.
  * Added smooth scrolling for FM-TOWNS versions of games.
  * Added optional trimming to 200 pixels for some FM-TOWNS games, so aspect-ratio correction is possible.
  * Fixed audio distortion in Loom for PC-Engine.
  * Added support for the high resolution font and cursor in the 16-color Macintosh version of Loom.
  * Added support for Japanese Mac version of The Dig.
  * Added partial support for the high resolution fonts and cursor in the
  * 16-color Macintosh version of Indiana Jones and the Last Crusade.
  * Fixed missing instruments in the m68k Mac versions of Monkey Island 2
  * and Indiana Jones and the Fate of Atlantis.
  * Added “Macintosh b/w” render mode for the 16-color Macintosh versions of
  * Loom and Indiana Jones and the Last Crusade.
  * Enabled difficulty selection in the version of Monkey Island 2 that was
  * included on the LucasArts Mac CD Game Pack II compilation. (It had been
  * disabled along with the copy protection.)
  * Repaired clumsy crack in Maniac Mansion (enhanced)'s keypad script.
  * This means that the GOG and Steam versions will no longer accept incorrect
  * numbers, e.g. for Edna’s phone number. (Why are they selling a cracked
  * version anyway?!)
  * Added support for Low quality music in Macintosh version of Loom.
  * Improved Digital iMUSE accuracy for Full Throttle and The Curse of Monkey Island.
    These improvements also fix several audio related bugs for both games.
  * Fixed a very old regression in the walk code for Full Throttle which softlocked the game.
  * Improved the accuracy of the walk code for The Dig and The Curse of Monkey Island.
  * Fixed a bug in The Curse of Monkey Island which prevented, during the cannon minigame
    in Part 1, the destruction of one of the three destroyable turrets in the fort.
  * Added animated cigar smoke to the close-up of captain Smirk in the CD
  * version of Monkey Island 1. It was present in earlier versions.
  * Restored some missing Lemonhead lines in the English, Italian, German and Spanish CD
  * versions as well as the English Macintosh, FM-Towns and Sega CD versions
  * of Monkey Island 1.
  * Made the clock tower in Monkey Island 1 behave the same in the CD version
  * as in earlier versions, i.e. after examining it you have to leave the
  * room and come back again for its description to change.
  Tinsel:
  * Enabled the Return to Launcher feature.
  Titanic:
  * Fixed crashes when asking bots what I should do.
  TsAGE:
  * Added support for uninstalled floppy version.
  Stark:
  * Added support for Hungarian translation.
  Supernova:
  * Added Italian translation for part 1.
  Sword25:
  * Made the extracted version working.
  * Fixed crash when selecting Croatian language.
  Ultima:
  * Ultima 4: Added several debugger commands.
  * Ultima 4: Allow Enter key to exit ZStats display.
  * Ultima 8: Fixed several animation bugs for events and objects.
  * Ultima 8: Restored original text for the Spell of Resurrection book.
  Xeen:
  * Fixed occasional border corruption during fights.
  * Improvements to cutscenes to better match the original games.
  * Fixes for character selection, deselection, and dismissing to better match original.
  * Added support for Russian version.
  AmigaOS port:
  * Added native system file browser feature.
  * Re-activated nuked OPL Adlib driver.
  Big-endian ports:
  * Fixed crashes or rendering issues with the Blazing Dragons, Duckman and
  * Full Pipe games.
  iOS port:
  * Fixed using arrow keys on physical keyboard in iOS 15.
  * Fixed rotating the device while ScummVM is inactive.
  * Added support for upside down portrait orientation.
  macOS port:
  * Added support for Dark Mode.
  * Use OpenGL renderer by default, providing better support for HiDPI displays.
  MorphOS port:
  * Added native system file browser feature.
  * Added Cloud feature.
  * Re-activate nuked OPL Adlib driver.
  * Added CAMD MIDI driver support.
  Windows port:
  * Use OpenGL renderer by default, providing better support for HiDPI displays.
- Drop all patches to fix build with fluidsynth 2.2 (0001-0006)
- enable build with libmpeg2
- add BuildRequires:  liba52-devel libSDL2_net-devel libcurl-devel libspeechd-devel
                      fribidi-devel giflib-devel glew-devel

OBS-URL: https://build.opensuse.org/request/show/934062
OBS-URL: https://build.opensuse.org/package/show/games/scummvm?expand=0&rev=67
2021-11-27 08:27:38 +00:00

141 lines
4.5 KiB
RPMSpec

#
# spec file for package scummvm
#
# Copyright (c) 2021 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.0
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