Compare commits

...
Sign in to create a new pull request.

32 commits

Author SHA1 Message Date
Fedora Release Engineering
a3a97d7e12 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:33:50 +00:00
Fedora Release Engineering
8bcd08ae6f Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:59:39 +00:00
Jeremy Newton
87c5396704 Actually fix RHBZ#2379014
SFML is too old, so this needs to use the bundled version for now, which
can be statically linked in. Once SFML is updated, it can be easily
unbundled.
2025-08-08 09:16:32 -04:00
Jeremy Newton
e39f05a107 Update to 2.2.2
Fixes RHBZ#2379014
2025-08-07 13:52:02 -04:00
Fedora Release Engineering
c1536aa1c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:10:03 +00:00
Jeremy Newton
cf39d5def8 Update to 2.2.0 2025-07-08 23:05:38 -04:00
Jeremy Newton
007fda416a Update URL 2025-02-07 15:53:33 -05:00
Fedora Release Engineering
1111c7b87b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:30:18 +00:00
Jeremy Newton
0b8f46ca42 Update to 2.1.11 2024-09-16 20:34:44 -04:00
Jeremy Newton
b601686a2d Don't build on s390x 2024-09-13 10:45:57 -04:00
Jeremy Newton
cddb07d050 Update to 2.1.10 2024-09-13 09:59:33 -04:00
Miroslav Suchý
f6015a91d2 convert GPLv2 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-29 12:28:39 +02:00
Fedora Release Engineering
0440f8231b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:54:36 +00:00
Jeremy Newton
43dd026687 Update to 2.1.9 2024-02-08 21:42:14 -05:00
Fedora Release Engineering
5b800d363a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:01:28 +00:00
Jeremy Newton
f549360ba5 Update to 2.1.8 2024-01-04 14:29:13 -05:00
Jeremy Newton
2aaa7b6d19 Convert to auto changelog
Clean up logic
2024-01-04 13:48:26 -05:00
Sérgio M. Basto
6e5165685d Rebuild for SFML-2.6.1 2023-11-05 20:02:25 +00:00
Jeremy Newton
c28e2f6862 Update to 2.1.7 2023-09-13 18:32:31 -04:00
Fedora Release Engineering
958a3c91be Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:46:41 +00:00
Jeremy Newton
65249c981a Update to 2.1.6 2023-07-14 17:41:07 -04:00
Jeremy Newton
7c72aa61e4 Update to 2.1.5 2023-01-30 23:43:24 -05:00
Fedora Release Engineering
9770d9376c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:25:11 +00:00
3cb812fc34 Rebuild due to wxGLCanvas ABI change 2022-11-27 11:16:21 +09:00
Scott Talbert
28c48e6ab2 Rebuild with wxWidgets 3.2 2022-08-04 14:20:20 -04:00
Fedora Release Engineering
db7d1426da Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:01:25 +00:00
Jeremy Newton
1ed2d03ef0 Disable 32bit build
As per the F37 proposal to disable unnecessary 32bit builds
2022-03-08 06:07:22 +00:00
Fedora Release Engineering
97a5a0f673 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:05:51 +00:00
Fedora Release Engineering
7f9306322a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:35:03 +00:00
Mystro256
8a9fee9ad6 Cherry-pick F33+ build fix
Related to SDL update, this is cherry-picked from upstream.
2021-01-26 12:45:57 -05:00
Fedora Release Engineering
72472e3af6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:48:40 +00:00
47063486c4
Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-08 16:27:11 +02:00
6 changed files with 279 additions and 291 deletions

9
.gitignore vendored
View file

@ -11,3 +11,12 @@
/visualboyadvance-m-2.1.0.tar.gz
/visualboyadvance-m-2.1.3.tar.gz
/visualboyadvance-m-2.1.4.tar.gz
/visualboyadvance-m-2.1.5.tar.gz
/visualboyadvance-m-2.1.6.tar.gz
/visualboyadvance-m-2.1.7.tar.gz
/visualboyadvance-m-2.1.8.tar.gz
/visualboyadvance-m-2.1.9.tar.gz
/visualboyadvance-m-2.1.10.tar.gz
/visualboyadvance-m-2.1.11.tar.gz
/visualboyadvance-m-2.2.0.tar.gz
/visualboyadvance-m-2.2.2.tar.gz

View file

