2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Aurelien Larcher
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libraw
18 COMPONENT_VERSION
= 0.21.3
19 COMPONENT_SUMMARY
= libraw
- library for reading RAW files obtained from digital photo cameras
20 COMPONENT_PROJECT_URL
= https
://www.libraw.org
/
21 COMPONENT_SRC_NAME
= LibRaw
22 COMPONENT_SRC
= $(COMPONENT_SRC_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/data
/$(COMPONENT_ARCHIVE
)
25 COMPONENT_ARCHIVE_HASH
= sha256
:dba34b7fc1143503942fa32ad9db43e94f714e62a4a856e91617f8f3e1e0aa5c
26 COMPONENT_FMRI
= image
/library
/libraw
27 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
28 COMPONENT_LICENSE
= CDDLv1.0
,LGPLv2.1
30 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
33 COMPONENT_PREP_ACTION
+= ( cd
$(@D
); autoreconf
-fiv
)
35 CONFIGURE_OPTIONS
+= --disable-static
36 CONFIGURE_OPTIONS
+= --enable-jpeg
37 CONFIGURE_OPTIONS
+= --enable-jasper
38 CONFIGURE_OPTIONS
+= --enable-lcms
40 # Manually added build dependencies
41 REQUIRED_PACKAGES
+= codec
/jasper
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
47 REQUIRED_PACKAGES
+= image
/library
/libjpeg-turbo
48 REQUIRED_PACKAGES
+= library
/lcms2
49 REQUIRED_PACKAGES
+= library
/zlib
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/math