mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
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/
This commit is contained in:
parent
f4edb1b634
commit
922be491a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333713
@ -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
|
||||
|
@ -948,6 +948,7 @@
|
||||
SUBDIR += scr2png
|
||||
SUBDIR += scrot
|
||||
SUBDIR += scwm-icons
|
||||
SUBDIR += sdl2_gfx
|
||||
SUBDIR += sdl2_image
|
||||
SUBDIR += sdl2_ttf
|
||||
SUBDIR += sdl_gfx
|
||||
|
33
graphics/sdl2_gfx/Makefile
Normal file
33
graphics/sdl2_gfx/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# Created by: ijliao
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sdl2_gfx
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
|
||||
MASTER_SITE_SUBDIR= SDL2_gfx
|
||||
DISTNAME= SDL2_gfx-${PORTVERSION}
|
||||
|
||||
MAINTAINER= mva@FreeBSD.org
|
||||
COMMENT= SDL graphics drawing primitives and other support functions
|
||||
|
||||
LICENSE= ZLIB
|
||||
|
||||
USES= pathfix gmake
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_SDL= sdl2
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= MMX
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMMX}
|
||||
CONFIGURE_ARGS+=--enable-mmx
|
||||
CFLAGS+= -DUSE_MMX
|
||||
.else
|
||||
CONFIGURE_ARGS=--disable-mmx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/sdl2_gfx/distinfo
Normal file
2
graphics/sdl2_gfx/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (SDL2_gfx-1.0.0.tar.gz) = 9843924d46eacbabba685a239cf2284b948766a20ef2caa48cb18462a3295caf
|
||||
SIZE (SDL2_gfx-1.0.0.tar.gz) = 1081660
|
12
graphics/sdl2_gfx/pkg-descr
Normal file
12
graphics/sdl2_gfx/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
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/
|
9
graphics/sdl2_gfx/pkg-plist
Normal file
9
graphics/sdl2_gfx/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
include/SDL2/SDL2_framerate.h
|
||||
include/SDL2/SDL2_gfxPrimitives.h
|
||||
include/SDL2/SDL2_imageFilter.h
|
||||
include/SDL2/SDL2_rotozoom.h
|
||||
lib/libSDL2_gfx-1.0.so
|
||||
lib/libSDL2_gfx-1.0.so.0
|
||||
lib/libSDL2_gfx.a
|
||||
lib/libSDL2_gfx.la
|
||||
lib/libSDL2_gfx.so
|
Loading…
Reference in New Issue
Block a user