diff options
author | mva <mva@FreeBSD.org> | 2013-11-14 02:15:08 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2013-11-14 02:15:08 +0800 |
commit | bb264b77d7c67262a36bd293814b3f88125bd982 (patch) | |
tree | 61fb74f82569c0610c6eb1cc85a0633422eb99d0 /Mk | |
parent | 7ebe11ada9548cdf7f7249f8e0ac29b0d06d46f4 (diff) | |
download | freebsd-ports-gnome-bb264b77d7c67262a36bd293814b3f88125bd982.tar.gz freebsd-ports-gnome-bb264b77d7c67262a36bd293814b3f88125bd982.tar.zst freebsd-ports-gnome-bb264b77d7c67262a36bd293814b3f88125bd982.zip |
Version two of the SDL2_gfx library, compatible with SDL2.0.
This also adds a new USE_SDL=gfx2 variable to add SDL2_gfx as
LIB_DEPENDS other ports.
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided
basic drawing routines such as lines, circles or polygons and SDL_rotozoom
which implemented a interpolating rotozoomer for SDL surfaces.
The current components of the SDL_gfx library are:
- Graphic Primitives (SDL_gfxPrimitves.h)
- Rotozoomer (SDL_rotozoom.h)
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
WWW: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sdl.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.sdl.mk b/Mk/bsd.sdl.mk index 7a714f63914b..4b64fa9bf841 100644 --- a/Mk/bsd.sdl.mk +++ b/Mk/bsd.sdl.mk @@ -41,7 +41,7 @@ _USE_SDL_ALL= console gfx image mixer mm net pango sdl sound ttf # # These are the current supported SDL2 modules # -_USE_SDL_ALL+= image2 mixer2 net2 sdl2 ttf2 +_USE_SDL_ALL+= gfx2 image2 mixer2 net2 sdl2 ttf2 # # Variables used to determine what is needed: @@ -101,6 +101,11 @@ _PORTDIR_ttf= sdl_ttf _LIB_ttf= SDL_ttf-2.0 _REQUIRES_ttf= sdl +_SUBDIR_gfx2= graphics +_PORTDIR_gfx2= sdl2_gfx +_LIB_gfx2= SDL2_gfx +_REQUIRES_gfx2= sdl2 + _SUBDIR_image2= graphics _PORTDIR_image2= sdl2_image _LIB_image2= SDL2_image |