graphics/sdl2_image 2.8.12_1 FreeBSD
Simple library to load images of various formats as SDL surfaces
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
fc57321249- License
- ZLIB
- Categories
- graphics
- Package size
- 68.3 KiB, 207.9 KiB installed
Description
This is a simple library to load images of various formats as SDL surfaces. It can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on build options
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/sdl2_image | 2.8.12_1 |
| DragonFly | graphics/sdl2_image | 2.8.8 |
| MidnightBSD | graphics/sdl2_image | 2.0.5_1 |
Install
Binary package:
pkg install sdl2_image
From the ports tree:
cd /usr/ports/graphics/sdl2_image/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl2_image>0:graphics/sdl2_image
LIB_DEPENDS= libSDL2_image-2.0.so:graphics/sdl2_image
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.8.12_1 | 2.8.12_1 | - | 2.8.8 | 2.8.12_1 |
| FreeBSD:14:quarterly | 2.8.12_1 | 2.8.12_1 | n/a | 2.8.8 | 2.8.12_1 |
| FreeBSD:15:latest | 2.8.12_1 | 2.8.12_1 | n/a | 2.8.8 | 2.8.8 |
| FreeBSD:15:quarterly | 2.8.12_1 | 2.8.12_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.8.12_1 | 2.8.12_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 86
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/cmake-core
- devel/gettext-runtime
- devel/glib20
- devel/highway
- devel/icu
- devel/jsoncpp
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libunistring
- devel/libuv
- devel/llvm12
- devel/ninja
- devel/pcre2
- devel/py-packaging
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- dns/libidn2
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libglvnd
- graphics/libjxl
- graphics/libyuv
- graphics/mesa-libs
- graphics/openexr
- graphics/openjph
- graphics/png
- graphics/spirv-tools
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/webp
- lang/gcc14
- lang/perl5.42
- lang/python312
- lang/python315
- math/Imath
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXcursor
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxkbcommon
- x11/libxshmfence
- x11/xkeyboard-config
- x11/xorgproto
Run dependencies 78
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/gettext-runtime
- devel/glib20
- devel/highway
- devel/icu
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/llvm12
- devel/pcre2
- devel/py-packaging
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libglvnd
- graphics/libjxl
- graphics/libyuv
- graphics/mesa-libs
- graphics/openexr
- graphics/openjph
- graphics/png
- graphics/spirv-tools
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/webp
- lang/gcc14
- lang/perl5.42
- lang/python312
- lang/python315
- math/Imath
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- print/indexinfo
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXcursor
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxkbcommon
- x11/libxshmfence
- x11/xkeyboard-config
- x11/xorgproto
Required by 122
- astro/mepo
- audio/klystrack
- devel/fifechan
- devel/flatzebra
- devel/py-game
- devel/py-pysdl2
- devel/sdl2pp
- emulators/aranym
- emulators/dosbox-staging
- emulators/emu64
- emulators/fbneo
- emulators/py-m64py
- emulators/vt100
- games/3omns
- games/abbayedesmorts
- games/afternoonstalker
- games/alephone
- games/alephone-data
- games/alephone-scenarios
- games/assaultcube
- games/barony
- games/blobwars
- games/blockattack
- games/brogue
- games/burgerspace
- games/catesc
- games/cdogs-sdl
- games/chromium-bsu
- games/colobot
- games/cosmosmash
- games/devilutionX
- games/domino-chain
- games/dreamchess
- games/dxx-rebirth
- games/el
- games/endgame-singularity
- games/enigma
- games/flare-engine
- games/flare-game
- games/freesynd
- games/fretsonfire
- games/funnyboat
- games/gigalomania
- games/glob2
- games/griels-quest
- games/hedgewars
- games/hoverboard-sdl
- games/hypatia_engine
- games/iceicepenguin
- games/instead
- games/krank
- games/lander
- games/lbreakouthd
- games/legend-of-edgar
- games/lincity-ng
- games/loderunner-ng
- games/meandmyshadow
- games/minerbold
- games/mirrormagic
- games/monsterz
- games/narcissu2
- games/nxengine
- games/openage
- games/openclaw
- games/openspades
- games/pathological
- games/pinball
- games/pioneer
- games/pipewalker
- games/ponscripter-07th-mod
- games/py-fife
- games/pysolfc
- games/pysolfc-cardsets
- games/pyspacewar
- games/redeclipse
- games/redeclipse16
- games/rocksndiamonds
- games/sauerbraten
- games/sdlpop
- games/solarus
- games/solarus-quest-editor
- games/solver
- games/starfighter
- games/stratagus
- games/supertux2
- games/tesseract
- games/tome4
- games/tome4-beta
- games/toppler
- games/trackballs
- games/trigger-rally
- games/tuxpaint
- games/tuxpaint-config
- games/tuxpaint-fonts
- games/tuxpaint-stamps
- games/unknown-horizons
- games/vcmi
- games/vectoroids
- games/voadi
- games/wargus
The first 100 are listed.
Configuration
Options name: graphics_sdl2_image
| Option | Default | Description |
|---|---|---|
| AVIF | on | AV1 Image File Format via libavif |
| JPEG | on | JPEG image format support |
| JXL | on | JPEG XL image format via libjxl |
| PNG | on | PNG image format support |
| TEST | off | Build and/or run tests |
| TIFF | on | TIFF image format support |
| WEBP | on | WebP image format support |
- USES
- cmake sdl
- Service scripts
- none
Files
pkg-plist 12
- include/SDL2/SDL_image.h
- lib/cmake/SDL2_image/Findlibjxl.cmake
- lib/cmake/SDL2_image/Findwebp.cmake
- lib/cmake/SDL2_image/SDL2_image-shared-targets-.cmake
- lib/cmake/SDL2_image/SDL2_image-shared-targets.cmake
- lib/cmake/SDL2_image/SDL2_imageConfig.cmake
- lib/cmake/SDL2_image/SDL2_imageConfigVersion.cmake
- lib/libSDL2_image-2.0.so
- lib/libSDL2_image-2.0.so.0
- lib/libSDL2_image-2.0.so.
- lib/libSDL2_image.so
- libdata/pkgconfig/SDL2_image.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libsdl-org-SDL_image-release-2.8.12_GH0.tar.gz | 6.925513e+06 | 26f07b431d09a9fb2cd759268030a1c34de44328d17f2a304f0612703a0d8cab |