summaryrefslogtreecommitdiff
path: root/games-kids/gmult/gmult-12.0.ebuild
blob: d30313af7d24bcba3cdc8a25f78325f64aa3e81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2-utils meson vala xdg

DESCRIPTION="Multiplication Puzzle emulates the multiplication game found in Emacs"
HOMEPAGE="https://gitlab.gnome.org/mterry/gmult/"
SRC_URI="https://gitlab.gnome.org/mterry/gmult/-/archive/${PV}/${P}.tar.bz2"

LICENSE="GPL-3+ CC-BY-SA-4.0 CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # only used for unnecessary .desktop/.po validation

RDEPEND="
	dev-libs/glib:2
	>=gui-libs/gtk-4.10:4[introspection]
	>=gui-libs/libadwaita-1.3:1[vala]
	virtual/libintl
	x11-libs/cairo
	x11-libs/pango
"
DEPEND="${RDEPEND}"
BDEPEND="
	$(vala_depend)
	sys-devel/gettext
"

DOCS=( NEWS.md README.md )

src_configure() {
	vala_setup
	meson_src_configure
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update
}

pkg_postrm() {
	xdg_pkg_postrm
	gnome2_schemas_update
}