Date: Friday, August 12, 2022 @ 15:28:47
  Author: eworm
Revision: 452626

archrelease: copy trunk to staging-x86_64

Added:
  inkscape/repos/staging-x86_64/
  inkscape/repos/staging-x86_64/PKGBUILD
    (from rev 452625, inkscape/trunk/PKGBUILD)

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

Copied: inkscape/repos/staging-x86_64/PKGBUILD (from rev 452625, 
inkscape/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2022-08-12 15:28:47 UTC (rev 452626)
@@ -0,0 +1,77 @@
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Tobias Kieslich <tob...@justdreams.de>
+# Contributor: tobias <tob...@archlinux.org>
+
+pkgname=inkscape
+pkgver=1.2.1
+_tag='9c6d41e4102d2e2e21a6d53ddba38ce202271001' # git rev-parse 
INKSCAPE_${pkgver/./_}
+pkgrel=2
+pkgdesc='Professional vector graphics editor'
+url='https://inkscape.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64')
+options=('debug')
+makedepends=('cmake' 'boost' 'git')
+
+depends=(
+       'dbus-glib'
+       'double-conversion'
+       'gc'
+       'graphicsmagick'
+       'gsl'
+       'gspell'
+       'gtkmm3'
+       'lcms2'
+       'lib2geom'
+       'libcdr'
+       'libjpeg-turbo'
+       'libvisio'
+       'libxslt'
+       'poppler-glib'
+       'potrace'
+       'python'
+       'python-lxml'
+       'python-numpy'
+       'ttf-font'
+)
+
+optdepends=(
+       'fig2dev: xfig input'
+       'gvfs: import clip art'
+       'pstoedit: latex formulas'
+       'scour: optimized SVG output, some extensions'
+       'texlive-core: latex formulas'
+)
+
+#source=("https://media.inkscape.org/dl/resources/file/${pkgname}-${pkgver}.tar.bz2";)
+source=("git+https://gitlab.com/inkscape/inkscape.git#tag=${_tag}";)
+sha256sums=('SKIP')
+
+_backports=(
+)
+
+prepare() {
+       cd "${pkgname}"
+       git submodule update --init --recursive 
+
+       local _c
+       for _c in "${_backports[@]}"; do
+               git log --oneline -1 "${_c}"
+               git cherry-pick -n "${_c}"
+       done
+}
+
+build() {
+       mkdir -p build
+       export PKG_CONFIG_PATH='/usr/lib/imagemagick6/pkgconfig'
+       cmake -H${pkgname} -Bbuild \
+               -DCMAKE_BUILD_TYPE=Release \
+               -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+               -DWITH_DBUS=ON \
+
+       cmake --build build
+}
+
+package() {
+       DESTDIR="${pkgdir}" cmake --build build --target install
+}

Reply via email to