commit | author | age
|
6c85b9
|
1 |
# |
AP |
2 |
# This file and its contents are supplied under the terms of the |
|
3 |
# Common Development and Distribution License ("CDDL"), version 1.0. |
|
4 |
# You may only use this file in accordance with the terms of version |
|
5 |
# 1.0 of the CDDL. |
|
6 |
# |
|
7 |
# A full copy of the text of the CDDL should have accompanied this |
|
8 |
# source. A copy of the CDDL is also available via the Internet at |
|
9 |
# http://www.illumos.org/license/CDDL. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2016 Alexander Pyhalov |
d1540c
|
14 |
# Copyright 2022, 2023 Andreas Wacknitz |
6c85b9
|
15 |
# |
AP |
16 |
|
d1540c
|
17 |
OPENSSL_VERSION= 3.1 |
AW |
18 |
USE_DEFAULT_TEST_TRANSFORMS= yes |
6c85b9
|
19 |
include ../../../make-rules/shared-macros.mk |
AP |
20 |
|
950fad
|
21 |
COMPONENT_NAME= cups-filters |
d1540c
|
22 |
COMPONENT_VERSION= 2.0.0 |
be6bfe
|
23 |
COMPONENT_REVISION= 2 |
950fad
|
24 |
COMPONENT_SUMMARY= Additional backends, filters and other software for CUPS |
AW |
25 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
26 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
d1540c
|
27 |
COMPONENT_ARCHIVE_HASH= sha256:b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8 |
950fad
|
28 |
COMPONENT_PROJECT_URL= https://openprinting.github.io/ |
2de11c
|
29 |
COMPONENT_ARCHIVE_URL= https://github.com/OpenPrinting/$(COMPONENT_NAME)/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
950fad
|
30 |
COMPONENT_FMRI= print/$(COMPONENT_NAME) |
AW |
31 |
COMPONENT_CLASSIFICATION= System/Printing |
|
32 |
COMPONENT_LICENSE= GPLv2,GPLv3,LGPLv2,LGPLv2.1 |
6c85b9
|
33 |
COMPONENT_LICENSE_FILE= COPYING |
AP |
34 |
|
950fad
|
35 |
include $(WS_MAKE_RULES)/common.mk |
6c85b9
|
36 |
|
950fad
|
37 |
PATH= $(PATH.gnu) |
AW |
38 |
|
d1540c
|
39 |
COMPONENT_PREP_ACTION += ( cd $(@D) ; PATH=$(PATH.gnu) $(CONFIG_SHELL) autogen.sh ) |
6c85b9
|
40 |
|
AP |
41 |
CPPFLAGS = -D_POSIX_PTHREAD_SEMANTICS |
950fad
|
42 |
CPPFLAGS += -I/usr/include/cups |
6c85b9
|
43 |
|
d1540c
|
44 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
AW |
45 |
COMPONENT_BUILD_ENV += PATH="$(PATH.gnu)" |
|
46 |
COMPONENT_INSTALL_ENV += PATH="$(PATH.gnu)" |
6c85b9
|
47 |
|
AP |
48 |
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
d1540c
|
49 |
CONFIGURE_OPTIONS += --libdir=/usr/lib/cups/$(MACH64) |
AW |
50 |
CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR) |
|
51 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
|
52 |
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
|
53 |
CONFIGURE_OPTIONS += --disable-static |
|
54 |
CONFIGURE_OPTIONS += --disable-mutool |
|
55 |
CONFIGURE_OPTIONS += --enable-poppler |
|
56 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
57 |
CONFIGURE_OPTIONS += --enable-driverless=no |
|
58 |
CONFIGURE_OPTIONS += ENABLE_DRIVERLESS_FALSE="Y" |
6c85b9
|
59 |
|
507d76
|
60 |
# Auto-generated dependencies |
6c85b9
|
61 |
REQUIRED_PACKAGES += library/libpoppler |
AP |
62 |
REQUIRED_PACKAGES += library/print/cups-libs |
|
63 |
REQUIRED_PACKAGES += print/filter/ghostscript |
d1540c
|
64 |
REQUIRED_PACKAGES += print/libcupsfilters |
AW |
65 |
REQUIRED_PACKAGES += print/libppd |
6c85b9
|
66 |
REQUIRED_PACKAGES += print/psutils |
950fad
|
67 |
REQUIRED_PACKAGES += shell/ksh93 |
6c85b9
|
68 |
REQUIRED_PACKAGES += system/library |