podofo moved into main for pisi 2.0
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
|
||||
-DPODOFO_BUILD_SHARED=1 \
|
||||
-DPODOFO_BUILD_STATIC=0 \
|
||||
-DPODOFO_HAVE_JPEG_LIB=1 \
|
||||
-DPODOFO_HAVE_PNG_LIB=1 \
|
||||
-DPODOFO_HAVE_TIFF_LIB=1 \
|
||||
-DWANT_FONTCONFIG=1 \
|
||||
-DWANT_BOOST=1", sourceDir="..")
|
||||
#-DUSE_STLPORT=1"
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LIB", "ChangeLog", "NEWS", "TODO")
|
||||
pisitools.dohtml("README.html", "FAQ.html")
|
||||
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>podofo</Name>
|
||||
<Homepage>http://podofo.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<License>LGPLv3</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A library to work with the PDF file format</Summary>
|
||||
<Description>The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo.</Description>
|
||||
<Archive sha1sum="e3b08af1266eb480032456e3bde030c75452d380" type="targz">mirrors://sourceforge/podofo/podofo-0.9.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>lua51-devel</Dependency>
|
||||
<Dependency>cppunit-devel</Dependency>
|
||||
<Dependency>libidn-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>podofo</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>lua51</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libidn</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<!-- <Dependency>boost</Dependency> -->
|
||||
<!-- <Dependency>stlport</Dependency>-->
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>podofo-devel</Name>
|
||||
<Summary>Development files for podofo</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">podofo</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-12-30</Date>
|
||||
<Version>0.9.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Requires>
|
||||
<Action>reverseDependencyUpdate</Action>
|
||||
</Requires>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>0.9.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Requires>
|
||||
<Action>reverseDependencyUpdate</Action>
|
||||
</Requires>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>0.9.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Requires>
|
||||
<Action>reverseDependencyUpdate</Action>
|
||||
</Requires>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-25</Date>
|
||||
<Version>0.9.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Requires>
|
||||
<Action>reverseDependencyUpdate</Action>
|
||||
</Requires>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>podofo</Name>
|
||||
<Summary xml:lang="tr">PDF dosya biçimiyle çalışmak için bir kütüphane</Summary>
|
||||
<Summary xml:lang="pl">Biblioteka do obsługi PDF-ów</Summary>
|
||||
<Description xml:lang="tr">podofo, PDF dosyalarını ayıklamak ve düzenlemek için geliştirilmiş, ücretsiz bir C++ kütüphanesidir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>podofo-devel</Name>
|
||||
<Summary xml:lang="tr">podofo için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user