commit 8dcc293bc718d34c89196f26ef29ccf927d407affe642c96f88b50ee6da30c75 Author: Dirk Stoecker Date: Wed Feb 22 13:34:20 2023 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..b59c060 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/sulix/omnispeak.git + git + master + enable + @PARENT_TAG@+git%cd + v(.*) + + + *.tar + xz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..4539b6f --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/sulix/omnispeak.git + 72033b4e56bb596061d069a2db1215cd8eb591f5 \ No newline at end of file diff --git a/omnispeak-1.1+git20230213.tar.xz b/omnispeak-1.1+git20230213.tar.xz new file mode 100644 index 0000000..71c01b7 --- /dev/null +++ b/omnispeak-1.1+git20230213.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b58310814e4b81f14c87f9596c0b0cac584b910c23f86762da013c3aaab1b5a +size 1250448 diff --git a/omnispeak-keen4-wrapper.sh b/omnispeak-keen4-wrapper.sh new file mode 100644 index 0000000..338e8e7 --- /dev/null +++ b/omnispeak-keen4-wrapper.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/omnispeak /EPISODE 4 "$@" diff --git a/omnispeak-keen5-wrapper.sh b/omnispeak-keen5-wrapper.sh new file mode 100644 index 0000000..79735ab --- /dev/null +++ b/omnispeak-keen5-wrapper.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/omnispeak /EPISODE 5 "$@" diff --git a/omnispeak-keen6-wrapper.sh b/omnispeak-keen6-wrapper.sh new file mode 100644 index 0000000..7de9c66 --- /dev/null +++ b/omnispeak-keen6-wrapper.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/omnispeak /EPISODE 6 "$@" diff --git a/omnispeak.changes b/omnispeak.changes new file mode 100644 index 0000000..861c8ee --- /dev/null +++ b/omnispeak.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 21 20:37:27 UTC 2023 - Martin Hauke + +- Initial package, version 1.1+git20230213 diff --git a/omnispeak.spec b/omnispeak.spec new file mode 100644 index 0000000..c1f9133 --- /dev/null +++ b/omnispeak.spec @@ -0,0 +1,96 @@ +# +# spec file for package omnispeak +# +# Copyright (c) 2023, Martin Hauke +# +# 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