FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
sdl20 Cross-platform multimedia development API
2.0.5 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port

There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 16 Mar 2013 21:07:36
License: ZLIB
This library is designed to make it easy to write games that run on UNIX,
Win32, MacOS X and other platforms using the various native high-performance
media interfaces (for video, audio, etc) and presenting a single source-code
level API to your application. This is a fairly low level API, but using this,
completely portable applications can be written with a great deal of
flexibility.

WWW: http://www.libsdl.org/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/sdl20/ && make install clean
To add the package: pkg install sdl2

PKGNAME: sdl2

ONLY_FOR_ARCHS: nil

NOT_FOR_ARCHS: nil

distinfo:

TIMESTAMP = 1477121043
SHA256 (SDL2-2.0.5.tar.gz) = 442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785
SIZE (SDL2-2.0.5.tar.gz) = 4209352


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake
  2. pkgconf>=0.9.10 : devel/pkgconf
  3. libGL>0 : graphics/libGL
  4. glproto.pc : x11/glproto
  5. dri2proto.pc : x11/dri2proto
  6. xinerama.pc : x11/libXinerama
  7. xcursor.pc : x11/libXcursor
  8. xi.pc : x11/libXi
  9. xrandr.pc : x11/libXrandr
  10. xscrnsaver.pc : x11/libXScrnSaver
  11. xxf86vm.pc : x11/libXxf86vm
  12. xext.pc : x11/libXext
Runtime dependencies:
  1. libGL>0 : graphics/libGL
  2. xinerama.pc : x11/libXinerama
  3. xcursor.pc : x11/libXcursor
  4. xi.pc : x11/libXi
  5. xrandr.pc : x11/libXrandr
  6. xscrnsaver.pc : x11/libXScrnSaver
  7. xxf86vm.pc : x11/libXxf86vm
  8. xext.pc : x11/libXext
Library dependencies:
  1. libiconv.so : converters/libiconv

This port is required by:

for Build
  1. audio/libgroove
  2. audio/sdl2_mixer
  3. devel/love
  4. devel/ponscripter-sekai
  5. devel/py-game_sdl2
  6. devel/py-sdl2
  7. devel/renpy
  8. Expand this list (85 items)
  9. devel/sdl2pp
  10. emulators/citra
  11. emulators/dolphin-emu
  12. emulators/joytran
  13. emulators/mame
  14. emulators/mess
  15. emulators/mupen64plus-audio-sdl
  16. emulators/mupen64plus-core
  17. emulators/mupen64plus-input-sdl
  18. emulators/mupen64plus-rsp-hle
  19. emulators/mupen64plus-ui-console
  20. emulators/mupen64plus-video-glide64
  21. emulators/mupen64plus-video-glide64mk2
  22. emulators/mupen64plus-video-rice
  23. emulators/mupen64plus-video-z64
  24. emulators/nestopia
  25. emulators/ppsspp
  26. emulators/ppsspp-devel*
  27. emulators/ppsspp-qt4
  28. emulators/ppsspp-qt5
  29. emulators/snes9x-gtk
  30. emulators/stella
  31. emulators/vice
  32. games/0ad
  33. games/3omns
  34. games/7kaa
  35. games/abbayedesmorts
  36. games/aquaria
  37. games/blobby
  38. games/blobwars
  39. games/chromium-bsu
  40. games/corsix-th
  41. games/darkplaces
  42. games/dhewm3
  43. games/doomsday
  44. games/easyrpg-player
  45. games/eduke32
  46. games/endless-sky
  47. games/gemrb
  48. games/gigalomania
  49. games/hoverboard-sdl
  50. games/instead
  51. games/ioquake3-devel
  52. games/iortcw
  53. games/manaplus
  54. games/megaglest
  55. games/naev
  56. games/neverball
  57. games/openbor
  58. games/openmw
  59. games/openomf
  60. games/openra
  61. games/openspades
  62. games/pioneer
  63. games/retroarch
  64. games/scummvm
  65. games/solarus
  66. games/solarus-quest-editor
  67. games/spring
  68. games/starfighter
  69. games/stonesoup-sdl
  70. games/supertux-devel*
  71. games/supertux2
  72. games/tesseract
  73. games/tome4
  74. games/warzone2100
  75. games/wxlauncher
  76. games/zdoom
  77. graphics/blender
  78. graphics/imv
  79. graphics/sdl2_gfx
  80. graphics/sdl2_image
  81. graphics/sdl2_ttf
  82. multimedia/kodi
  83. multimedia/smpeg2
  84. net/sdl2_net
  85. sysutils/logstalgia
  86. x11/antimicro
  87. Collapse this list.
