blob: 100aef8c926880dedad1cbab974139f2119c88f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.26 2017/08/16 20:21:09 wiz Exp $
DISTNAME= LibRaw-0.17.2
PKGNAME= ${DISTNAME:tl}
CATEGORIES= graphics
MASTER_SITES= https://www.libraw.org/data/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.libraw.org/
COMMENT= Raw decoding/processing library
LICENSE= gnu-lgpl-v2.1 OR cddl-1.0
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
CONFIGURE_ARGS+= --disable-demosaic-pack-gpl2
CONFIGURE_ARGS+= --disable-demosaic-pack-gpl3
PKGCONFIG_OVERRIDE+= libraw.pc.in
PKGCONFIG_OVERRIDE+= libraw_r.pc.in
# jasper uses SIZE_MAX and friends in its headers.
CPPFLAGS+= -D__STDC_LIMIT_MACROS
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|