diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-06 20:37:34 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-06 20:38:17 -0300 |
commit | 3b2eed2fced7e5530c391d4733d5c9c5f0a1befe (patch) | |
tree | c8837df1c8dc5db54d3c2e691b89632179448e21 /pcr/inkscape-gtk3 | |
parent | 1e8b910fdaa9cc25f3269adccb9dad731d3fe4e3 (diff) | |
download | abslibre-3b2eed2fced7e5530c391d4733d5c9c5f0a1befe.tar.gz abslibre-3b2eed2fced7e5530c391d4733d5c9c5f0a1befe.tar.bz2 abslibre-3b2eed2fced7e5530c391d4733d5c9c5f0a1befe.zip |
add inkscape-gtk3 to [pcr]
Diffstat (limited to 'pcr/inkscape-gtk3')
-rw-r--r-- | pcr/inkscape-gtk3/PKGBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/pcr/inkscape-gtk3/PKGBUILD b/pcr/inkscape-gtk3/PKGBUILD new file mode 100644 index 000000000..2d13e2ba5 --- /dev/null +++ b/pcr/inkscape-gtk3/PKGBUILD @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 272749 2016-07-31 09:21:16Z bisson $ +# Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> +# Contributor (Arch): Tobias Kieslich <tobias@justdreams.de> +# Contributor (Arch): tobias <tobias@archlinux.org> +# Maintainer: Márcio Silva <coadde@parabola.nu> + +_pkgname=inkscape +pkgname=inkscape-gtk3 +pkgver=0.91 +pkgrel=19 +pkgdesc='Professional vector graphics editor with GTK3 and Python3' +url='https://inkscape.org/' +license=('GPL' 'LGPL') +arch=('i686' 'x86_64' 'armv7h') +makedepends=('boost' 'intltool') +depends=('gdl' 'gnome-vfs' 'gsl' 'gtkmm3' 'gtkspell3' 'imagemagick' 'libcdr' 'libexif' + 'libvisio' 'libxslt' 'poppler-glib' 'popt' 'python' 'ttf-dejavu') +optdepends=('gvfs: import clip art' + 'pstoedit: latex formulas' + 'texlive-core: latex formulas' + 'python2-numpy: some extensions' + 'python2-lxml: some extensions and filters' + 'uniconvertor: reading/writing to some proprietary formats') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("https://inkscape.org/en/gallery/item/3860/inkscape-0.91.tar.bz2" + 'http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/download/head:/markers_strokepaint.-20091128124040-aej0x7yhxng1m6ly-8339/markers_strokepaint.inx.disabled') +sha1sums=('9941ee467af570ac71a70f965cd9c48d4993b8f3' + 'f61909a58c185ed9249b19f71242af2edd32ef9a') + +#prepare() { +# cd "${srcdir}/${_pkgname}-${pkgver}" +# # sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py +# # sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py +# # sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp +# # sed -i 's|python -c|python2 -c|g' configure share/extensions/uniconv*.py +# # sed -i 's|"python"|"python2"|g' src/main.cpp +# +# # FS#43744 +# mv ../markers_strokepaint.inx.disabled share/extensions/markers_strokepaint.inx +#} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # glibmm 2.46 uses C++11 features + CXXFLAGS+=' -std=c++11' + + ./configure \ + --prefix=/usr \ + --with-python \ + --with-perl \ + --enable-lcms \ + --enable-poppler-cairo \ + --disable-strict-build \ + --disable-dependency-tracking \ + --enable-dbusapi \ + --enable-gtk3-experimental + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |