summaryrefslogtreecommitdiff
path: root/gui-apps/dosage/dosage-2.1.8.ebuild
blob: da6c7f9413d7141b455204e96f17fb58d3f47b65 (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
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2-utils meson xdg

DESCRIPTION="Keep track of your treatments"
HOMEPAGE="https://github.com/diegopvlk/Dosage"
SRC_URI="https://github.com/diegopvlk/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P^}"

LICENSE="CC-BY-SA-4.0 GPL-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/gjs
"
RDEPEND="${DEPEND}
	dev-libs/glib:2
	dev-libs/libportal[introspection]
	gui-libs/gtk:4[introspection]
	gui-libs/libadwaita:1[introspection]
	x11-libs/pango[introspection]
"
BDEPEND="
	dev-libs/glib:2
	dev-libs/libxml2:2
	dev-util/blueprint-compiler
	sys-devel/gettext
"

pkg_postinst() {
	gnome2_schemas_update
	xdg_pkg_postinst
}

pkg_postrm() {
	gnome2_schemas_update
	xdg_pkg_postrm
}