Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Emulators
higan
higan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File higan.spec of Package higan
# # spec file for package higan # # Copyright © 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright © 2014, 2017, 2019 Markus S. <kamikazow@opensuse.org> # # 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. # %global vernumber 106r134 %define debianRepo https://salsa.debian.org/games-team/higan/raw/master/debian/patches %define _cxx g++ Name: higan Version: 0.%{vernumber} Release: 0 Summary: Multi-system video game console emulator focused on accuracy License: GPL-3.0-only AND LGPL-2.0-only AND Zlib AND ISC Group: System/Emulators/Other Url: https://byuu.org/emulation/higan Source: https://gitlab.com/%{name}/%{name}/-/archive/master/%{name}-master.tar.bz2 Source1: %{name}.rpmlintrc # PATCH-FEATURE-DEBIAN Source11: %{name}.6 Source12: icarus.6 # PATCH-FIX-SUSE Patch1: 0001-improve-.desktop-tags.patch # PATCH-FIX-SUSE Patch2: 0002-inject-cflags-ldflags.patch # PATCH-FIX-UPSTREAM https://board.byuu.org/viewtopic.php?f=4&t=1661 Patch3: 0003-Place-the-nix-icon-in-the-right-sub-folder-according.patch # PATCH-FIX-SUSE Patch6: 0006-fix-moc-binary-pathes.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(ao) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtksourceview-2.0) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse-simple) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xv) Requires: %{name}-icarus ExcludeArch: aarch64 %description Higan is an emulator for a handful of Nintendo, SEGA, NEC and Bandai systems. It is different from other emulators in that the project focuses on accuracy only, not speed or game-specific hacks for compatibility. As a result, the minimum system requirements for Higan are quite high. %package icarus Summary: A file picker built for ROM launching (from higan) Group: Productivity/File utilities %description icarus Icarus is the file picker that appears when you use "Import ROM Files..." in higan. It can also be launched standalone, as it is really just a file picker that only shows files with typical ROM extensions. %prep %setup -q -n %{name}-master %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch6 -p1 %ifarch x86_64 perl -pi -e 's,march=native,march=k8,g;' higan/GNUmakefile %else perl -pi -e 's,-march=native,,g;' higan/GNUmakefile %endif %build export CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} -C icarus hiro=qt5 compiler="%{_cxx}" platform="linux" make %{?_smp_mflags} -C higan hiro=qt5 target=higan compiler="%{_cxx}" platform="linux" profile="profile_accuracy" %install mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_bindir} make prefix=%{buildroot}%{_prefix} -C icarus install make prefix=%{buildroot}%{_prefix} -C higan target=higan platform="linux" install # Apply the same fix from patch 0003 to Icarus mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps/ mv %{buildroot}/%{_datadir}/icons/icarus.png \ %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps/ install -d %{buildroot}%{_mandir}/man6 install -m644 %{_sourcedir}/%{name}.6 %{buildroot}%{_mandir}/man6 install -m644 %{_sourcedir}/icarus.6 %{buildroot}%{_mandir}/man6 %files %license GPLv3.txt LICENSE.txt %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_mandir}/man6/%{name}.* %files icarus %{_bindir}/icarus %{_datadir}/applications/icarus.desktop %{_datadir}/icarus %{_datadir}/icons/hicolor/256x256/apps/icarus.png %{_mandir}/man6/icarus.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor