gnome-chess: import recipe

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2023-01-15 18:48:32 +01:00
committed by Khem Raj
parent 9294503921
commit ee32d5f9a6
2 changed files with 54 additions and 0 deletions
@@ -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}"
@@ -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}"