package/ghostscript: add cups support
Allow ghostscript to be used by cups for printing. Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
59acde11f9
commit
f9e359d765
|
@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \
|
||||||
|
|
||||||
GHOSTSCRIPT_CONF_OPTS = \
|
GHOSTSCRIPT_CONF_OPTS = \
|
||||||
--disable-compile-inits \
|
--disable-compile-inits \
|
||||||
--disable-cups \
|
|
||||||
--enable-fontconfig \
|
--enable-fontconfig \
|
||||||
--with-fontpath=/usr/share/fonts \
|
--with-fontpath=/usr/share/fonts \
|
||||||
--enable-freetype \
|
--enable-freetype \
|
||||||
|
@ -68,6 +67,15 @@ else
|
||||||
GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
|
GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||||
|
GHOSTSCRIPT_DEPENDENCIES += cups
|
||||||
|
GHOSTSCRIPT_CONF_OPTS += \
|
||||||
|
CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
|
||||||
|
--enable-cups
|
||||||
|
else
|
||||||
|
GHOSTSCRIPT_CONF_OPTS += --disable-cups
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||||
GHOSTSCRIPT_DEPENDENCIES += xlib_libX11
|
GHOSTSCRIPT_DEPENDENCIES += xlib_libX11
|
||||||
GHOSTSCRIPT_CONF_OPTS += --with-x
|
GHOSTSCRIPT_CONF_OPTS += --with-x
|
||||||
|
|
Loading…
Reference in a new issue