commit | author | age
|
2bb74d
|
1 |
# |
AL |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2016 Aurelien Larcher |
|
13 |
# |
|
14 |
|
|
15 |
include ../../../make-rules/shared-macros.mk |
|
16 |
|
|
17 |
COMPONENT_NAME= libraw |
|
18 |
COMPONENT_VERSION= 0.17.2 |
56cfb2
|
19 |
COMPONENT_REVISION= 3 |
2bb74d
|
20 |
COMPONENT_SUMMARY= libraw - library for reading RAW files obtained from digital photo cameras |
AL |
21 |
COMPONENT_PROJECT_URL= http://www.libraw.org/ |
|
22 |
COMPONENT_FMRI= image/library/libraw |
|
23 |
COMPONENT_CLASSIFICATION= System/Multimedia Libraries |
|
24 |
COMPONENT_SRC_NAME= LibRaw |
|
25 |
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
|
26 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
27 |
COMPONENT_ARCHIVE_URL= http://www.libraw.org/data/$(COMPONENT_ARCHIVE) |
|
28 |
COMPONENT_ARCHIVE_HASH= \ |
|
29 |
sha256:92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c |
|
30 |
COMPONENT_LICENSE= CDDLv1.0,LGPLv2.1 |
|
31 |
COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license |
|
32 |
|
|
33 |
include $(WS_MAKE_RULES)/prep.mk |
|
34 |
include $(WS_MAKE_RULES)/configure.mk |
|
35 |
include $(WS_MAKE_RULES)/ips.mk |
|
36 |
|
76022b
|
37 |
# Use default libjpeg |
AL |
38 |
CXXFLAGS+= $(JPEG_CPPFLAGS) |
|
39 |
CXXFLAGS+= $(JPEG_CXXFLAGS) |
|
40 |
CONFIGURE_ENV+= LDFLAGS="$(JPEG_LDFLAGS)" |
|
41 |
CONFIGURE_ENV+= LIBS="$(JPEG_LDFLAGS)" |
2bb74d
|
42 |
|
AL |
43 |
CONFIGURE_OPTIONS+= --disable-static |
|
44 |
CONFIGURE_OPTIONS+= --enable-jpeg |
|
45 |
CONFIGURE_OPTIONS+= --enable-jasper |
|
46 |
CONFIGURE_OPTIONS+= --enable-lcms |
|
47 |
CONFIGURE_OPTIONS+= --disable-demosaic-pack-gpl2 |
|
48 |
CONFIGURE_OPTIONS+= --disable-demosaic-pack-gpl3 |
|
49 |
|
|
50 |
build: $(BUILD_32_and_64) |
|
51 |
|
|
52 |
install: $(INSTALL_32_and_64) |
|
53 |
|
|
54 |
test: $(NO_TESTS) |
|
55 |
|
|
56 |
REQUIRED_PACKAGES += codec/jasper |
|
57 |
REQUIRED_PACKAGES += image/library/libjpeg8-turbo |
|
58 |
REQUIRED_PACKAGES += library/lcms2 |
|
59 |
REQUIRED_PACKAGES += system/library |
|
60 |
REQUIRED_PACKAGES += system/library/g++-4-runtime |
213660
|
61 |
REQUIRED_PACKAGES += system/library/gcc-6-runtime |
2bb74d
|
62 |
REQUIRED_PACKAGES += system/library/math |