summaryrefslogtreecommitdiffstats
path: root/rules/poppler.in
blob: 567c2772e6a7776d7c7586f7c381f0931ce55cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
## SECTION=multimedia_gtk

menuconfig POPPLER
	tristate
	prompt "poppler                       "
	select FONTCONFIG
	select HOST_GETTEXT
	select GLIB		if POPPLER_GLIB
	select LIBPNG		if POPPLER_PNG
	select LIBJPEG		if POPPLER_JPEG
	select CAIRO		if POPPLER_CAIRO
	select GTK		if POPPLER_SPLASH && POPPLER_GLIB
	select ZLIB		if POPPLER_ZLIB
	select LIBCURL		if POPPLER_CURL
	select LCMS		if POPPLER_CMS
	select QT4		if POPPLER_QT4
	select QT4_BUILD_GUI	if POPPLER_QT4
	select QT4_BUILD_XML	if POPPLER_QT4
	help
	  Poppler is a PDF rendering library based on the xpdf-3.0 code base.

if POPPLER

config POPPLER_BIN
	bool
	prompt "install poppler utilities"
	help
	  installs command line utilies comming with poppler package, contains
	  pdffonts, pdfimages, pdfinfo, pdftoabw, pdftohtml, pdftoppm, pdftops,
	  pdftotext.

config POPPLER_GLIB
	select POPPLER_CAIRO
	bool
	prompt "enable poppler glib wrapper"
	help
	  build poppler glib wrapper.

config POPPLER_QT4
	bool
	prompt "enable poppler Qt4 wrapper"
	help
	  build poppler Qt4 wrapper.

comment "least one graphics backend should be selected"
	depends on !(POPPLER_CAIRO || POPPLER_SPLASH)

config POPPLER_CAIRO
	bool
	prompt "enable poppler cairo graphics backend"
	help
	  built cairo graphics backend

config POPPLER_SPLASH
	bool
	prompt "enable poppler Splash graphics backend"
	help
	  build splash graphics backend

config POPPLER_PNG
	bool
	prompt "enable poppler png support"
	help
	  compiles poppler with png support.

config POPPLER_JPEG
	bool
	depends on BROKEN
	prompt "enable poppler jpeg support"
	help
	  compiles poppler with jpeg support.

config POPPLER_ZLIB
	bool
	prompt "enable poppler zlib support"
	help
	  compiles poppler with zlib support.

config POPPLER_CURL
	bool
	prompt "enable poppler curl support"
	help
	  compiles poppler with curl support.

config POPPLER_CMS
	bool
	prompt "enable poppler cms support"
	help
	  compiles poppler with color management system support.

endif