Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia Added SFML-2.5.1 from pkgsrc-wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9a55260b639
branches:  trunk
changeset: 432315:f9a55260b639
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Thu May 21 08:42:00 2020 +0000

description:
Added SFML-2.5.1 from pkgsrc-wip

SFML is a free multimedia C++ API that provides you low and high level access to
graphics, input, audio, etc.

This package contains the C++ language bindings of SFML.

diffstat:

 multimedia/Makefile                                                    |    3 +-
 multimedia/sfml/DESCR                                                  |    4 +
 multimedia/sfml/Makefile                                               |   37 ++
 multimedia/sfml/PLIST                                                  |  136 ++++++++++
 multimedia/sfml/buildlink3.mk                                          |   21 +
 multimedia/sfml/distinfo                                               |   22 +
 multimedia/sfml/options.mk                                             |   19 +
 multimedia/sfml/patches/patch-CMakeLists.txt                           |   24 +
 multimedia/sfml/patches/patch-cmake_Config.cmake                       |   28 ++
 multimedia/sfml/patches/patch-include_SFML_Config.hpp                  |   18 +
 multimedia/sfml/patches/patch-include_SFML_OpenGL.hpp                  |   15 +
 multimedia/sfml/patches/patch-include_SFML_Window_WindowHandle.hpp     |   15 +
 multimedia/sfml/patches/patch-src_SFML_System_CMakeLists.txt           |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_CMakeLists.txt           |   42 +++
 multimedia/sfml/patches/patch-src_SFML_Window_ClipboardImpl.hpp        |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_CursorImpl.hpp           |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_FreeBSD_JoystickImpl.cpp |   23 +
 multimedia/sfml/patches/patch-src_SFML_Window_FreeBSD_JoystickImpl.hpp |   16 +
 multimedia/sfml/patches/patch-src_SFML_Window_GlContext.cpp            |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_InputImpl.hpp            |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_JoystickImpl.hpp         |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_SensorImpl.hpp           |   15 +
 multimedia/sfml/patches/patch-src_SFML_Window_WindowImpl.cpp           |   15 +
 23 files changed, 542 insertions(+), 1 deletions(-)

diffs (truncated from 645 to 300 lines):

diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/Makefile
--- a/multimedia/Makefile       Thu May 21 07:56:37 2020 +0000
+++ b/multimedia/Makefile       Thu May 21 08:42:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.301 2020/04/23 17:16:40 nia Exp $
+# $NetBSD: Makefile,v 1.302 2020/05/21 08:42:00 plunky Exp $
 #
 
 COMMENT=       Multimedia utilities
@@ -189,6 +189,7 @@
 SUBDIR+=       ruby-gstreamer
 SUBDIR+=       ruby-ming
 SUBDIR+=       schroedinger