for Libraries
  1. audio/libgroove
  2. audio/sdl2_mixer
  3. devel/love
  4. devel/ponscripter-sekai
  5. devel/py-game_sdl2
  6. devel/py-sdl2
  7. devel/renpy
  8. Expand this list (85 items)
  9. devel/sdl2pp
  10. emulators/citra
  11. emulators/dolphin-emu
  12. emulators/joytran
  13. emulators/mame
  14. emulators/mess
  15. emulators/mupen64plus-audio-sdl
  16. emulators/mupen64plus-core
  17. emulators/mupen64plus-input-sdl
  18. emulators/mupen64plus-rsp-hle
  19. emulators/mupen64plus-ui-console
  20. emulators/mupen64plus-video-glide64
  21. emulators/mupen64plus-video-glide64mk2
  22. emulators/mupen64plus-video-rice
  23. emulators/mupen64plus-video-z64
  24. emulators/nestopia
  25. emulators/ppsspp
  26. emulators/ppsspp-devel*
  27. emulators/ppsspp-qt4
  28. emulators/ppsspp-qt5
  29. emulators/snes9x-gtk
  30. emulators/stella
  31. emulators/vice
  32. games/0ad
  33. games/3omns
  34. games/7kaa
  35. games/abbayedesmorts
  36. games/aquaria
  37. games/blobby
  38. games/blobwars
  39. games/chromium-bsu
  40. games/corsix-th
  41. games/darkplaces
  42. games/dhewm3
  43. games/doomsday
  44. games/easyrpg-player
  45. games/eduke32
  46. games/endless-sky
  47. games/gemrb
  48. games/gigalomania
  49. games/hoverboard-sdl
  50. games/instead
  51. games/ioquake3-devel
  52. games/iortcw
  53. games/manaplus
  54. games/megaglest
  55. games/naev
  56. games/neverball
  57. games/openbor
  58. games/openmw
  59. games/openomf
  60. games/openra
  61. games/openspades
  62. games/pioneer
  63. games/retroarch
  64. games/scummvm
  65. games/solarus
  66. games/solarus-quest-editor
  67. games/spring
  68. games/starfighter
  69. games/stonesoup-sdl
  70. games/supertux-devel*
  71. games/supertux2
  72. games/tesseract
  73. games/tome4
  74. games/warzone2100
  75. games/wxlauncher
  76. games/zdoom
  77. graphics/blender
  78. graphics/imv
  79. graphics/sdl2_gfx
  80. graphics/sdl2_image
  81. graphics/sdl2_ttf
  82. multimedia/kodi
  83. multimedia/smpeg2
  84. net/sdl2_net
  85. sysutils/logstalgia
  86. x11/antimicro
  87. Collapse this list.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for sdl2-2.0.5:
     ALSA=off: Audio output via the ALSA audio architecture
     ASM=on: Use optimized assembly code
     DLOPEN=on: Use dlopen for loading 3rd party libraries
     ESOUND=off: Audio output via the EsounD sound server
     NAS=off: Audio output via the Network Audio System
     OSS=on: Audio output via the Open Sound System
     PTHREADS=on: Use POSIX threads for multi-threading
     PULSEAUDIO=off: Audio output via the PulseAudio sound server
     SDL_ATOMIC=on: Enable the SDL Atomic subsystem
     SDL_AUDIO=on: Enable the SDL Audio subsystem
     SDL_CPUINFO=on: Enable the SDL CPUinfo subsystem
     SDL_EVENTS=on: Enable the SDL Events subsystem
     SDL_FILE=on: Enable the SDL File subsystem
     SDL_HAPTIC=on: Enable the SDL Haptic subsystem
     SDL_JOYSTICK=on: Enable the SDL Joystick subsystem
     SDL_LOADSO=on: Enable the SDL Loadso subsystem
     SDL_POWER=on: Enable the SDL Power subsystem
     SDL_RENDER=on: Enable the SDL Render subsystem
     SDL_THREADS=on: Enable the SDL Threads subsystem
     SDL_TIMERS=on: Enable the SDL Timers subsystem
     SDL_VIDEO=on: Enable the SDL Video subsystem
     SNDIO=off: Sndio audio support
     VIDEO_OPENGL=on: OpenGL rendering support
     VIDEO_X11=on: X11 rendering support
