================================ poppler-utils:source=0.10.7-1 cvc rdiff poppler-utils -1 /weasel.rpath.org@wgl:3-devel/0.10.7-1 ================================ 0.10.7-1 Filip Brcic (brcha@xxxxxxx) Sat Jan 9 14:21:10 2010 poppler utilities poppler-utils.recipe: new --- /dev/null +++ poppler-utils.recipe @@ -0,0 +62 @@ +# +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 +# + +class PopplerUtils(AutoPackageRecipe): + name = 'poppler-utils' + version = '0.10.7' + + buildRequires = [ + 'expat:devel', 'fontconfig:devel', 'freetype:devel', + 'glib:runtime', 'libICE:devel', 'libjpeg:devel', + 'libstdc++:devel', 'libxml2:devel', 'openjpeg:devel', + 'pkg-config:devel', 'poppler:devel', 'zlib:devel' + ] + + shortDesc = 'PDF conversion utilities' + longDesc = 'PDF rendering library based on the xpdf-3.0 code base' + url = 'http://poppler.freedesktop.org/' + licenses = [ 'GPL-2' ] + categories = [ 'Applications/Text' ] + + def unpack(r): + r.macros.archive_name = 'poppler' + r.addArchive('http://poppler.freedesktop.org/') + + r.Replace('\$\(top_builddir\)/poppler/libpoppler.la', '-lpoppler', + 'splash/Makefile.in', + 'fofi/Makefile.in', + 'goo/Makefile.in', + 'utils/Makefile.in', + 'qt4/tests/Makefile.in', + 'qt4/Makefile.in', + 'qt4/demos/Makefile.in', + 'qt4/src/Makefile.in', + 'glib/Makefile.in', + 'glib/reference/Makefile.in', + 'glib/demo/Makefile.in', + 'Makefile.in', + 'qt/Makefile.in', + 'test/Makefile.in', + 'poppler/Makefile.in', + allowNoChange=True + ) + + def configure(r): + r.Configure( + ' --disable-static' + ' --enable-poppler-glib' + ' --enable-xpdf-headers' + ' --enable-libjpeg' + ' --enable-libopenjpeg' + ' --enable-zlib' + ' --enable-splash-output' + ' --enable-abiword-output' + ) + + def make(r): + r.Make(dir='utils') + + def makeinstall(r): + r.MakeInstall(dir='utils') poppler-0.10.7.tar.gz: new Committed by: brcha