f286f0bcdc
* New Games: - Added support for Backyard Baseball. - Added support for Backyard Baseball 2001. - Added support for Urban Runner. - Added support for Playtoons: Bambou le Sauveur de la Jungle. - Added support for Toonstruck. - Added support for Living Books v1 and v2 games. - Added support for Hugo's House of Horrors, Hugo 2: Whodunit? and Hugo 3: Jungle of Doom. - Added support for Amiga SCI games (except Conquests of the Longbow). - Added support for Macintosh SCI1 games. * General - Added Danish translation. - Added Norwegian Bokmaal translation. - Added Norwegian Nynorsk translation. - Added Swedish translation. - Added Debug Console to Cine, Draci, Gob, MADE, Sword1, Touche and Tucker Engines. - Closed significant memory leaks. RTL should now be more usable. * AGOS: - Closed memory leaks in Simon 2 and Feeble Files. * Cine: - Corrected memory leaks and invalid memory accesses. Future Wars should be more stable. - Made Operation Stealth completable, though significant graphical glitches remain so not official supported. OBS-URL: https://build.opensuse.org/package/show/games/scummvm?expand=0&rev=21
121 lines
3.8 KiB
RPMSpec
121 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package scummvm (Version 1.3.0)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
%bcond_with mpeg2
|
|
%bcond_with mp3
|
|
|
|
Name: scummvm
|
|
Version: to_be_filled_by_service
|
|
Release: 0
|
|
License: GPLv2+, LGPLv2.1+, BSD
|
|
Summary: Interpreter for several adventure games
|
|
Url: http://www.scummvm.org
|
|
Group: Amusements/Games/Other
|
|
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-nostrip.patch
|
|
Patch1: %{name}-nobuildtime.patch
|
|
BuildRequires: SDL-devel >= 1.2.2
|
|
BuildRequires: flac-devel
|
|
BuildRequires: fluidsynth-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: libpng14-compat-devel
|
|
BuildRequires: libtheora-devel
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: zlib-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if %{with mpeg2}
|
|
BuildRequires: libmpeg2-devel
|
|
%endif
|
|
%if %{with mp3}
|
|
BuildRequires: libmad-devel
|
|
%endif
|
|
%ifarch %{ix86}
|
|
BuildRequires: nasm
|
|
%endif
|
|
Suggests: %{name}-extra
|
|
Suggests: %{name}-tools
|
|
|
|
%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 and 2,
|
|
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
|
|
M4, mohawk and hugo engines for ScummVM.
|
|
These engines are in a worse state, but allow to play extra games.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0
|
|
%patch1
|
|
|
|
%build
|
|
# 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} \
|
|
%{?with_mpeg2:--enable-mpeg2} \
|
|
--enable-verbose-build \
|
|
--enable-plugins \
|
|
--enable-m4=dynamic \
|
|
--enable-lastexpress=dynamic \
|
|
--enable-sword25=dynamic \
|
|
--enable-tsage=dynamic
|
|
# --docdir=%%{_docdir}/%%{name}
|
|
# Subengines are not even as dynamic since I don't want to touch the main engines
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
# docdir is here because since 1.2.0 configure is broken
|
|
make install DESTDIR=${RPM_BUILD_ROOT} docdir=%{_docdir}/%{name}
|
|
%suse_update_desktop_file -i %{name}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(0644,root,root,0755)
|
|
%attr(0755,root,root)%{_bindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_mandir}/man6/%{name}.6*
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
|
%{_docdir}/%{name}
|
|
|
|
%files extra
|
|
%defattr(0644,root,root,0755)
|
|
%{_libdir}/%{name}
|
|
|
|
%changelog
|