===> Use 'make config' to modify these settings

USES:
gmake iconv libtool localbase:ldflags pathfix pkgconfig

Master Sites:
  1. http://www.libsdl.org/release/

Number of commits found: 32

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
22 Jan 2017 22:27:55
Original commit files touched by this commit  2.0.5
Revision:432169
rene search for other commits by this committer
Reset mva@'s ports, he handed in his ports bit.
13 Nov 2016 09:21:23
Original commit files touched by this commit  2.0.5
Revision:426014
mva search for other commits by this committer
- Update to version 2.0.5
20 Oct 2016 09:03:58
Original commit files touched by this commit  2.0.4
Revision:424312
amdmi3 search for other commits by this committer
- Verbosify build

Approved by:	portmgr blanket
30 Sep 2016 19:24:30
Original commit files touched by this commit  2.0.4
Revision:423014
tijl search for other commits by this committer
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
26 Aug 2016 13:39:48
Original commit files touched by this commit  2.0.4
Revision:420918
pi search for other commits by this committer
devel/sdl20: Add option to enable sndio support

- This adds support for building with the sndio audio output (audio/sndio).

PR:		211663
Submitted by:	Tobias Kortkamp <t@tobik.me>
Approved by:	mva (maintainer timeout)
06 Apr 2016 15:01:13
Original commit files touched by this commit  2.0.4
Revision:412624
amdmi3 search for other commits by this committer
- Update sdl20 and satellite libraries to latest versions

sdl2: 2.0.3 -> 2.0.4
sdl2_image: 2.0.0 -> 2.0.1
sdl2_mixer: 2.0.0 -> 2.0.1
sdl2_net: 2.0.0 -> 2.0.1
sdl2_ttf: 2.0.12 -> 2.0.14

- Add LICENSE_FILE
- Strip libraries
- Switch to USES=localbase where applicable

PR:		207671
Submitted by:	devnexen@gmail.com, amdmi3
Approved by:	maintainer timeout (mva, 1 month)
Exp-run by:	antoine
01 Apr 2016 14:00:57
Original commit files touched by this commit  2.0.3_6
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 13:12:47
Original commit files touched by this commit  2.0.3_6
Revision:412340
amdmi3 search for other commits by this committer
- Fix typos

PR:		207112
Submitted by:	mikael.urankar@gmail.com
Approved by:	maintainer timeout (mva, 1.5 months)
10 Oct 2015 14:03:01
Original commit files touched by this commit  2.0.3_6
Revision:398996
tijl search for other commits by this committer
Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.

These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
14 Jun 2015 09:33:30
Original commit files touched by this commit  2.0.3_6
Revision:389620
mva search for other commits by this committer
- Fix 3Dnow (_m_prefetch) support for clang

PR:		194861
Reported by:	Dmitry Luhtionov (dmitryluhtionov@gmail.com)
Submitted by:	tijl
24 May 2015 16:48:41
Original commit files touched by this commit  2.0.3_5
Revision:387283
tijl search for other commits by this committer
Replace MMX and SSE options with CPU autodetection such that they aren't
enabled by default on i386.

PR:		198738
Approved by:	maintainer timeout (2 weeks)
15 Apr 2015 08:20:28
Original commit files touched by this commit  2.0.3_4
Revision:384038
tijl search for other commits by this committer
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 11:07:20
Original commit files touched by this commit  2.0.3_3
Revision:371552
bapt search for other commits by this committer
Cleanup plist
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.0.3_3
Revision:367888
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
03 Jul 2014 18:23:56
Original commit files touched by this commit  2.0.3_2
Revision:360443
amdmi3 search for other commits by this committer
- Drop .la files, no dependees require them

Approved by:	portmgr blanket
30 May 2014 14:16:38
Original commit files touched by this commit  2.0.3_1
Revision:355845
tijl search for other commits by this committer
USES=libtool:keepla.
05 Apr 2014 16:33:35
Original commit files touched by this commit  2.0.3
Revision:350245
mva search for other commits by this committer
- Update to version 2.0.3

Changelog: https://hg.libsdl.org/SDL/file/704a0bfecf75/WhatsNew.txt
17 Nov 2013 12:33:49
Original commit files touched by this commit  2.0.1_1
Revision:334079
mva search for other commits by this committer
- Switch devel/sdl20 to use the autotools-based configuration, since the
  cmake-based one is not maintained that well
