Skip to content

Commit 6d4c965

Browse files
DarkSSbmwiedemann
authored andcommitted
Update sfml3 to version 3.0.2 / rev 1 via SR 1313852
https://build.opensuse.org/request/show/1313852 by user DarkSS + anag_factory - Prevented build failure via minimal gcc version. - Fixed conflict of sfml3-devel to pass installcheck.
1 parent 364186a commit 6d4c965

6 files changed

Lines changed: 131 additions & 0 deletions

File tree

packages/s/sfml3/.files

160 Bytes
Binary file not shown.

packages/s/sfml3/.meta

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<package name="sfml3" project="openSUSE:Factory">
2+
<title></title>
3+
<description>SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.</description>
4+
</package>

packages/s/sfml3/.rev

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<revisionlist>
2+
<revision rev="1" vrev="1">
3+
<srcmd5>1f2741a96db2c8b0d6a290dd3ac5c6a2</srcmd5>
4+
<version>3.0.2</version>
5+
<time>1761659146</time>
6+
<user>anag_factory</user>
7+
<comment>- Prevented build failure via minimal gcc version.
8+
- Fixed conflict of sfml3-devel to pass installcheck.</comment>
9+
<requestid>1313852</requestid>
10+
</revision>
11+
</revisionlist>

packages/s/sfml3/3.0.2.tar.gz

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/ipfs/bafybeieqoynumz754hld5ftt4cl2s7ezjobdanvno3czd5ru7mtmefjz6i

packages/s/sfml3/sfml3.changes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-------------------------------------------------------------------
2+
Mon Oct 27 13:21:15 UTC 2025 - Dmitriy Perlow <dap.darkness@gmail.com>
3+
4+
- Prevented build failure via minimal gcc version.
5+
- Fixed conflict of sfml3-devel to pass installcheck.
6+
7+
-------------------------------------------------------------------
8+
Sat Oct 4 01:19:28 UTC 2025 - Patrick Poitras <patrick.f.poitras@gmail.com>
9+
10+
- Create package for SFML3

packages/s/sfml3/sfml3.spec

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
#
2+
# spec file for package sfml3
3+
#
4+
# Copyright (c) 2025 SUSE LLC
5+
#
6+
# All modifications and additions to the file contributed by third parties
7+
# remain the property of their copyright owners, unless otherwise agreed
8+
# upon. The license for this file, and modifications and additions to the
9+
# file, is the same license as for the pristine package itself (unless the
10+
# license for the pristine package is not an Open Source License, in which
11+
# case the license is the MIT License). An "Open Source License" is a
12+
# license that conforms to the Open Source Definition (Version 1.9)
13+
# published by the Open Source Initiative.
14+
15+
# Please submit bugfixes or comments via https://bugs.opensuse.org/
16+
#
17+
%define so_ver -3_0
18+
Name: sfml3
19+
Version: 3.0.2
20+
Summary: SFML is a simple, fast, cross-platform and object-oriented multimedia API.
21+
Release: 0
22+
Source0: https://github.com/SFML/SFML/archive/refs/tags/3.0.2.tar.gz
23+
License: Zlib
24+
BuildRequires: cmake
25+
BuildRequires: doxygen
26+
BuildRequires: fdupes
27+
BuildRequires: gcc-c++ >= 9
28+
BuildRequires: libXi-devel
29+
BuildRequires: pkgconfig
30+
BuildRequires: pkgconfig(flac)
31+
BuildRequires: pkgconfig(freetype2)
32+
BuildRequires: pkgconfig(gl)
33+
BuildRequires: pkgconfig(glu)
34+
BuildRequires: pkgconfig(libudev)
35+
BuildRequires: pkgconfig(ogg)
36+
BuildRequires: pkgconfig(openal)
37+
BuildRequires: pkgconfig(vorbis)
38+
BuildRequires: pkgconfig(vorbisenc)
39+
BuildRequires: pkgconfig(vorbisfile)
40+
BuildRequires: pkgconfig(x11)
41+
BuildRequires: pkgconfig(xcursor)
42+
BuildRequires: pkgconfig(xrandr)
43+
BuildRequires: pkgconfig(pthread-stubs)
44+
45+
%description
46+
SFML is a simple, fast, cross-platform and object-oriented multimedia API.
47+
It provides access to windowing, graphics, audio and network.
48+
It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
49+
50+
%package -n lib%{name}%{so_ver}
51+
Summary: Free multimedia C++ API
52+
Group: System/Libraries
53+
54+
%description -n lib%{name}%{so_ver}
55+
SFML is a multimedia API that provides access to graphics, input,
56+
audio, etc., and may be seen as an object-oriented alternative to
57+
SDL. It can be used as a minimal windowing system to interface with
58+
OpenGL, or as a multimedia library for building games and interactive
59+
programs.
60+
61+
%package devel
62+
Summary: SFML development files
63+
Group: Development/Libraries/C and C++
64+
Requires: lib%{name}%{so_ver} = %{version}
65+
Requires: pkgconfig(gl)
66+
# Conflict with other SFML versions (same include files)
67+
Conflicts: sfml-devel
68+
Conflicts: sfml2-devel
69+
70+
%description devel
71+
SFML is a C++ multimedia API that provides a low and high-level
72+
access to graphics, input, audio, etc., and may be seen as an
73+
object-oriented alternative to SDL. SFML can be used as a minimal
74+
windowing system to interface with OpenGL, or as a multimedia library
75+
for building games or interactive programs.
76+
77+
This subpackage provides the header files needed to build SFML
78+
programs.
79+
80+
%prep
81+
%setup -q -n SFML-%{version}
82+
83+
%build
84+
%cmake -DSFML_INSTALL_PKGCONFIG_FILES=TRUE \
85+
-DCMAKE_BUILD_TYPE=RelWithDebInfo
86+
%cmake_build
87+
88+
%install
89+
%cmake_install
90+
91+
%post -n lib%{name}%{so_ver} -p /sbin/ldconfig
92+
%postun -n lib%{name}%{so_ver} -p /sbin/ldconfig
93+
94+
%files -n lib%{name}%{so_ver}
95+
%license license.md
96+
%{_libdir}/libsfml-*.so.*
97+
98+
%files devel
99+
%{_includedir}/SFML
100+
%{_libdir}/libsfml-*.so
101+
%{_libdir}/pkgconfig/sfml-*.pc
102+
%{_libdir}/cmake/SFML
103+
%{_docdir}/*
104+
105+
%changelog

0 commit comments

Comments
 (0)