From 84ce31cd829539a17d3d8b740277ac3045b6c898 Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Wed, 26 Jul 2023 20:36:10 +0700 Subject: [PATCH 1/2] New package: lib2geom-1.3 --- srcpkgs/lib2geom-devel | 1 + srcpkgs/lib2geom/template | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 srcpkgs/lib2geom-devel create mode 100644 srcpkgs/lib2geom/template diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel new file mode 120000 index 0000000000000..41abdb3cf7010 --- /dev/null +++ b/srcpkgs/lib2geom-devel @@ -0,0 +1 @@ +lib2geom \ No newline at end of file diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template new file mode 100644 index 0000000000000..c966e4bd9773a --- /dev/null +++ b/srcpkgs/lib2geom/template @@ -0,0 +1,26 @@ +# Template file for 'lib2geom' +pkgname=lib2geom +version=1.3 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="pkg-config python3-Cython ragel samurai" +makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel" +checkdepends="gtest-devel" +short_desc="Easy to use 2D geometry library for c++" +maintainer="Hervy Qurrotul Ainur Rozi " +license="LGPL-2.1-or-later, MPL-1.1" +homepage="https://gitlab.com/inkscape/lib2geom" +distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2" +checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9 + +lib2geom-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} From 5d09fc71a0dfa270e3aed329548eae6970a7ab4d Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Wed, 26 Jul 2023 20:36:21 +0700 Subject: [PATCH 2/2] inkscape: update to 1.3 --- srcpkgs/inkscape/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template index aa1ab218a442c..cd6f08c7db810 100644 --- a/srcpkgs/inkscape/template +++ b/srcpkgs/inkscape/template @@ -1,27 +1,29 @@ # Template file for 'inkscape' pkgname=inkscape -version=1.2.2 +version=1.3 revision=1 build_style=cmake +configure_args="-DBUILD_TESTING=OFF" # builds executables then runs checks # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241 make_check_target=check hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool - perl-XML-Parser pkg-config which" + libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel" makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel - poppler-devel poppler-glib-devel potrace-devel" + poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel + lib2geom-devel popt-devel readline-devel" depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs python3-cssselect python3-lxml python3-numpy python3-requests python3-scour" -checkdepends="$depends ImageMagick cantarell-fonts gtest-devel" +checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel" short_desc="Vector-based drawing program" maintainer="Alex Lohr " license="GPL-2.0-only, LGPL-2.1-or-later" homepage="http://inkscape.org/" distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz" -checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4 +checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307 python_version=3 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then