Accepting request 698932 from home:EGDFree:branches:games
- remove patch supertuxkart-mesa-18.3.patch - update to 1.0 * see CHANGELOG.md - use system provided WiiUse OBS-URL: https://build.opensuse.org/request/show/698932 OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=82
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8014e7106ba84f98b5ec5f146249dcffc284fc4083f8f237ff420b9e2219cb0
|
||||
size 544517772
|
3
supertuxkart-1.0-src.tar.xz
Normal file
3
supertuxkart-1.0-src.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d88f43f0de5202766ba305c87e3d9843103e81d31b7193059286098d2a5d980
|
||||
size 597012504
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 28 18:20:39 UTC 2019 - Andrey Karepin <egdfree@opensuse.org>
|
||||
|
||||
- remove patch supertuxkart-mesa-18.3.patch
|
||||
- update to 1.0
|
||||
* see CHANGELOG.md
|
||||
- use system provided WiiUse
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 08:42:00 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@@ -16,19 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
%define short_version 1.0
|
||||
|
||||
Name: supertuxkart
|
||||
Version: 0.9.3
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: A 3D kart racing game
|
||||
License: GPL-2.0-or-later AND GPL-3.0-or-later AND CC-BY-SA-3.0
|
||||
Group: Amusements/Games/3D/Race
|
||||
URL: http://supertuxkart.sourceforge.net/
|
||||
Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.3/%{name}-%{version}-src.tar.xz
|
||||
Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/1.0.0/%{name}-%{short_version}-src.tar.xz
|
||||
# Geeko kart add-on (CC-BY 3.0)
|
||||
Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip
|
||||
Source9: supertuxkart.6
|
||||
# PATCH-FIX-UPSTREAM supertuxkart-mesa-18.3.patch boo#1120986 dimstar@opensuse.org - Fix build against Mesa 18.3
|
||||
Patch0: supertuxkart-mesa-18.3.patch
|
||||
BuildRequires: cmake >= 3
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -38,14 +39,18 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: unzip
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: wiiuse-devel
|
||||
BuildRequires: pkgconfig(bluez)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fribidi)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libenet)
|
||||
BuildRequires: pkgconfig(ogg)
|
||||
BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(vorbis)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
Requires: %{name}-data = %{version}
|
||||
@@ -76,10 +81,10 @@ BuildArch: noarch
|
||||
Data files for SuperTuxKart a Free 3d kart racing game.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%setup -q -n %{name}-%{short_version}
|
||||
find -name '*~' -delete -print
|
||||
find -name '.git*' -delete -print
|
||||
find -name '.git*' -type f -delete -print
|
||||
rm -rfv ./.github
|
||||
|
||||
%build
|
||||
mkdir build && cd build
|
||||
@@ -90,6 +95,7 @@ cmake .. \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags} -fno-strict-aliasing" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
||||
-DBUILD_RECORDER=0 \
|
||||
-DUSE_SYSTEM_WIIUSE:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
make V=1 %{?_smp_mflags}
|
||||
|
||||
@@ -120,8 +126,8 @@ cp %{SOURCE9} %{buildroot}%{_mandir}/man6
|
||||
%doc README.md CHANGELOG.md
|
||||
%{_bindir}/supertuxkart
|
||||
%{_mandir}/man?/%{name}.?.*
|
||||
%dir %{_datadir}/appdata
|
||||
%{_datadir}/appdata/supertuxkart.appdata.xml
|
||||
%dir %{_datadir}/metainfo
|
||||
%{_datadir}/metainfo/supertuxkart.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/supertuxkart.png
|
||||
%{_datadir}/icons/hicolor/
|
||||
|
Reference in New Issue
Block a user