Unverified Kaydet (Commit) dc7efeb0 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

GraphicsMagick has been compiled.

üst 67446fda
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from inary.actionsapi import autotools
from inary.actionsapi import inarytools
from inary.actionsapi import perlmodules
from inary.actionsapi import get
# .la files needed to load modules
KeepSpecial = ["libtool"]
def setup():
# ghostscript is better than dps
# unstable fpx support disabled
# trio is for old systems not providing vsnprintf
autotools.configure("--enable-openmp \
--enable-shared \
--disable-static \
--disable-openmp \
--with-threads \
--with-modules \
--with-magick-plus-plus \
--with-perl \
--with-bzlib \
--without-dps \
--without-fpx \
--with-gslib \
--with-jbig \
--with-jpeg \
--with-jp2 \
--with-lcms \
--with-png \
--with-tiff \
--without-trio \
--with-ttf \
--with-wmf \
--with-fontpath=/usr/share/fonts \
--with-gs-font-dir=/usr/share/fonts/default/ghostscript \
--with-xml \
--with-zlib \
--with-x \
--with-quantum-depth=16")
inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
autotools.make("perl-build")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s -C PerlMagick" % get.installDIR())
for d in ("demo/", "Changelog", "README.txt"):
inarytools.insinto("/usr/share/doc/PerlMagick", "PerlMagick/%s" % d)
inarytools.remove("/usr/lib/*.la")
perlmodules.removePacklist()
perlmodules.removePodfiles()
<INARY>
<Source>
<Name>GraphicsMagick</Name>
<Homepage>http://www.graphicsmagick.org</Homepage>
<Packager>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>GraphicsMagick Image Processing System</Summary>
<Description>GraphicsMagick is a comprehensive image processing package which is initially based on ImageMagick 5.5.2, but which has undergone significant re-work by the GraphicsMagick Group to significantly improve the quality and performance of the software.</Description>
<Archive sha1sum="cc1b77b7f2e4b0b345f97f7963704dbb4d0d3e3b">mirrors://sourceforge/graphicsmagick/graphicsmagick/1.3.34/GraphicsMagick-1.3.34.tar.xz</Archive>
<BuildDependencies>
<Dependency>tiff</Dependency>
<Dependency>webp</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libwmf</Dependency>
<Dependency>libICE-devel</Dependency>
<Dependency>jasper-devel</Dependency>
<Dependency>jbigkit</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>ghostscript-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>xz-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>GraphicsMagick</Name>
<IsA>app:console</IsA>
<RuntimeDependencies>
<Dependency>tiff</Dependency>
<Dependency>webp</Dependency>
<Dependency>zlib</Dependency>
<Dependency>bzip2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>freetype</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libpng</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libwmf</Dependency>
<Dependency>jasper</Dependency>
<Dependency>libXext</Dependency>
<Dependency>jbigkit</Dependency>
<Dependency>ghostscript</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>libtool</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin/gm</Path>
<Path fileType="library">/usr/lib/GraphicsMagick-*</Path>
<Path fileType="library">/usr/lib/lib*</Path>
<Path fileType="data">/usr/share/GraphicsMagick-*</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin/*-config</Path>
<Path fileType="doc">/usr/share/doc/GraphicsMagick/www</Path>
<Path fileType="man">/usr/share/man/man1/*-config.*</Path>
<Path fileType="library">/usr/lib/perl5</Path>
<Path fileType="doc">/usr/share/doc/PerlMagick</Path>
</Files>
</Package>
<Package>
<Name>GraphicsMagick-devel</Name>
<Summary>Development files for GraphicsMagick</Summary>
<RuntimeDependencies>
<Dependency release="current">GraphicsMagick</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="executable">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-09</Date>
<Version>1.3.34</Version>
<Comment>First release</Comment>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
</History>
</INARY>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment