12234093cf
*** *** Version 1.7.1 *** *** Daniel Kolesa (1): Fix big endian build Kim Woelders (6): rend.c: Fix __imlib_generic_render() when jump != 0 grab.c: Support 30bpp display in __imlib_GrabXImageToRGBA() WEBP loader: Add initial signature check XPM loader: Get transparency right when doing header-only loading Silence a couple of sign-compare warnings 1.7.1
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.81 2021/01/24 15:15:46 nia Exp $
|
|
|
|
DISTNAME= imlib2-1.7.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://docs.enlightenment.org/api/imlib2/html/
|
|
COMMENT= Image manipulation library
|
|
LICENSE= mit # with some modifications
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
|
|
PKGCONFIG_OVERRIDE= imlib2.pc.in
|
|
|
|
LIBS.SunOS+= -lm
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OBJECT_FMT} == "SOM"
|
|
SHLIB_SUFFIX= sl
|
|
.else
|
|
SHLIB_SUFFIX= so
|
|
.endif
|
|
|
|
.if ${SHLIB_SUFFIX} != so
|
|
SUBST_CLASSES+= shlib
|
|
SUBST_STAGE.shlib= pre-configure
|
|
SUBST_MESSAGE.shlib= Replacing shared library suffix
|
|
SUBST_FILES.shlib+= src/lib/image.c
|
|
SUBST_SED.shlib+= -e 's,"\.so",".${SHLIB_SUFFIX}",'
|
|
.endif
|
|
|
|
SUBST_CLASSES+= rpath
|
|
SUBST_STAGE.rpath= pre-configure
|
|
SUBST_MESSAGE.rpath= Replacing COMPILER_RPATH_FLAG
|
|
SUBST_FILES.rpath= imlib2-config.in
|
|
SUBST_VARS.rpath= COMPILER_RPATH_FLAG
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|