File gbe-plus.spec of Package gbe-plus
#
# spec file for package gbe-plus
#
# Copyright (c) 2023 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/
#
%define nama gbe_plus
Name: gbe-plus
Version: 1.7
Release: 0
Summary: DMG/GBC/GBA emulator and experimental NDS emulator.
License: GPL-2.0-only
URL: https://github.com/shonumi/gbe-plus
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch: cmake-install-location.patch
BuildRequires: cmake
BuildRequires: cmake(sdl2)
BuildRequires: cmake(Qt5OpenGL)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Gui)
BuildRequires: pkgconfig(opengl)
BuildRequires: pkgconfig(SDL2_net)
%description
GB Enhanced+ is a DMG/GBC/GBA/Pokemon Mini emulator and experimental
NDS emulator. It is the successor to the original GB Enhanced project
with a focus on emulating as much of the Game Boy as possible, including
various peripherals and accessories.
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README*
%{_bindir}/%{nama}*
%{_sysconfdir}/%{nama}/
%changelog