Signed-off-by: Roland Hieber <r.hie...@pengutronix.de> --- Notes: changes in v1 -> v2: - version bump to 0.4.8 - use default compile stage, remove unneeded stage templates
rules/poppler-data.in | 10 +++++++++ rules/poppler-data.make | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 rules/poppler-data.in create mode 100644 rules/poppler-data.make diff --git a/rules/poppler-data.in b/rules/poppler-data.in new file mode 100644 index 000000000..61796949e --- /dev/null +++ b/rules/poppler-data.in @@ -0,0 +1,10 @@ +## SECTION=multimedia_gtk + +config POPPLER_DATA + tristate + prompt "poppler-data" + help + Encoding data which enables poppler to correctly render CJK and + Cyrillic languages. + +# vim: ft=kconfig ts=8 noet tw=80 diff --git a/rules/poppler-data.make b/rules/poppler-data.make new file mode 100644 index 000000000..93edb7cea --- /dev/null +++ b/rules/poppler-data.make @@ -0,0 +1,58 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 by Roland Hieber <r.hie...@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_POPPLER_DATA) += poppler-data + +# +# Paths and names +# +POPPLER_DATA_VERSION := 0.4.8 +POPPLER_DATA_MD5 := 00f8989c804de84af0ba2ea629949980 +POPPLER_DATA := poppler-data-$(POPPLER_DATA_VERSION) +POPPLER_DATA_SUFFIX := tar.gz +POPPLER_DATA_URL := https://poppler.freedesktop.org/$(POPPLER_DATA).$(POPPLER_DATA_SUFFIX) +POPPLER_DATA_SOURCE := $(SRCDIR)/$(POPPLER_DATA).$(POPPLER_DATA_SUFFIX) +POPPLER_DATA_DIR := $(BUILDDIR)/$(POPPLER_DATA) +POPPLER_DATA_LICENSE := GPL-2.0 AND MIT AND BSD-3-Clause + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- +POPPLER_DATA_CONF_TOOL := NO + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +POPPLER_DATA_INSTALL_OPT := prefix=/usr install + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/poppler-data.targetinstall: + @$(call targetinfo) + + @$(call install_init, poppler-data) + @$(call install_fixup, poppler-data,PRIORITY,optional) + @$(call install_fixup, poppler-data,SECTION,base) + @$(call install_fixup, poppler-data,AUTHOR,"Roland Hieber <r.hie...@pengutronix.de>") + @$(call install_fixup, poppler-data,DESCRIPTION,missing) + + @$(call install_tree, poppler-data, 0, 0, -, /usr/share/poppler) + + @$(call install_finish, poppler-data) + + @$(call touch) + +# vim: ft=make ts=8 tw=80 -- 2.11.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de