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_1 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>=1.3.0_1 : devel/pkgconf
  3. libGL.so : graphics/mesa-libs
  4. glproto.pc : x11/glproto
  5. dri2proto.pc : x11/dri2proto
  6. dri3proto.pc : x11/dri3proto
  7. xinerama.pc : x11/libXinerama
  8. xcursor.pc : x11/libXcursor
  9. xi.pc : x11/libXi
  10. xrandr.pc : x11/libXrandr
  11. xscrnsaver.pc : x11/libXScrnSaver
  12. xxf86vm.pc : x11/libXxf86vm
  13. xext.pc : x11/libXext
Runtime dependencies:
  1. libGL.so : graphics/mesa-libs
  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/milkytracker
  3. audio/protracker
  4. audio/sdl2_mixer
  5. devel/fifechan
  6. devel/love
  7. devel/ponscripter-sekai
  8. Expand this list (93 items)
  9. devel/py-game_sdl2
  10. devel/py-sdl2
  11. devel/renpy
  12. devel/sdl2pp
  13. emulators/citra
  14. emulators/dolphin-emu
  15. emulators/joytran
  16. emulators/mame
  17. emulators/mess
  18. emulators/mupen64plus-audio-sdl
  19. emulators/mupen64plus-core
  20. emulators/mupen64plus-input-sdl
  21. emulators/mupen64plus-rsp-hle
  22. emulators/mupen64plus-ui-console
  23. emulators/mupen64plus-video-glide64
  24. emulators/mupen64plus-video-glide64mk2
  25. emulators/mupen64plus-video-rice
  26. emulators/mupen64plus-video-z64
  27. emulators/nestopia
  28. emulators/ppsspp
  29. emulators/ppsspp-devel*
  30. emulators/ppsspp-qt4*
  31. emulators/ppsspp-qt5
  32. emulators/snes9x-gtk
  33. emulators/stella
  34. emulators/vice
  35. games/0ad
  36. games/3omns
  37. games/7kaa
  38. games/abbayedesmorts
  39. games/aquaria
  40. games/blobby
  41. games/blobwars
  42. games/chromium-bsu
  43. games/corsix-th
  44. games/darkplaces
  45. games/dhewm3
  46. games/doomsday
  47. games/easyrpg-player
  48. games/eduke32
  49. games/endless-sky
  50. games/gemrb
  51. games/gigalomania
  52. games/hoverboard-sdl
  53. games/instead
  54. games/ioquake3-devel*
  55. games/iortcw
  56. games/manaplus
  57. games/megaglest
  58. games/naev
  59. games/neverball
  60. games/openbor
  61. games/openbor4432
  62. games/openmw
  63. games/openomf
  64. games/openra
  65. games/openspades
  66. games/pioneer
  67. games/py-fife
  68. games/retroarch
  69. games/scummvm
  70. games/solarus
  71. games/solarus-quest-editor
  72. games/spring
  73. games/starfighter
  74. games/stonesoup-sdl
  75. games/supertux-devel*
  76. games/supertux2
  77. games/tesseract
  78. games/tome4
  79. games/trigger-rally
  80. games/warzone2100
  81. games/wxlauncher
  82. games/xonotic
  83. games/zdoom
  84. graphics/blender
  85. graphics/imv
  86. graphics/sdl2_gfx
  87. graphics/sdl2_image
  88. graphics/sdl2_ttf
  89. multimedia/kodi
  90. multimedia/smpeg2
  91. net/sdl2_net
  92. sysutils/logstalgia
  93. x11/antimicro
  94. x11/controllermap
  95. Collapse this list.
for Libraries
  1. audio/libgroove
  2. audio/milkytracker
  3. audio/protracker
  4. audio/sdl2_mixer
  5. devel/fifechan
  6. devel/love
  7. devel/ponscripter-sekai
  8. Expand this list (93 items)
  9. devel/py-game_sdl2
  10. devel/py-sdl2
  11. devel/renpy
  12. devel/sdl2pp
  13. emulators/citra
  14. emulators/dolphin-emu
  15. emulators/joytran
  16. emulators/mame
  17. emulators/mess
  18. emulators/mupen64plus-audio-sdl
  19. emulators/mupen64plus-core
  20. emulators/mupen64plus-input-sdl
  21. emulators/mupen64plus-rsp-hle
  22. emulators/mupen64plus-ui-console
  23. emulators/mupen64plus-video-glide64
  24. emulators/mupen64plus-video-glide64mk2
  25. emulators/mupen64plus-video-rice
  26. emulators/mupen64plus-video-z64
  27. emulators/nestopia
  28. emulators/ppsspp
  29. emulators/ppsspp-devel*
  30. emulators/ppsspp-qt4*
  31. emulators/ppsspp-qt5
  32. emulators/snes9x-gtk
  33. emulators/stella
  34. emulators/vice
  35. games/0ad
  36. games/3omns
  37. games/7kaa
  38. games/abbayedesmorts
  39. games/aquaria
  40. games/blobby
  41. games/blobwars
  42. games/chromium-bsu
  43. games/corsix-th
  44. games/darkplaces
  45. games/dhewm3
  46. games/doomsday
  47. games/easyrpg-player
  48. games/eduke32
  49. games/endless-sky
  50. games/gemrb
  51. games/gigalomania
  52. games/hoverboard-sdl
  53. games/instead
  54. games/ioquake3-devel*
  55. games/iortcw
  56. games/manaplus
  57. games/megaglest
  58. games/naev
  59. games/neverball
  60. games/openbor
  61. games/openbor4432
  62. games/openmw
  63. games/openomf
  64. games/openra
  65. games/openspades
  66. games/pioneer
  67. games/py-fife
  68. games/retroarch
  69. games/scummvm
  70. games/solarus
  71. games/solarus-quest-editor
  72. games/spring
  73. games/starfighter
  74. games/stonesoup-sdl
  75. games/supertux-devel*
  76. games/supertux2
  77. games/tesseract
  78. games/tome4
  79. games/trigger-rally
  80. games/warzone2100
  81. games/wxlauncher
  82. games/xonotic
  83. games/zdoom
  84. graphics/blender
  85. graphics/imv
  86. graphics/sdl2_gfx
  87. graphics/sdl2_image
  88. graphics/sdl2_ttf
  89. multimedia/kodi
  90. multimedia/smpeg2
  91. net/sdl2_net
  92. sysutils/logstalgia
  93. x11/antimicro
  94. x11/controllermap
  95. 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_1:
     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: 33

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
23 May 2017 05:03:16
Original commit files touched by this commit  2.0.5_1
Revision:441503
rezny search for other commits by this committer
Revision bump of all ports with USE_GL after consolidation of mesa-libs

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
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: 33

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
linux-c6-openssl*May 26
linux-c7-openssl*May 26
openssl*May 26
openssl-devel*May 26
vlcMay 26
vlc-qt4May 26
OpenEXRMay 25
samba42May 24
samba43May 24
samba44May 24
samba45May 24
samba46May 24
nvidia-driverMay 23
miniupnpcMay 22
wordpressMay 21

13 vulnerabilities affecting 47 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 29977
Broken 139
Deprecated 75
Ignore 430
Forbidden 0
Restricted 207
No CDROM 84
Vulnerable 142
Expired 37
Set to expire 71
Interactive 0
new 24 hours 7
new 48 hours8
new 7 days57
new fortnight101
new month245

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