Date: Monday, January 16, 2023 @ 13:32:11
  Author: eworm
Revision: 466761

archrelease: copy trunk to testing-x86_64

Added:
  inkscape/repos/testing-x86_64/
  inkscape/repos/testing-x86_64/PKGBUILD
    (from rev 466760, inkscape/trunk/PKGBUILD)

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

Copied: inkscape/repos/testing-x86_64/PKGBUILD (from rev 466760, 
inkscape/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-01-16 13:32:11 UTC (rev 466761)
@@ -0,0 +1,79 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Tobias Kieslich <[email protected]>
+# Contributor: tobias <[email protected]>
+
+pkgname=inkscape
+pkgver=1.2.2
+_tag='b0a8486541ac36327488da641d58a86bee2f07ad' # git rev-parse 
INKSCAPE_${pkgver/./_}
+pkgrel=3
+pkgdesc='Professional vector graphics editor'
+url='https://inkscape.org/'
+license=('GPL' 'LGPL')
+arch=('x86_64')
+makedepends=('cmake' 'boost' 'git')
+
+depends=(
+       'boost-libs'
+       'dbus-glib'
+       'double-conversion'
+       'gc'
+       'graphicsmagick'
+       'gsl'
+       'gspell'
+       'gtkmm3'
+       'lcms2'
+       'lib2geom'
+       'libcdr'
+       'libjpeg-turbo'
+       'libsoup'
+       'libvisio'
+       'libxslt'
+       'poppler-glib'
+       'potrace'
+       'python'
+       'python-cssselect'
+       '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