Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Add tools::poppler
Browse files Browse the repository at this point in the history
  • Loading branch information
trueroad committed Nov 24, 2016
1 parent 0cbc7e4 commit fceb2c6
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions gub/specs/poppler.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from gub import target
from gub import tools

class Poppler (target.AutoBuild):
source = 'http://poppler.freedesktop.org/poppler-0.11.2.tar.gz'
dependencies = ['tools::libtool', 'tools::glib',
source = 'https://poppler.freedesktop.org/poppler-0.49.0.tar.xz'
dependencies = ['tools::libtool', 'tools::glib', 'tools::xzutils',
'zlib-devel',
'fontconfig-devel',
'gtk+-devel',
Expand Down Expand Up @@ -30,3 +31,19 @@ class Poppler__darwin (Poppler):
if x.replace ('-devel', '') not in [
'libxml2', # Included in darwin-sdk, hmm?
]]

class Poppler__tools (tools.AutoBuild, Poppler):
dependencies = [
'xzutils',
'libtool',
'glib',
'zlib',
'fontconfig',
'libjpeg',
'libxml2',
]
configure_flags = (tools.AutoBuild.configure_flags
+ ' --disable-poppler-qt'
+ ' --disable-poppler-qt4'
+ ' --enable-xpdf-headers'
+ ' --disable-gtk-test')

0 comments on commit fceb2c6

Please sign in to comment.