python/hypothesis: update to 6.121.0
[oi-userland.git] / components / print / cups-filters / Makefile
blob7e570051948f7e290ed4236209b96222fc688c04
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.
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.
13 # Copyright 2016 Alexander Pyhalov
14 # Copyright 2022, 2023 Andreas Wacknitz
17 USE_DEFAULT_TEST_TRANSFORMS= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= cups-filters
21 COMPONENT_VERSION= 2.0.1
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Additional backends, filters and other software for CUPS
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:39e71de3ce06762b342749f1dc7cba6817738f7bf4d322c1bb9ab10b8569ab80
27 COMPONENT_PROJECT_URL= https://openprinting.github.io/
28 COMPONENT_ARCHIVE_URL= https://github.com/OpenPrinting/$(COMPONENT_NAME)/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= print/$(COMPONENT_NAME)
30 COMPONENT_CLASSIFICATION= System/Printing
31 COMPONENT_LICENSE= GPLv2,GPLv3,LGPLv2,LGPLv2.1
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 PATH= $(PATH.gnu)
38 COMPONENT_PREP_ACTION += ( cd $(@D) ; PATH=$(PATH.gnu) $(CONFIG_SHELL) autogen.sh )
40 CPPFLAGS = -D_POSIX_PTHREAD_SEMANTICS
41 CPPFLAGS += -I/usr/include/cups
43 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
44 COMPONENT_BUILD_ENV += PATH="$(PATH.gnu)"
45 COMPONENT_INSTALL_ENV += PATH="$(PATH.gnu)"
47 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
48 CONFIGURE_OPTIONS += --libdir=/usr/lib/cups/$(MACH64)
49 CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
50 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
51 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
52 CONFIGURE_OPTIONS += --disable-static
53 CONFIGURE_OPTIONS += --disable-mutool
54 CONFIGURE_OPTIONS += --enable-poppler
55 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
56 CONFIGURE_OPTIONS += --enable-driverless=no
57 CONFIGURE_OPTIONS += ENABLE_DRIVERLESS_FALSE="Y"
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES += library/libpoppler
61 REQUIRED_PACKAGES += library/print/cups-libs
62 REQUIRED_PACKAGES += print/filter/ghostscript
63 REQUIRED_PACKAGES += print/libcupsfilters
64 REQUIRED_PACKAGES += print/libppd
65 REQUIRED_PACKAGES += print/psutils
66 REQUIRED_PACKAGES += shell/ksh93
67 REQUIRED_PACKAGES += system/library