+SUBDIR+=       sfml
 SUBDIR+=       sickgear
 SUBDIR+=       smpeg
 SUBDIR+=       smpeg2
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/DESCR     Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,4 @@
+SFML is a free multimedia C++ API that provides you low and high level access to
+graphics, input, audio, etc.
+
+This package contains the C++ language bindings of SFML.
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/Makefile  Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2020/05/21 08:42:00 plunky Exp $
+
+DISTNAME=      SFML-2.5.1-sources
+PKGNAME=       ${DISTNAME:S/-sources//:tl}
+CATEGORIES=    multimedia
+MASTER_SITES=  http://www.sfml-dev.org/files/
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.sfml-dev.org/
+COMMENT=       Free multimedia C++ API
+LICENSE=       zlib
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    rm
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/-sources//}
+
+INSTALLATION_DIRS+=    include/SFML/Audio include/SFML/Graphics
+INSTALLATION_DIRS+=    include/SFML/Network/Unix include/SFML/Network/Win32
+INSTALLATION_DIRS+=    include/SFML/System/Unix include/SFML/System/Win32
+INSTALLATION_DIRS+=    include/SFML/Window lib
+
+.include "options.mk"
+
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/PLIST     Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,136 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/21 08:42:00 plunky Exp $
+include/SFML/Audio.hpp
+include/SFML/Audio/AlResource.hpp
+include/SFML/Audio/Export.hpp
+include/SFML/Audio/InputSoundFile.hpp
+include/SFML/Audio/Listener.hpp
+include/SFML/Audio/Music.hpp
+include/SFML/Audio/OutputSoundFile.hpp
+include/SFML/Audio/Sound.hpp
+include/SFML/Audio/SoundBuffer.hpp
+include/SFML/Audio/SoundBufferRecorder.hpp
+include/SFML/Audio/SoundFileFactory.hpp
+include/SFML/Audio/SoundFileFactory.inl
+include/SFML/Audio/SoundFileReader.hpp
+include/SFML/Audio/SoundFileWriter.hpp
+include/SFML/Audio/SoundRecorder.hpp
+include/SFML/Audio/SoundSource.hpp
+include/SFML/Audio/SoundStream.hpp
+include/SFML/Config.hpp
+include/SFML/GpuPreference.hpp
+include/SFML/Graphics.hpp
+include/SFML/Graphics/BlendMode.hpp
+include/SFML/Graphics/CircleShape.hpp
+include/SFML/Graphics/Color.hpp
+include/SFML/Graphics/ConvexShape.hpp
+include/SFML/Graphics/Drawable.hpp
+include/SFML/Graphics/Export.hpp
+include/SFML/Graphics/Font.hpp
+include/SFML/Graphics/Glsl.hpp
+include/SFML/Graphics/Glsl.inl
+include/SFML/Graphics/Glyph.hpp
+include/SFML/Graphics/Image.hpp
+include/SFML/Graphics/PrimitiveType.hpp
+include/SFML/Graphics/Rect.hpp
+include/SFML/Graphics/Rect.inl
+include/SFML/Graphics/RectangleShape.hpp
+include/SFML/Graphics/RenderStates.hpp
+include/SFML/Graphics/RenderTarget.hpp
+include/SFML/Graphics/RenderTexture.hpp
+include/SFML/Graphics/RenderWindow.hpp
+include/SFML/Graphics/Shader.hpp
+include/SFML/Graphics/Shape.hpp
+include/SFML/Graphics/Sprite.hpp
+include/SFML/Graphics/Text.hpp
+include/SFML/Graphics/Texture.hpp
+include/SFML/Graphics/Transform.hpp
+include/SFML/Graphics/Transformable.hpp
+include/SFML/Graphics/Vertex.hpp
+include/SFML/Graphics/VertexArray.hpp
+include/SFML/Graphics/VertexBuffer.hpp
+include/SFML/Graphics/View.hpp
+include/SFML/Main.hpp
+include/SFML/Network.hpp
+include/SFML/Network/Export.hpp
+include/SFML/Network/Ftp.hpp
+include/SFML/Network/Http.hpp
+include/SFML/Network/IpAddress.hpp
+include/SFML/Network/Packet.hpp
+include/SFML/Network/Socket.hpp
+include/SFML/Network/SocketHandle.hpp
+include/SFML/Network/SocketSelector.hpp
+include/SFML/Network/TcpListener.hpp
+include/SFML/Network/TcpSocket.hpp
+include/SFML/Network/UdpSocket.hpp
+include/SFML/OpenGL.hpp
+include/SFML/System.hpp
+include/SFML/System/Clock.hpp
+include/SFML/System/Err.hpp
+include/SFML/System/Export.hpp
+include/SFML/System/FileInputStream.hpp
+include/SFML/System/InputStream.hpp
+include/SFML/System/Lock.hpp
+include/SFML/System/MemoryInputStream.hpp
+include/SFML/System/Mutex.hpp
+include/SFML/System/NativeActivity.hpp
+include/SFML/System/NonCopyable.hpp
+include/SFML/System/Sleep.hpp
+include/SFML/System/String.hpp
+include/SFML/System/String.inl
+include/SFML/System/Thread.hpp
+include/SFML/System/Thread.inl
+include/SFML/System/ThreadLocal.hpp
+include/SFML/System/ThreadLocalPtr.hpp
+include/SFML/System/ThreadLocalPtr.inl
+include/SFML/System/Time.hpp
+include/SFML/System/Utf.hpp
+include/SFML/System/Utf.inl
+include/SFML/System/Vector2.hpp
+include/SFML/System/Vector2.inl
+include/SFML/System/Vector3.hpp
+include/SFML/System/Vector3.inl
+include/SFML/Window.hpp
+include/SFML/Window/Clipboard.hpp
+include/SFML/Window/Context.hpp
+include/SFML/Window/ContextSettings.hpp
+include/SFML/Window/Cursor.hpp
+include/SFML/Window/Event.hpp
+include/SFML/Window/Export.hpp
+include/SFML/Window/GlResource.hpp
+include/SFML/Window/Joystick.hpp
+include/SFML/Window/Keyboard.hpp
+include/SFML/Window/Mouse.hpp
+include/SFML/Window/Sensor.hpp
+include/SFML/Window/Touch.hpp
+include/SFML/Window/VideoMode.hpp
+include/SFML/Window/Window.hpp
+include/SFML/Window/WindowHandle.hpp
+include/SFML/Window/WindowStyle.hpp
+lib/cmake/SFML/SFMLConfig.cmake
+lib/cmake/SFML/SFMLConfigDependencies.cmake
+lib/cmake/SFML/SFMLConfigVersion.cmake
+lib/cmake/SFML/SFMLSharedTargets-release.cmake
+lib/cmake/SFML/SFMLSharedTargets.cmake
+lib/libsfml-audio.so
+lib/libsfml-audio.so.2.5
+lib/libsfml-audio.so.2.5.1
+lib/libsfml-graphics.so
+lib/libsfml-graphics.so.2.5
+lib/libsfml-graphics.so.2.5.1
+lib/libsfml-network.so
+lib/libsfml-network.so.2.5
+lib/libsfml-network.so.2.5.1
+lib/libsfml-system.so
+lib/libsfml-system.so.2.5
+lib/libsfml-system.so.2.5.1
+lib/libsfml-window.so
+lib/libsfml-window.so.2.5
+lib/libsfml-window.so.2.5.1
+lib/pkgconfig/sfml-all.pc
+lib/pkgconfig/sfml-audio.pc
+lib/pkgconfig/sfml-graphics.pc
+lib/pkgconfig/sfml-network.pc
+lib/pkgconfig/sfml-system.pc
+lib/pkgconfig/sfml-window.pc
+share/SFML/license.md
+share/SFML/readme.md
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/buildlink3.mk     Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/05/21 08:42:00 plunky Exp $
+
+BUILDLINK_TREE+=       sfml
+
+.if !defined(SFML_BUILDLINK3_MK)
+SFML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.sfml+=   sfml>=1.6
+BUILDLINK_PKGSRCDIR.sfml?=     ../../multimedia/sfml
+
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.endif # SFML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -sfml
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/distinfo  Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: distinfo,v 1.1 2020/05/21 08:42:00 plunky Exp $
+
+SHA1 (SFML-2.5.1-sources.zip) = a2d9d8ceed52bcff27d11f21e814b51ba19cd116
+RMD160 (SFML-2.5.1-sources.zip) = 3b137887696a223f0c3576b16bae9f0e3535f16f
+SHA512 (SFML-2.5.1-sources.zip) = 75b4f3076d817388b78aa060fba6a4c67b2cde3393ec6d9dc66052d9770636572e9bfcd6b63fcb5dc7888e00cda2161cd84b55e07d463159da52ac1142d8d1af
+Size (SFML-2.5.1-sources.zip) = 23283095 bytes
+SHA1 (patch-CMakeLists.txt) = 235842ca31da0d886966e90877d705fd8ef0c5d3
+SHA1 (patch-cmake_Config.cmake) = af35cb044c2e6ab052678e97eb8a11cec5e1a5be
+SHA1 (patch-include_SFML_Config.hpp) = 38f37c8a0db031844810f6dcdc057a3778c17d8c
+SHA1 (patch-include_SFML_OpenGL.hpp) = f9e90d2bcdae186f3582720158f6afacc538172e
+SHA1 (patch-include_SFML_Window_WindowHandle.hpp) = 443dbc01e551d50f373d9c0572aefbd306753ff7
+SHA1 (patch-src_SFML_System_CMakeLists.txt) = b4f007c5b4d0334844a05ff342ecd717247472d8
+SHA1 (patch-src_SFML_Window_CMakeLists.txt) = 2d6cafc10d5ff2fc858f32d678165854724d67fe
+SHA1 (patch-src_SFML_Window_ClipboardImpl.hpp) = b201d1c2fe08dbf406105f68e026437fc5af3f1d
+SHA1 (patch-src_SFML_Window_CursorImpl.hpp) = 74cabc7fc2a4a03a76a4f88fe408c1416022d0e2
+SHA1 (patch-src_SFML_Window_FreeBSD_JoystickImpl.cpp) = 0266e719a77b48d7c6728cffa315764e7249d2ba
+SHA1 (patch-src_SFML_Window_FreeBSD_JoystickImpl.hpp) = 53d171b662e4413e2ea30840639b83966ec1c65e
+SHA1 (patch-src_SFML_Window_GlContext.cpp) = c0e87ccba4d8e20e5099106e6642631e98304e4b
+SHA1 (patch-src_SFML_Window_InputImpl.hpp) = 4a3a70632cfa0e792d9e0462d18071da557417a9
+SHA1 (patch-src_SFML_Window_JoystickImpl.hpp) = 3312a5a74085c9645b56d1f44a2b6fa90f373d06
+SHA1 (patch-src_SFML_Window_SensorImpl.hpp) = 4b78c150e5b6f75e29004568fb04151299f9b60e
+SHA1 (patch-src_SFML_Window_WindowImpl.cpp) = 2c53df52107a7a2317c8d3a515f198f491805550
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/options.mk        Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2020/05/21 08:42:00 plunky Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.sfml
+PKG_SUPPORTED_OPTIONS= debug static
+PKG_SUGGESTED_OPTIONS= # blank
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+MAKE_ENV+=             DEBUGBUILD=yes
+.else
+MAKE_ENV+=             DEBUGBUILD=no
+.endif
+
+.if !empty(PKG_OPTIONS:Mstatic)
+MAKE_ENV+=             STATIC=yes
+.else
+MAKE_ENV+=             STATIC=no
+.endif
diff -r 0b2c06f4a62d -r f9a55260b639 multimedia/sfml/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/sfml/patches/patch-CMakeLists.txt      Thu May 21 08:42:00 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/05/21 08:42:00 plunky Exp $
+
+add NetBSD support
+
+--- CMakeLists.txt.orig        2018-10-15 19:41:39.000000000 +0000
++++ CMakeLists.txt
+@@ -140,7 +140,7 @@ endif()
+ # For miscellaneous files
+ if(SFML_OS_WINDOWS OR SFML_OS_IOS)
+     set(DEFAULT_INSTALL_MISC_DIR .)
+-elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD)
++elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_NETBSD OR SFML_OS_OPENBSD)
+     set(DEFAULT_INSTALL_MISC_DIR share/SFML)
+ elseif(SFML_OS_MACOSX)
+     set(DEFAULT_INSTALL_MISC_DIR /usr/local/share/SFML)
+@@ -277,7 +277,7 @@ endif()



Home | Main Index | Thread Index | Old Index