File OpenGothic.spec of Package OpenGothic
#
# spec file for package OpenGothic
#
# Copyright (c) 2022 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/
#
Name: OpenGothic
Version: git
Release: 0
Summary: Open source remake of Gothic 2: Night of the Raven
License: GPL-3.0-or-later
URL: https://github.com/synfig/synfig
Source: %{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: cmake(glslang)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(sdl2)
%description
Open source remake of Gothic 2: Night of the Raven.
%prep
%autosetup -p1
%build
%cmake -B build
%cmake_build -C build
%install
%cmake_install -C build