sthen 8e5d6906cb Security update to SDL2_image-2.0.3, from Thomas Frohwein (taking maintainer)
Also (from me): regen patches and set SDL2 pkgspec as it now depends on 2.0.8+
2018-03-11 22:42:00 +00:00

38 lines
874 B
Makefile

# $OpenBSD: Makefile,v 1.9 2018/03/11 22:42:00 sthen Exp $
V = 2.0.3
COMMENT = SDL2 image library
DISTNAME = SDL2_image-${V}
PKGNAME = sdl2-image-${V}
CATEGORIES = devel graphics
SHARED_LIBS += SDL2_image 0.1 # 0.3
HOMEPAGE = https://www.libsdl.org/projects/SDL_image/
MAINTAINER = Thomas Frohwein <frohwein@ymail.com>
# zlib
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://www.libsdl.org/projects/SDL_image/release/
WANTLIB += SDL2 jpeg m png pthread sndio tiff usbhid webp z samplerate
LIB_DEPENDS = devel/sdl2>=2.0.8 \
graphics/jpeg \
graphics/libwebp \
graphics/png \
graphics/tiff
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --disable-jpg-shared \
--disable-png-shared \
--disable-tif-shared \
--disable-webp-shared
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
OBJC="${CC}"
.include <bsd.port.mk>