inkscape: update

- use git to fetch the code as there is no tarball available for the latest version
  looks like current build needs git submodules. We can build lib2geom as an external
  project but extensions need to be fetched as a submodule
- build with external lib2geom

Signed-off-by: Markus Volk <f_l_k@t-online.de>
This commit is contained in:
Markus Volk
2023-05-09 15:54:26 +02:00
committed by Andreas Müller
parent 26c542a1ac
commit 06d8f942a1
2 changed files with 40 additions and 19 deletions

View File

@@ -3,37 +3,34 @@ HOMEPAGE = "https://inkscape.org/"
LICENSE = "GPL-3.0-or-later" LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=46f815712c095f667139ef42f2270d57" LIC_FILES_CHKSUM = "file://COPYING;md5=46f815712c095f667139ef42f2270d57"
PV = "1.2.1" SRC_URI = "gitsm://gitlab.com/inkscape/inkscape.git;protocol=https;nobranch=1"
SRC_URI = " \ SRCREV = "b0a8486541ac36327488da641d58a86bee2f07ad"
https://inkscape.org/gallery/item/34673/${BP}.tar.xz \ S = "${WORKDIR}/git"
file://0001-Fix-build-with-poppler-22.09.patch \ PV = "1.2.2"
"
SRC_URI[sha256sum] = "46ce7da0eba7ca4badc1db70e9cbb67e0adf9bb342687dc6e08b5ca21b8d4c1b"
S = "${WORKDIR}/${BPN}-${PV}_2022-07-14_9c6d41e410"
DEPENDS = " \ DEPENDS = " \
glib-2.0-native \
pango \
gtkmm3 \
libsoup-2.4 \
harfbuzz \
poppler \
gsl \
bdwgc \ bdwgc \
lcms \ cairo \
glib-2.0-native \
gsl \
gspell \ gspell \
gtkmm3 \
harfbuzz \
lcms \
libsoup-2.4 \
libxslt \ libxslt \
pango \
poppler \
\ \
double-conversion \ double-conversion \
libwpg \ lib2geom \
librevenge \
libcdr \ libcdr \
librevenge \
libvisio \ libvisio \
libwpg \
potrace \ potrace \
" "
inherit cmake pkgconfig gettext gtk-icon-cache bash-completion mime-xdg inherit cmake pkgconfig gettext gtk-icon-cache bash-completion mime-xdg
FILES:${PN} += "${datadir}/metainfo" FILES:${PN} += "${datadir}/metainfo"
INSANE_SKIP:${PN} = "useless-rpaths"

View File

@@ -0,0 +1,24 @@
SUMMARY = "2Geom: easy 2D graphics library"
HOMEPAGE = "https://gitlab.com/inkscape/lib2geom"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING-LGPL-2.1;md5=fad9b3332be894bab9bc501572864b29"
inherit cmake pkgconfig
DEPENDS = "boost double-conversion gtk+3 glib-2.0 cairo gsl"
SRC_URI = " \
git://gitlab.com/inkscape/lib2geom.git;protocol=https;nobranch=1 \
"
PV = "1.2.2"
SRCREV = "a84a73ebdae50cc729f57d1ffb788aeaef0f746c"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = " \
-D2GEOM_TESTING=FALSE \
-D2GEOM_STANDALONE=TRUE \
-D2GEOM_BUILD_SHARED=TRUE \
-D2GEOM_USE_GPL_CODE=TRUE \
"