- Fix library naming to ensure backwards compatibility on minor version
  changes
- Bump the PORTREVISION on ports depending on devel/sdl20, since its
  shared library name changed

PR:		ports/183975
Submitted by:	Jan Kokemuller <jan.kokemueller@gmail.com>
13 Nov 2013 22:26:18
Original commit files touched by this commit  2.0.1_1
Revision:333731
mva search for other commits by this committer
- Enable posix semaphores support

PR:		ports/182137
Submitted by:	Jan Beich <jbeich@tormail.org>
25 Oct 2013 16:15:37
Original commit files touched by this commit  2.0.1
Revision:331607
mva search for other commits by this committer
- Update devel/sdl20 to version 2.0.1
- Bump PORTREVISIONs for SDL2-related ports to chase the changed SDL2
  shlib version
- Enable staging support for the SDL2 ports
- Switch to new LIB_DEPENDS format for the SDL2 ports
- Add LICENSE to the SDL2 ports
- Use gmake USES for the SDL2 ports
22 Sep 2013 09:16:46
Original commit files touched by this commit  2.0.0_1
Revision:327856
mva search for other commits by this committer
- fix the include directory lists for proper usage in sdl2-config and
  sdl2.pc

Reported by:	Vitaly Magerya <vmagerya@gmail.com>
20 Sep 2013 17:17:45
Original commit files touched by this commit  2.0.0
Revision:327726
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4)
28 Aug 2013 18:29:39
Original commit files touched by this commit  2.0.0
Revision:325547
itetcu search for other commits by this committer
Arts was removed:
 audio/arts||2013-07-26|Has expired: Depends on Qt 3.x
So remove the last leftovers.

Approved by:	portmgr (itetcu)
14 Aug 2013 22:35:54
Original commit files touched by this commit  2.0.0
Revision:324744  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
14 Aug 2013 17:23:36
Original commit files touched by this commit  2.0.0
Revision:324741
mva search for other commits by this committer
SDL2 has been officially released.

- Update devel/sdl20, audio/sdl2_mixer, graphics/sdl2_image,
  graphics/sdl2_ttf and net/sdl2_net to version 2.0.0
06 Jul 2013 10:24:18
Original commit files touched by this commit  2.0.p7353
Revision:322377
mva search for other commits by this committer
- Update to revision 7353
06 Jun 2013 09:32:17
Original commit files touched by this commit  2.0.p7291
Revision:320065
mva search for other commits by this committer
- Update to revision 7291
20 May 2013 08:31:43
Original commit files touched by this commit  2.0.p7192
Revision:318582
mva search for other commits by this committer
- Update to revision 7192
27 Apr 2013 08:50:47
Original commit files touched by this commit  2.0.p7046
Revision:316654
mva search for other commits by this committer
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
25 Apr 2013 20:19:15
Original commit files touched by this commit  2.0.p7046
Revision:316531
mva search for other commits by this committer
- Update to revision 7046
22 Mar 2013 20:06:15
Original commit files touched by this commit  2.0.p6940
Revision:314960
makc search for other commits by this committer
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
16 Mar 2013 21:07:19
Original commit files touched by this commit  2.0.p6940
Revision:314384
mva search for other commits by this committer
This library is designed to make it easy to write games that run on UNIX,
Win32, MacOS X and other platforms using the various native high-performance
media interfaces (for video, audio, etc) and presenting a single source-code
level API to your application. This is a fairly low level API, but using this,
completely portable applications can be written with a great deal of
flexibility.

WWW: http://www.libsdl.org/

Number of commits found: 32

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
musicpdFeb 26
curlFeb 22
linux-c6-openssl*Feb 22
linux-c6-openssl*Feb 22
linux-c7-openssl*Feb 22
linux-c7-openssl*Feb 22
openssl*Feb 22
openssl*Feb 22
openssl-devel*Feb 22
openssl-devel*Feb 22
xen-toolsFeb 22
fbsdmonFeb 21
libevent*Feb 20
wavpackFeb 18
openssl-develFeb 16

12 vulnerabilities affecting 25 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 28213
Broken 279
Deprecated 125
Ignore 545
Forbidden 1
Restricted 205
No CDROM 83
Vulnerable 85
Expired 13
Set to expire 115
Interactive 0
new 24 hours 4
new 48 hours5
new 7 days38
new fortnight233
new month375

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.