summaryrefslogtreecommitdiff
path: root/media-libs/libsfml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-24 19:24:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-24 19:24:56 +0000
commitd4653056cc74d97f24bef0d56b4ebe11c53c8b76 (patch)
tree5d4be0715302fad2089468027fadaa0372afd1d1 /media-libs/libsfml
parent575bcb9220287a6f0d2577db1fd9fe55d9d8b745 (diff)
gentoo auto-resync : 24:02:2025 - 19:24:56
Diffstat (limited to 'media-libs/libsfml')
-rw-r--r--media-libs/libsfml/Manifest6
-rw-r--r--media-libs/libsfml/files/libsfml-2.5.1-clang-16-auto_ptr.patch50
-rw-r--r--media-libs/libsfml/files/libsfml-2.5.1-musl-1.2.3-nullptr.patch14
-rw-r--r--media-libs/libsfml/libsfml-2.5.1-r2.ebuild75
-rw-r--r--media-libs/libsfml/libsfml-2.6.0.ebuild74
5 files changed, 0 insertions, 219 deletions
diff --git a/media-libs/libsfml/Manifest b/media-libs/libsfml/Manifest
index 38761cfe8277..2136bdaaea9d 100644
--- a/media-libs/libsfml/Manifest
+++ b/media-libs/libsfml/Manifest
@@ -1,12 +1,6 @@
-AUX libsfml-2.5.1-clang-16-auto_ptr.patch 2070 BLAKE2B e443d1a19b89de878da4bc65f4b0fe70d9109f249b97efdbd6c12f14acb0bb10be39b986fab42b49cd2fe98bfd4fe230c7b6931ecaf4bf883f67ff873e00aa88 SHA512 30d8fe083c1243c7f418f291cd6fd7eeec95ae5670d75f8453059b1e93befb97b1290b1620a21768e975397abe9336169cf1ff8525f19517f4782d3e9b329085
-AUX libsfml-2.5.1-musl-1.2.3-nullptr.patch 626 BLAKE2B dac65018937df6088b5f44f57678b6acde4f67a4f03180428374f26c7248181058185bce053bb79fdd4d4044c6369740daed5db95f803965d2b15a3250bedd1c SHA512 76535c8d01f21cc32df1c66ba1567356737a9c14b73be1c03606305f905d31a615759054b60fbf3347a57d3b24ab9b3978c96f898262000fe4c58af697b7dac7
AUX libsfml-2.6.0-supress-werror.patch 1618 BLAKE2B af0be020c1548bb793c332be85aed9c4ccffcab813bdce0ceeabe82605a5dfd5a1d0b3bd7d72dfa87e2b63d231c002d9ea547ee4545598f732dc555e187fc56b SHA512 7ac826330fe277ba479522e777dd980e357843795a78a3c21009693c8c9d5350a699e2134a1349c4d219496dd2bf99ff7e3c3d92b8cbd59808c2a1ff9ba18413
-DIST libsfml-2.5.1.tar.gz 22868556 BLAKE2B b6c70b75a778ffeb141438153fb1e5693c3e92e277919b8f8befe98f55dfd519a67c86504bb5656961b947fcf60758b16a18d5a4ae7585c7c5256f327529ae31 SHA512 7aed2fc29d1da98e6c4d598d5c86cf536cb4eb5c2079cdc23bb8e502288833c052579dadbe0ce13ad6461792d959bf6d9660229f54c54cf90a541c88c6b03d59
-DIST libsfml-2.6.0.tar.gz 25493305 BLAKE2B 205db3aa9fa197dbc29c8b3a74c09651fb9ca8e60bf18e385b8ecfa350d85b31ab33b6d2e61b6cdcfdc3caf77a8af37cbe97445e871b6e688359b320a12a3cea SHA512 aac734e8b0e16936c0238ec792c922923545ec6cf06576bc70004fa1920cd05b4c5e56fbc8a77b650bbe6e202adc39df1d30509dbce95778d04338917a38a87a
DIST libsfml-2.6.1.tar.gz 25499153 BLAKE2B 0e4251d7aade5a596e9d0afdaa86d843fb5ba3ca63fc4f9dccb2e7db70aa8ae253af30dba68d57dd6869a6142818575e6fd843005a6e54fe186b20b573ad8f63 SHA512 b376d3b00277ed60d107fe1268c210749b3aafcee618a8f924b181a9b476e92b9cb9baddecf70a8913b5910c471d53ea0260a876ad7b2db2b98b944d9f508714
DIST libsfml-2.6.2.tar.gz 28624288 BLAKE2B 52442ef05a2719c1e7cd45ba15a4a41af7f3026c7c3a01c55993769bde39c9426962d640ffa2ac293dd4d90b9290b5f0895fffe7c10d3ffadbc189b10001c7ff SHA512 d8a8bee3aa9acda4609104c2a9d4a2512e4be6d6e85fd4b24c287c03f60cfb888e669e61bfac4113dae35f0c3492559b65b3453baf38766d8c0223d9ab77aada
-EBUILD libsfml-2.5.1-r2.ebuild 1533 BLAKE2B 1aed471d3d5d6090d1fed261ba85335c294648eb5d727f5d440842ba038479eb13b46a7be5549851407ea0ace87c4e15266c4700c686804cdae5511e7c858d0d SHA512 d5f281d020e0e006a64c0c72442bbf415bab26315f819d0828967514711b71844e50748bdecd20ef93e38c5059df7f7b802de5b54b218367613b610694dc810b
-EBUILD libsfml-2.6.0.ebuild 1535 BLAKE2B bd71c06068cb95b3dab8164120b24d546f397933b4654851edb2e50d9ea2c1551e3972b57eb48af786dbe7cbc4cd8f1179d9f977af6b0e603bb1d12b58f6dbbe SHA512 27a71be7c35fdcae83b9ca92c6eec35a87a0e8fef02839fd4edf3bb3c055692517fc7e8a7c813f01e741b05ecc798b3cb81597b2206c824c42233ed8fb1411b4
EBUILD libsfml-2.6.1.ebuild 1535 BLAKE2B bd71c06068cb95b3dab8164120b24d546f397933b4654851edb2e50d9ea2c1551e3972b57eb48af786dbe7cbc4cd8f1179d9f977af6b0e603bb1d12b58f6dbbe SHA512 27a71be7c35fdcae83b9ca92c6eec35a87a0e8fef02839fd4edf3bb3c055692517fc7e8a7c813f01e741b05ecc798b3cb81597b2206c824c42233ed8fb1411b4
EBUILD libsfml-2.6.2.ebuild 1539 BLAKE2B 9ed6ffd729666923b520b647a7c9c1bca43d967a6bd454daf446077d0d27d733ebd3af718bf6872ab84467cee7f37a94138abd302875a3db4b94baea289f0429 SHA512 8b4a14f8327a67a1eca34992d62fc1a894d6d4bf0864a50b7e1dbe89b37e9a31f33e99f3f22fda5cd1b4dd50d2773cbdf7c118a6019710b22b1d4465220e1a4c
MISC metadata.xml 733 BLAKE2B c5b2bf1cea8b01c89531f68544f8b82dc3f8b8e26327ec868cf2ce1beabd6b1b0e977ad4a5dd3cdcbe3ae0fd66930f0c411023d77f9c4a5f7464d90209fa6f6d SHA512 ffb4954d9d55f0ab147c8ef2d5e970ef728b0dd1ad78f04aac16346583a9b858d3861f6f3bfe0940ca4b41c23abf8904bf3e0160d347d9e007efa047e663ccda
diff --git a/media-libs/libsfml/files/libsfml-2.5.1-clang-16-auto_ptr.patch b/media-libs/libsfml/files/libsfml-2.5.1-clang-16-auto_ptr.patch
deleted file mode 100644
index ba4f90e4c465..000000000000
--- a/media-libs/libsfml/files/libsfml-2.5.1-clang-16-auto_ptr.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://github.com/SFML/SFML/commit/bf92efe9a4035fee0258386173d53556aa196e49
-Bug: https://bugs.gentoo.org/910519
-From: Tobias Widlund <widlundtobias@gmail.com>
-Date: Fri, 18 Jan 2019 14:12:14 +0100
-Subject: [PATCH] Remove usages of std::auto_ptr to get rid of warnings when
- building with gcc 8.2+
-
---- a/src/SFML/Audio/AudioDevice.cpp
-+++ b/src/SFML/Audio/AudioDevice.cpp
-@@ -29,7 +29,7 @@
- #include <SFML/Audio/ALCheck.hpp>
- #include <SFML/Audio/Listener.hpp>
- #include <SFML/System/Err.hpp>
--#include <memory>
-+#include <vector>
-
-
- namespace
-@@ -107,9 +107,13 @@ bool AudioDevice::isExtensionSupported(const std::string& extension)
- // This device will not be used in this function and merely
- // makes sure there is a valid OpenAL device for extension
- // queries if none has been created yet.
-- std::auto_ptr<AudioDevice> device;
-+ //
-+ // Using an std::vector for this since auto_ptr is deprecated
-+ // and we have no better STL facility for dynamically allocating
-+ // a temporary instance with strong exception guarantee.
-+ std::vector<AudioDevice> device;
- if (!audioDevice)
-- device.reset(new AudioDevice);
-+ device.resize(1);
-
- if ((extension.length() > 2) && (extension.substr(0, 3) == "ALC"))
- return alcIsExtensionPresent(audioDevice, extension.c_str()) != AL_FALSE;
-@@ -125,9 +129,13 @@ int AudioDevice::getFormatFromChannelCount(unsigned int channelCount)
- // This device will not be used in this function and merely
- // makes sure there is a valid OpenAL device for format
- // queries if none has been created yet.
-- std::auto_ptr<AudioDevice> device;
-+ //
-+ // Using an std::vector for this since auto_ptr is deprecated
-+ // and we have no better STL facility for dynamically allocating
-+ // a temporary instance with strong exception guarantee.
-+ std::vector<AudioDevice> device;
- if (!audioDevice)
-- device.reset(new AudioDevice);
-+ device.resize(1);
-
- // Find the good format according to the number of channels
- int format = 0;
diff --git a/media-libs/libsfml/files/libsfml-2.5.1-musl-1.2.3-nullptr.patch b/media-libs/libsfml/files/libsfml-2.5.1-musl-1.2.3-nullptr.patch
deleted file mode 100644
index dc26ba285e17..000000000000
--- a/media-libs/libsfml/files/libsfml-2.5.1-musl-1.2.3-nullptr.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/839639
-https://github.com/SFML/SFML/commit/c9f7cb3d525a995912fc62507802f3f265de2728.patch
-https://git.alpinelinux.org/aports/plain/community/sfml/musl-1.2.3.patch
---- a/src/SFML/Window/Unix/WindowImplX11.cpp
-+++ b/src/SFML/Window/Unix/WindowImplX11.cpp
-@@ -1556,7 +1556,7 @@
- m_window,
- XNInputStyle,
- XIMPreeditNothing | XIMStatusNothing,
-- reinterpret_cast<void*>(NULL));
-+ reinterpret_cast<void*>(0));
- }
- else
- {
diff --git a/media-libs/libsfml/libsfml-2.5.1-r2.ebuild b/media-libs/libsfml/libsfml-2.5.1-r2.ebuild
deleted file mode 100644
index e74ecee4c85c..000000000000
--- a/media-libs/libsfml/libsfml-2.5.1-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Simple and Fast Multimedia Library (SFML)"
-HOMEPAGE="https://www.sfml-dev.org/ https://github.com/SFML/SFML"
-SRC_URI="https://github.com/SFML/SFML/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
-IUSE="debug doc examples"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/freetype:2
- media-libs/libjpeg-turbo:=
- media-libs/libpng:=
- media-libs/libogg
- media-libs/libvorbis
- media-libs/openal
- sys-libs/zlib
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXrandr
- x11-libs/libxcb
- x11-libs/xcb-util-image
- kernel_linux? ( virtual/libudev:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- doc? ( app-text/doxygen )
-"
-
-DOCS=( changelog.md readme.md )
-
-S="${WORKDIR}/SFML-${PV}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-musl-1.2.3-nullptr.patch
- "${FILESDIR}"/${P}-clang-16-auto_ptr.patch
-)
-
-src_prepare() {
- sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \
- doc/CMakeLists.txt || die
-
- find examples -name CMakeLists.txt -delete || die
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DSFML_BUILD_DOC=$(usex doc)
- -DSFML_INSTALL_PKGCONFIG_FILES=TRUE
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- insinto /usr/share/cmake/Modules
- doins cmake/SFMLConfig.cmake.in
- doins cmake/SFMLConfigDependencies.cmake.in
-
- if use examples ; then
- docompress -x /usr/share/doc/${PF}/examples
- dodoc -r examples
- fi
-}
diff --git a/media-libs/libsfml/libsfml-2.6.0.ebuild b/media-libs/libsfml/libsfml-2.6.0.ebuild
deleted file mode 100644
index 7427b45b2650..000000000000
--- a/media-libs/libsfml/libsfml-2.6.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Simple and Fast Multimedia Library (SFML)"
-HOMEPAGE="https://www.sfml-dev.org/ https://github.com/SFML/SFML"
-SRC_URI="https://github.com/SFML/SFML/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
-IUSE="debug doc examples"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/freetype:2
- media-libs/libjpeg-turbo:=
- media-libs/libogg
- media-libs/libpng:=
- media-libs/libvorbis
- media-libs/openal
- sys-libs/zlib
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXrandr
- x11-libs/libxcb
- x11-libs/xcb-util-image
- kernel_linux? ( virtual/libudev:= )
-"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-BDEPEND="
- doc? ( app-text/doxygen )
-"
-
-DOCS=( changelog.md readme.md )
-
-PATCHES=( "${FILESDIR}"/libsfml-2.6.0-supress-werror.patch )
-
-S="${WORKDIR}/SFML-${PV}"
-
-src_prepare() {
- sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \
- doc/CMakeLists.txt || die
-
- find examples -name CMakeLists.txt -delete || die
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DSFML_BUILD_DOC=$(usex doc)
- -DSFML_INSTALL_PKGCONFIG_FILES=TRUE
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- insinto /usr/share/cmake/Modules
- doins cmake/SFMLConfig.cmake.in
- doins cmake/SFMLConfigDependencies.cmake.in
-
- if use examples ; then
- docompress -x /usr/share/doc/${PF}/examples
- dodoc -r examples
- fi
-}