fails to build on qemuarm/glibc/clang

valac -C --vapidir
/mnt/jenkins/workspace/Yocto-world-arm/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/gnome-chess/43.1-r0/git/src
--pkg config --pkg posix --pkg pangocairo --pkg librsvg-2.0 --pkg
libadwaita-1 --pkg gtk4 --pkg gmodule-2.0 --target-glib 2.44.0 --pkg
glib-2.0 --color=always --directory src/gnome-chess.p --basedir
../git/src --gresources=../git/data/chess.gresource.xml
--target-glib=2.44.0 --gresources ../git/data/chess.gresource.xml
../git/src/chess-scene.vala ../git/src/chess-view.vala
../git/src/chess-window.vala ../git/src/gnome-chess.vala
../git/src/new-game-window.vala ../git/src/preferences-window.vala
../git/src/preferences.vala
../git/src/promotion-type-selector-dialog.vala lib/libchess.vapi
engine/libengine.vapi
| error: Package `librsvg-2.0' not found in specified Vala API
directories or GObject-Introspection GIR directories

On Sun, Jan 8, 2023 at 5:08 AM Markus Volk <[email protected]> wrote:
>
> Signed-off-by: Markus Volk <[email protected]>
> ---
>  .../gnome-chess/gnome-chess_43.1.bb           | 35 +++++++++++++++++++
>  .../gnome-chess/gnuchess_6.2.9.bb             | 19 ++++++++++
>  2 files changed, 54 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gnome-chess/gnome-chess_43.1.bb
>  create mode 100644 meta-gnome/recipes-gnome/gnome-chess/gnuchess_6.2.9.bb
>
> diff --git a/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_43.1.bb 
> b/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_43.1.bb
> new file mode 100644
> index 000000000..643e6befe
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome-chess/gnome-chess_43.1.bb
> @@ -0,0 +1,35 @@
> +SUMMARY = "GNOME Chess is a 2D chess game, where games can be played between 
> a combination of human and computer players."
> +HOMEPAGE = "https://wiki.gnome.org/Apps/Chess";
> +LICENSE = "GPL-3.0-only"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"
> +
> +GTKIC_VERSION = "4"
> +
> +DEPENDS = " \
> +    appstream-glib-native \
> +    cairo \
> +    desktop-file-utils-native \
> +    glib-2.0 \
> +    glib-2.0 \
> +    gtk4 \
> +    libadwaita \
> +    librsvg \
> +    pango \
> +"
> +
> +RRECOMMENDS:${PN}  = "gnuchess"
> +
> +SRC_URI = "git://github.com/GNOME/gnome-chess.git;protocol=https;nobranch=1"
> +
> +inherit meson pkgconfig gobject-introspection gtk-icon-cache vala 
> features_check mime-xdg gsettings
> +
> +GIR_MESON_OPTION = ""
> +
> +S = "${WORKDIR}/git"
> +PV = "43.1"
> +SRCREV = "95c7fb91daf36014fc1c2a7ec20b7400a21cd316"
> +
> +FILES:${PN} += "${datadir}"
> diff --git a/meta-gnome/recipes-gnome/gnome-chess/gnuchess_6.2.9.bb 
> b/meta-gnome/recipes-gnome/gnome-chess/gnuchess_6.2.9.bb
> new file mode 100644
> index 000000000..8ca40229e
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome-chess/gnuchess_6.2.9.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "GNU Chess is a chess-playing program."
> +HOMEPAGE = "http://www.gnu.org/software/chess/";
> +LICENSE = "GPL-3.0-only"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +SRC_URI = 
> "https://git.savannah.gnu.org/cgit/chess.git/snapshot/chess-${PV}.tar.gz";
> +SRC_URI[sha256sum] = 
> "03f9e844ccdd48d20ee49314174404f8b643d83bb8ce9ec9d2e6a21f1b6fb9f5"
> +
> +S = "${WORKDIR}/chess-${PV}"
> +
> +inherit autotools gettext
> +
> +do_configure:prepend() {
> +    touch ${S}/ABOUT-NLS
> +    touch ${S}/man/gnuchess.1
> +}
> +
> +FILES:${PN} += "${datadir}"
> --
> 2.34.1
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100474): 
https://lists.openembedded.org/g/openembedded-devel/message/100474
Mute This Topic: https://lists.openembedded.org/mt/96130659/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to