From ee32d5f9a6898740204e5862ce18bc92c8ce5ba7 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 15 Jan 2023 18:48:32 +0100 Subject: gnome-chess: import recipe Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../recipes-gnome/gnome-chess/gnome-chess_43.1.bb | 35 ++++++++++++++++++++++ .../recipes-gnome/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 0000000000..643e6befeb --- /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 0000000000..8ca40229ee --- /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}" -- cgit v1.2.3-54-g00ecf