public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/visualboyadvance-m] rawhide: Unbundle SFML3
@ 2026-11-18 17:34 Jeremy Newton
  0 siblings, 0 replies; only message in thread
From: Jeremy Newton @ 2026-11-18 17:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/visualboyadvance-m
            Branch : rawhide
            Commit : 1397ab550af88f753df2768ec4dd5948e830d05c
            Author : Jeremy Newton <alexjnewt@hotmail.com>
            Date   : 2026-11-18T12:33:10-05:00
            Stats  : +6/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/visualboyadvance-m/c/1397ab550af88f753df2768ec4dd5948e830d05c?branch=rawhide

            Log:
            Unbundle SFML3

Signed-off-by: Jeremy Newton <alexjnewt@hotmail.com>

---
diff --git a/visualboyadvance-m.spec b/visualboyadvance-m.spec
index 5d4b712..f298932 100644
--- a/visualboyadvance-m.spec
+++ b/visualboyadvance-m.spec
@@ -1,6 +1,4 @@
 %undefine _hardened_build
-#Needed for bundled SFML
-%undefine _cmake_shared_libs
 
 %global shortname vbam
 
@@ -25,7 +23,7 @@ BuildRequires:  mesa-libGL-devel
 BuildRequires:  nasm
 BuildRequires:  openal-soft-devel
 BuildRequires:  SDL2-devel
-#BuildRequires:  SFML-devel
+BuildRequires:  SFML-devel >= 3.0.0
 BuildRequires:  wxGTK-devel
 BuildRequires:  zlib-devel
 BuildRequires:  zip
@@ -37,9 +35,6 @@ 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
 
@@ -67,11 +62,11 @@ Advance project, with many improvements from various developments of VBA.
 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
+#Remove bundled sfml
+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 \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 17:34 [rpms/visualboyadvance-m] rawhide: Unbundle SFML3 Jeremy Newton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox