forked from pool/omnispeak
Accepting request 1067065 from home:mnhauke:games
Initial package for omnispeak OBS-URL: https://build.opensuse.org/request/show/1067065 OBS-URL: https://build.opensuse.org/package/show/games/omnispeak?expand=0&rev=1
This commit is contained in:
commit
8dcc293bc7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="url">https://github.com/sulix/omnispeak.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+git%cd</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version"/>
|
||||||
|
</services>
|
||||||
|
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/sulix/omnispeak.git</param>
|
||||||
|
<param name="changesrevision">72033b4e56bb596061d069a2db1215cd8eb591f5</param></service></servicedata>
|
3
omnispeak-1.1+git20230213.tar.xz
Normal file
3
omnispeak-1.1+git20230213.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7b58310814e4b81f14c87f9596c0b0cac584b910c23f86762da013c3aaab1b5a
|
||||||
|
size 1250448
|
2
omnispeak-keen4-wrapper.sh
Normal file
2
omnispeak-keen4-wrapper.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/omnispeak /EPISODE 4 "$@"
|
2
omnispeak-keen5-wrapper.sh
Normal file
2
omnispeak-keen5-wrapper.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/omnispeak /EPISODE 5 "$@"
|
2
omnispeak-keen6-wrapper.sh
Normal file
2
omnispeak-keen6-wrapper.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/omnispeak /EPISODE 6 "$@"
|
4
omnispeak.changes
Normal file
4
omnispeak.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 21 20:37:27 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Initial package, version 1.1+git20230213
|
96
omnispeak.spec
Normal file
96
omnispeak.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#
|
||||||
|
# spec file for package omnispeak
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023, Martin Hauke <mardnh@gmx.de>
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: omnispeak
|
||||||
|
Version: 1.1+git20230213
|
||||||
|
Release: 0
|
||||||
|
Summary: An reimplementation of "Commander Keen in Goodbye Galaxy!"
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: Amusements/Games/Action/Arcade
|
||||||
|
URL: https://davidgow.net/keen/omnispeak.html
|
||||||
|
#Git-Clone: https://github.com/sulix/omnispeak.git
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
Source1: omnispeak-keen4-wrapper.sh
|
||||||
|
Source2: omnispeak-keen5-wrapper.sh
|
||||||
|
Source3: omnispeak-keen6-wrapper.sh
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(alsa)
|
||||||
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Omnispeak is an open-source reimplementation of Commander Keen
|
||||||
|
episodes 4, 5, and 6. It aims to be a pixel-perfect, bug-for-bug
|
||||||
|
clone of the original games, and is compatible with savegames
|
||||||
|
from the DOS version.
|
||||||
|
|
||||||
|
Omnispeak also includes several new features, including:
|
||||||
|
* Improved graphics scaling and compatibility support.
|
||||||
|
* Dramatically improved joystick/gamepad support.
|
||||||
|
* QuickLoad and QuickSave support (F5 and F9 by default)
|
||||||
|
* Support for real AdLib / OPL2 compatible sound cards
|
||||||
|
* Support for the OPL2LPT
|
||||||
|
|
||||||
|
NOTE:
|
||||||
|
To play the Commander Keen games with omnispeak you need the
|
||||||
|
original game files!
|
||||||
|
|
||||||
|
Run
|
||||||
|
* omnispeak-keen4
|
||||||
|
* omnispeak-keen5
|
||||||
|
* omnispeak-keen6
|
||||||
|
from the folder where the original game files are located.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake \
|
||||||
|
-DVANILLA=OFF \
|
||||||
|
-DXDGUSERPATH=OFF \
|
||||||
|
-DOMNIPATH=%{_datadir}/omnispeak \
|
||||||
|
-DWITH_ALSA=ON \
|
||||||
|
-DWITH_IEEE1284=OFF
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %{buildroot}/%{_bindir}
|
||||||
|
install -m0755 build/omnispeak %{buildroot}/%{_bindir}/omnispeak
|
||||||
|
install -m0755 %{SOURCE1} %{buildroot}/%{_bindir}/omnispeak-keen4
|
||||||
|
install -m0755 %{SOURCE2} %{buildroot}/%{_bindir}/omnispeak-keen5
|
||||||
|
install -m0755 %{SOURCE3} %{buildroot}/%{_bindir}/omnispeak-keen6
|
||||||
|
install -Dm644 unixicon.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/omnispeak.png
|
||||||
|
#
|
||||||
|
install -d %{buildroot}/%{_datadir}/omnispeak/
|
||||||
|
for keen_ver in keen4 keen5 keen6e15; do
|
||||||
|
install -m644 data/$keen_ver/*CK? -t %{buildroot}/%{_datadir}/omnispeak/
|
||||||
|
done
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc AUTHORS README
|
||||||
|
%{_bindir}/omnispeak
|
||||||
|
%{_bindir}/omnispeak-keen4
|
||||||
|
%{_bindir}/omnispeak-keen5
|
||||||
|
%{_bindir}/omnispeak-keen6
|
||||||
|
%{_datadir}/omnispeak
|
||||||
|
%{_datadir}/icons/hicolor/64x64/apps/omnispeak.png
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user