File desmume.spec of Package desmume

# spec file for package desmume
#
# Copyright (c) 2024 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:           desmume
Version:        0.9.13
Release:        1
Summary:        DeSmuME is a Nintendo DS emulator
License:        GPL-2.0
URL:            https://github.com/TASEmulators/desmume
Source0:        desmume.tar.gz

BuildRequires:  meson
BuildRequires:  gcc-c++
BuildRequires:  gtk3-devel

BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  pkgconfig(libpcap)

%description
DeSmuME is a Nintendo DS emulator.

%prep
%autosetup

%build
cd desmume/src/frontend/posix
%meson
%meson_build

%install
cd desmume/src/frontend/posix
%meson_install

%files
%doc README.md
%{_bindir}/desmume
%{_bindir}/desmume-cli
%{_datadir}/applications/org.desmume.DeSmuME.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.desmume.DeSmuME.svg
%{_mandir}/man1/desmume-cli.1.gz
%{_mandir}/man1/desmume.1.gz
%{_datadir}/metainfo/org.desmume.DeSmuME.metainfo.xml

%changelog
* Wed Nov 13 2024 qwertyquarty - 0.9.13-1
- changed description & summary


openSUSE Build Service is sponsored by