@ -1,26 +0,0 @@
From 410ede543c98c8c6dd89c25484da3bffb46f4187 Mon Sep 17 00:00:00 2001
From: Mystro256 <alexjnewt@hotmail.com>
Date: Fri, 6 Mar 2020 12:38:33 -0500
Subject: [PATCH] Check for null pointer in soundReset().
Check that soundDriver is defined.
---
src/gba/Sound.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gba/Sound.cpp b/src/gba/Sound.cpp
index d6376ff2..90144390 100644
--- a/src/gba/Sound.cpp
+++ b/src/gba/Sound.cpp
@@ -517,6 +517,8 @@ int soundGetEnable()
void soundReset()
{
+ if (!soundDriver)
+ return;
soundDriver->reset();
remake_stereo_buffer();
--
2.21.1

View file

@ -1,40 +0,0 @@
From af0de1c4b308ef8d9a081ecf407805b75a99d877 Mon Sep 17 00:00:00 2001
From: Rafael Kitover <rkitover@gmail.com>
Date: Fri, 4 Oct 2019 07:35:49 +0000
Subject: [PATCH] xbrz: fix inline asm check
Use correct cpp code to detect x86/amd64 architecture to use inline asm.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
---
src/filters/xBRZ/xbrz.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filters/xBRZ/xbrz.cpp b/src/filters/xBRZ/xbrz.cpp
index 36d70be2..13e6cdc1 100644
--- a/src/filters/xBRZ/xbrz.cpp
+++ b/src/filters/xBRZ/xbrz.cpp
@@ -66,17 +66,17 @@ uint32_t gradientARGB(uint32_t pixFront, uint32_t pixBack) //find intermediate c
inline double fastSqrt(double n)
{
-#ifdef __GNUC__ || __clang__ || __MINGW64_VERSION_MAJOR || __MINGW32_MAJOR_VERSION
+#if (defined(__GNUC__) || defined(__clang__)) && (defined(__x86_64__) || defined(__i386__))
__asm__ ("fsqrt" : "+t" (n));
return n;
-#elif _MSC_VER && _M_IX86
+#elif defined(_MSC_VER) && defined(_M_IX86)
// speeds up xBRZ by about 9% compared to std::sqrt which internally uses
// the same assembler instructions but adds some "fluff"
__asm {
fld n
fsqrt
}
-#else // _MSC_VER && _M_X64 OR other platforms
+#else // defined(_MSC_VER) && defined(_M_X64) OR other platforms
// VisualStudio x86_64 does not allow inline ASM
return std::sqrt(n);
#endif
--
2.21.1

235
changelog Normal file
View file

@ -0,0 +1,235 @@
* Sun Nov 05 2023 Sérgio Basto <sergio@serjux.com> - 2.1.7-1.2
- Rebuild for SFML-2.6.1
* Wed Sep 13 2023 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.7-1
- Update to 2.1.7
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.6-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jul 14 2023 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.6-1
- Update to 2.1.6
* Mon Jan 30 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 2.1.5-1
- Update to 2.1.5
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-4.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Nov 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.4-4.5
- Rebuild due to wxGLCanvas ABI change
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 2.1.4-4.4
- Rebuild with wxWidgets 3.2
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-4.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-4.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-4.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-4
- Cherry-pick build fix for SDL
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Mar 11 2020 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-3
- Fix RHBZ#1776006
* Fri Mar 6 2020 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-2
- Fix non x86 arches (backported a patch from upstream)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 11 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-1
- Update to v2.1.4
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 23 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.3-1
- Update to v2.1.3
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Sep 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.0-2
- Actually use 2.1.0 sources
- Add performance patch for xserver
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.0-1
- Update to v2.1.0
* Thu Mar 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.2-1
- Update to v2.0.2
- Cleanup old rpmfusion provides
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-1.1
- Remove obsolete scriptlets
* Mon Dec 11 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.1-1
- Update to v2.0.1
- Cleanup
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.18.git78cd223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.17.git78cd223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Mar 16 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.16.git78cd223
- Update to new git snapshot
* Sun Mar 05 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.15.git7b85964
- Update to new git snapshot
* Sun Mar 05 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.14.waylandplus
- Update to new version
- Add patch for SDL issues
- Fix incorrect bug tracker link
* Mon Feb 20 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.13.git6a7d494
- Update to git snapshot, fixes many issues
- Drop wayland and openal fixes (better fixes have been upstreamed)
- Better workaround patch for sound syncing issue
* Wed Feb 15 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.12.Beta3
- Rebuilt for SFML 2.4
* Sat Feb 11 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.11.Beta3
- Added missing obsoletes for vbam-common (from rpmfusion)
- Tweaking openal patch
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.10.Beta3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jan 30 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.9.Beta3
- Fix dynamic loading of openal library if openal-soft-devel is not installed
* Sun Jan 29 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.8.Beta3
- Add patch to fix wayland drawing
- Remove launcher to force xwayland
* Thu Jan 19 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.7.Beta3
- Force X11/xwayland, rendering issues exist on Wayland
- Enable cairo to fix wx segfaults on xwayland
* Thu Jan 19 2017 Dan Horák <dan[at]danny.cz> - 2.0.0-0.6.Beta3
- Don't override distro-wide -mtune option
* Wed Jan 18 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.5.Beta3
- Added fix for armv7hl and pcc
* Fri Dec 30 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.4.Beta3
- Added missing desktop scriptlet for f24
- Added missing build requires
- Missing hicolor-icon-theme require
- Use sysconfdir macro in spec
* Wed Dec 21 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.3.Beta3
- Update to beta 3
- Dropping GTK, upstream no longer supports this
- Change packagename visualboyadvance-m to reflect upstream
- Various tweaks
* Sat Dec 10 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.2.beta2
- Added patch to fix audio syncing issues
- Added fixes for linux data files
* Fri Dec 9 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.1.beta2
- Update to 2.0.0 beta 2
- Re-enable wx GUI
- Rename common subpackage to data
- Added appdata
- Build Require cleanup
* Thu Jul 7 2016 Hans de Goede <j.w.r.degoede@gmail.com> - 1.8.0.1229-3
- Fix building with gcc6 / fix FTBFS
* Mon Jan 12 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1229-2
- Fix typo in desktop file
* Sat Apr 5 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1229-1
- Update to latest "release" version
* Mon Nov 18 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-3
- Update patch for SFML, thanks to Hans de Goede
* Sun Nov 17 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-2
- Added patch for SFML
* Sun Nov 17 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-1
- Updated to new snapshot version
* Fri Mar 1 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1159-1
- Updated to new upstream version
- Fixed some spec date typos
* Mon Dec 10 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1149-1
- Updated to new upstream version
- FFMpeg dep removed due to only needed by wx and now disabled by default
* Thu Jul 5 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1097-1
- Updated to new upstream version
- Disabling WX because its not supported
- Removed extra sources as they are now included
- Removed FFMPEG fix
- Moved ips.htm doc file into common to avoid duplicates
- Various cleanup
* Wed Mar 28 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-6
- Added man pages
* Tue Feb 14 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-5
- Added Zip as a dependancy
* Tue Feb 14 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-4
- Changed building commands to avoid failed builds
* Sun Jan 29 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-3
- Added missing Build Requirement: openal-soft-devel
- Removed redundant license files
* Thu Jan 26 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-2
- Added DCMAKE_SKIP_RPATH=ON to cmake (fixes rpath error)
- Added more relevant package summaries
- Fixed up the descriptions a bit
- Enabled Linking Support
- Various tweaks
* Thu Jan 26 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-1
- Updated to new upstream version
- Added new WX subpackage for new GUI
- Adding WX requires gui common subpackage to avoid conflicts
- Added DVERSION cmake tag for aesthetic reasons
* Sun Jan 22 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-4
- Added vbam-common package to avoid conflicts with common files
- Added ImageMagick build dep, as cmake checks for it
- Building now uses cmake macro
- Turned off building shared libs
- Removed unnecessary lines
- Fixed debuginfo-without-sources issue
* Sun Jan 22 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-3
- Fixed SPM summary
- Cleaned up SPEC for easier reading
* Sun Jan 8 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-2
- Fixed up spec file
- Split into two packages: sdl, gtk
* Sun Dec 18 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-1
- Initial package SPEC created

View file

@ -1 +1 @@
SHA512 (visualboyadvance-m-2.1.4.tar.gz) = 9070715797c6be1648661019f236eb9328eb409f52e80e15aac52d814cf4155cf1ea37c230557c1288f152f0d27d838b11bee38679787a8d5198ca81f173d896
SHA512 (visualboyadvance-m-2.2.2.tar.gz) = 1568a31ff3b06f44202f71f56b42bd734b87da58bdd8e521f8b3ab919da56441a10588460733f823108b5532d3b39f1d05a9f5b0956b4ada36c87e8433b31954

View file

@ -1,26 +1,19 @@
%undefine _hardened_build
#Needed for bundled SFML
%undefine _cmake_shared_libs
%global shortname vbam
#Upstream git tag/commit:
%global upstreamtag 2.1.4
#Sanitized RC name (for fedora)
#global rctagfedora git78cd223
#RC Version that appears in app
#global rcversion Beta3-07032017
Name: visualboyadvance-m
Version: %{upstreamtag}
Release: 3%{?rctagfedora:.%{rctagfedora}}%{?dist}
Version: 2.2.2
Release: %autorelease
Summary: High compatibility Gameboy Advance Emulator combining VBA builds
License: GPLv2
Url: http://www.vba-m.com
Source0: https://github.com/%{name}/%{name}/archive/v%{upstreamtag}.tar.gz#/%{name}-%{version}%{?rctagfedora:-%{rctagfedora}}.tar.gz
#Upstream patch:
#https://github.com/visualboyadvance-m/visualboyadvance-m/commit/af0de1c4b308ef8d9a081ecf407805b75a99d877
Patch0: 0001-xbrz-fix-inline-asm-check.patch
#https://github.com/visualboyadvance-m/visualboyadvance-m/commit/410ede543c98c8c6dd89c25484da3bffb46f4187
Patch1: 0001-Check-for-null-pointer-in-soundReset.patch
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
Url: https://github.com/visualboyadvance-m/visualboyadvance-m
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cairo-devel
@ -32,8 +25,8 @@ BuildRequires: mesa-libGL-devel
BuildRequires: nasm
BuildRequires: openal-soft-devel
BuildRequires: SDL2-devel
BuildRequires: SFML-devel
BuildRequires: wxGTK3-devel
#BuildRequires: SFML-devel
BuildRequires: wxGTK-devel
BuildRequires: zlib-devel
BuildRequires: zip
@ -44,6 +37,12 @@ BuildRequires: libappstream-glib
Requires: hicolor-icon-theme
#TODO remove when SFML is updated in fedora
Provides: bundled(SFML) = 3.1.0
# 32bit package serves very little purpose, s390x has build issues:
ExcludeArch: %{ix86} s390x
#Using info from here: http://vba-m.com/about.html and debian files
%description
VisualBoyAdvance-M is a Nintendo Game Boy Emulator with high compatibility with
@ -64,41 +63,47 @@ variants. VBA-M is a continued development of the now inactive VisualBoy
Advance project, with many improvements from various developments of VBA.
%prep
%autosetup -p1 -n %{name}-%{upstreamtag}
%autosetup -p1 -n %{name}-%{version}
sed -i 's/ -mtune=generic//g' CMakeLists.txt
#Some odd permission issues:
chmod -x src/wx/rpi.h
#TODO Remove bundled sfml when updated in fedora to 3.0
#rm -rf third_party/sfml
#sed -i "/third_party\/sfml/d" CMakeLists.txt
#sed -i "s|[./]*third_party/sfml/include/||" \
# src/core/gba/gbaLink.cpp src/core/gba/internal/gbaSockClient.h
%build
%cmake . \
%cmake \
-DCMAKE_SKIP_RPATH=ON \
-DVERSION="%{version}%{?rcversion: %{rcversion}}" \
-DVERSION="%{version}" \
-DVERSION_RELEASE=TRUE \
-DENABLE_SDL=ON \
-DENABLE_WX=ON \
-DENABLE_FFMPEG=OFF \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-DENABLE_LINK=ON
%make_build
%cmake_build
%install
%make_install
%cmake_install
%find_lang wx%{shortname}
%check
desktop-file-validate \
%{buildroot}%{_datadir}/applications/wx%{shortname}.desktop
%{buildroot}%{_datadir}/applications/%{name}.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/appdata/*.appdata.xml
%{buildroot}/%{_datadir}/metainfo/%{name}.metainfo.xml
%files -f wx%{shortname}.lang
%license doc/gpl.txt doc/License.txt
%doc doc/ips.htm
%{_mandir}/man6/%{name}.*
%{_bindir}/%{name}
%{_datadir}/applications/wx%{shortname}.desktop
%{_datadir}/appdata/wx%{shortname}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.metainfo.xml
%{_datadir}/%{shortname}
%{_datadir}/icons/hicolor/*/apps/%{shortname}.*
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%files sdl
%doc doc/ReadMe.SDL.txt
@ -108,199 +113,4 @@ appstream-util validate-relax --nonet \
%{_bindir}/%{shortname}
%changelog
* Wed Mar 11 2020 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-3
- Fix RHBZ#1776006
* Fri Mar 6 2020 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-2
- Fix non x86 arches (backported a patch from upstream)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 11 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-1
- Update to v2.1.4
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 23 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.3-1
- Update to v2.1.3
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Sep 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.0-2
- Actually use 2.1.0 sources
- Add performance patch for xserver
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.0-1
- Update to v2.1.0
* Thu Mar 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.2-1
- Update to v2.0.2
- Cleanup old rpmfusion provides
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-1.1
- Remove obsolete scriptlets
* Mon Dec 11 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.1-1
- Update to v2.0.1
- Cleanup
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.18.git78cd223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.17.git78cd223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Mar 16 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.16.git78cd223
- Update to new git snapshot
* Sun Mar 05 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.15.git7b85964
- Update to new git snapshot
* Sun Mar 05 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.14.waylandplus
- Update to new version
- Add patch for SDL issues
- Fix incorrect bug tracker link
* Mon Feb 20 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.13.git6a7d494
- Update to git snapshot, fixes many issues
- Drop wayland and openal fixes (better fixes have been upstreamed)
- Better workaround patch for sound syncing issue
* Wed Feb 15 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.12.Beta3
- Rebuilt for SFML 2.4
* Sat Feb 11 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.11.Beta3
- Added missing obsoletes for vbam-common (from rpmfusion)
- Tweaking openal patch
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.10.Beta3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jan 30 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.9.Beta3
- Fix dynamic loading of openal library if openal-soft-devel is not installed
* Sun Jan 29 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.8.Beta3
- Add patch to fix wayland drawing
- Remove launcher to force xwayland
* Thu Jan 19 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.7.Beta3
- Force X11/xwayland, rendering issues exist on Wayland
- Enable cairo to fix wx segfaults on xwayland
* Thu Jan 19 2017 Dan Horák <dan[at]danny.cz> - 2.0.0-0.6.Beta3
- Don't override distro-wide -mtune option
* Wed Jan 18 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.5.Beta3
- Added fix for armv7hl and pcc
* Fri Dec 30 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.4.Beta3
- Added missing desktop scriptlet for f24
- Added missing build requires
- Missing hicolor-icon-theme require
- Use sysconfdir macro in spec
* Wed Dec 21 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.3.Beta3
- Update to beta 3
- Dropping GTK, upstream no longer supports this
- Change packagename visualboyadvance-m to reflect upstream
- Various tweaks
* Sat Dec 10 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.2.beta2
- Added patch to fix audio syncing issues
- Added fixes for linux data files
* Fri Dec 9 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.0.0-0.1.beta2
- Update to 2.0.0 beta 2
- Re-enable wx GUI
- Rename common subpackage to data
- Added appdata
- Build Require cleanup
* Thu Jul 7 2016 Hans de Goede <j.w.r.degoede@gmail.com> - 1.8.0.1229-3
- Fix building with gcc6 / fix FTBFS
* Mon Jan 12 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1229-2
- Fix typo in desktop file
* Sat Apr 5 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1229-1
- Update to latest "release" version
* Mon Nov 18 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-3
- Update patch for SFML, thanks to Hans de Goede
* Sun Nov 17 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-2
- Added patch for SFML
* Sun Nov 17 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1228-1
- Updated to new snapshot version
* Fri Mar 1 2013 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1159-1
- Updated to new upstream version
- Fixed some spec date typos
* Mon Dec 10 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1149-1
- Updated to new upstream version
- FFMpeg dep removed due to only needed by wx and now disabled by default
* Thu Jul 5 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1097-1
- Updated to new upstream version
- Disabling WX because its not supported
- Removed extra sources as they are now included
- Removed FFMPEG fix
- Moved ips.htm doc file into common to avoid duplicates
- Various cleanup
* Wed Mar 28 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-6
- Added man pages
* Tue Feb 14 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-5
- Added Zip as a dependancy
* Tue Feb 14 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-4
- Changed building commands to avoid failed builds
* Sun Jan 29 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-3
- Added missing Build Requirement: openal-soft-devel
- Removed redundant license files
* Thu Jan 26 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-2
- Added DCMAKE_SKIP_RPATH=ON to cmake (fixes rpath error)
- Added more relevant package summaries
- Fixed up the descriptions a bit
- Enabled Linking Support
- Various tweaks
* Thu Jan 26 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1054-1
- Updated to new upstream version
- Added new WX subpackage for new GUI
- Adding WX requires gui common subpackage to avoid conflicts
- Added DVERSION cmake tag for aesthetic reasons
* Sun Jan 22 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-4
- Added vbam-common package to avoid conflicts with common files
- Added ImageMagick build dep, as cmake checks for it
- Building now uses cmake macro
- Turned off building shared libs
- Removed unnecessary lines
- Fixed debuginfo-without-sources issue
* Sun Jan 22 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-3
- Fixed SPM summary
- Cleaned up SPEC for easier reading
* Sun Jan 8 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-2
- Fixed up spec file
- Split into two packages: sdl, gtk
* Sun Dec 18 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 1.8.0.1001-1
- Initial package SPEC created
%autochangelog