inkscape.

This commit is contained in:
4fury-c3440d8
2021-01-18 15:20:11 +00:00
parent 01fad8fafe
commit 9634b65050
3 changed files with 92 additions and 85 deletions
+26 -26
View File
@@ -13,32 +13,32 @@ from pisi.actionsapi import perlmodules
KeepSpecial=["libtool"]
j = "--with-lqr \
--with-wmf \
--with-xml \
--with-perl \
--with-rsvg \
--with-webp \
--without-gvc \
--prefix=/usr \
--enable-hdri \
--without-dps \
--without-fpx \
--with-modules \
--with-openexr \
--with-openjp2 \
--without-djvu \
--without-fftw \
--enable-opencl \
--without-gslib \
--sysconfdir=/etc \
--without-autotrace \
PSDelegate=/usr/bin/gs \
XPSDelegate=/usr/bin/gxps \
PCLDelegate=/usr/bin/gpcl6 \
--with-perl-options=INSTALLDIRS=vendor \
--with-dejavu-font-dir=/usr/share/fonts/dejavu \
--with-gs-font-dir=/usr/share/fonts/default/ghostscript \
PKG_CONFIG='/usr/bin/env PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig pkg-config' \
--with-wmf \
--with-xml \
--with-perl \
--with-rsvg \
--with-webp \
--without-gvc \
--prefix=/usr \
--enable-hdri \
--without-dps \
--without-fpx \
--with-modules \
--with-openexr \
--with-openjp2 \
--without-djvu \
--without-fftw \
--enable-opencl \
--without-gslib \
--sysconfdir=/etc \
--without-autotrace \
PSDelegate=/usr/bin/gs \
XPSDelegate=/usr/bin/gxps \
PCLDelegate=/usr/bin/gpcl6 \
--with-perl-options=INSTALLDIRS=vendor \
--with-dejavu-font-dir=/usr/share/fonts/dejavu \
--with-gs-font-dir=/usr/share/fonts/default/ghostscript \
PKG_CONFIG='/usr/bin/env PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig pkg-config' \
"
def setup():
+41 -39
View File
@@ -1,39 +1,41 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
j = "-DBUILD_TESTING=OFF -L \
-DBUILD_SHARED_LIBS=ON \
-DWITH_IMAGE_MAGICK=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"
shelltools.export("PYTHON", "/usr/bin/python3")
def setup():
# fix shebang
shelltools.system("find share/extensions -iname '*.py' -exec sed -i 's|env\ python$|env python3|g' {} \;")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("COPYING", "README.md")
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
j = "-DWITH_DBUS=ON \
-DBUILD_TESTING=OFF -L \
-DBUILD_SHARED_LIBS=ON \
-DWITH_IMAGE_MAGICK=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"
shelltools.export("PYTHON", "/usr/bin/python3")
def setup():
# fix shebang
shelltools.system("find share/extensions -iname '*.py' -exec sed -i 's|env\ python$|env python3|g' {} \;")
# if with imagemagick build.
# shelltools.export("PKG_CONFIG_PATH", "${PKG_CONFIG_PATH}:/usr/lib/imagemagick6/pkgconfig")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../COPYING", "../README.md")
+25 -20
View File
@@ -12,9 +12,10 @@
<License>GPLv2</License>
<License>LGPLv2.1</License>
<IsA>app:gui</IsA>
<Summary>SVG vector graphics application</Summary>
<Summary>SVG vector graphics application.</Summary>
<Description>Inkscape is an application to create, edit, and convert SVG vector graphics images that can also import from and export to bitmap image files.</Description>
<Archive sha1sum="4977844aa1da0e6992c6e836561f8a12eb58dca0" type="tarbz2">https://gitlab.com/inkscape/inkscape/-/archive/INKSCAPE_1_0_1/inkscape-INKSCAPE_1_0_1.tar.bz2</Archive>
<Archive sha1sum="a190f3ec3bf24379ccac402490276361435c2732" type="tarbz2">
https://gitlab.com/inkscape/inkscape/-/archive/INKSCAPE_1_0_2/inkscape-INKSCAPE_1_0_2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>potrace</Dependency>
@@ -22,6 +23,16 @@
<Dependency>intltool</Dependency>
<Dependency>gsl-devel</Dependency>
<Dependency>gdl-devel</Dependency>
<!-- stable deps. -->
<Dependency>libXt-devel</Dependency>
<Dependency>libXv-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libXpm-devel</Dependency>
<Dependency>libXres-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>libxkbfile-devel</Dependency>
<!-- -->
<Dependency>dbus-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>popt-devel</Dependency>
<Dependency>lcms2-devel</Dependency>
@@ -56,11 +67,12 @@
<Package>
<Name>inkscape</Name>
<Summary>SVG vector graphics application</Summary>
<Summary>SVG vector graphics application.</Summary>
<RuntimeDependencies>
<Dependency>gc</Dependency>
<Dependency>gdl</Dependency>
<Dependency>gsl</Dependency>
<Dependency>dbus</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>zlib</Dependency>
<Dependency>atkmm</Dependency>
@@ -85,12 +97,11 @@
<Dependency>libxslt</Dependency>
<Dependency>pangomm</Dependency>
<Dependency>poppler</Dependency>
<!-- <Dependency>libyaml</Dependency> -->
<Dependency>freetype</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>libvisio</Dependency>
<Dependency>libspiro</Dependency>
<!-- <Dependency>dbus-glib</Dependency> -->
<Dependency>dbus-glib</Dependency>
<Dependency>gtkspell3</Dependency>
<Dependency>libsigc++</Dependency>
<Dependency>fontconfig</Dependency>
@@ -118,25 +129,19 @@
<Path fileType="localedata">/usr/share/bash-completion/completions/inkscape</Path>
</Files>
</Package>
<!--Package>
<Name>inkscape-devel</Name>
<Summary>Development files for Inkscape</Summary>
<RuntimeDependencies>
<Dependency release="current">inkscape</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package-->
<History>
<Update release="10">
<Date>2021-01-18</Date>
<Version>1.0.2</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="9">
<Date>2020-09-11</Date>
<Version>1.0.1</Version>
<Comment>ver bump, gtk3.</Comment>
<Comment>Ver bump, gtk3.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
@@ -197,4 +202,4 @@
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>