2023-05-02 13:28:56 +02:00
|
|
|
# Copyright 2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-05-02 13:51:21 +02:00
|
|
|
inherit gnome2-utils meson toolchain-funcs xdg
|
2023-05-02 13:28:56 +02:00
|
|
|
|
2023-05-02 13:31:54 +02:00
|
|
|
COMMIT="d664384370bb55f0e46a78da094c567a5a7e97c6"
|
|
|
|
DESCRIPTION="Track your fitness goals"
|
2023-05-02 13:28:56 +02:00
|
|
|
HOMEPAGE="https://gitlab.gnome.org/World/Health/"
|
|
|
|
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/0.94.0/${PN}-${PV}.tar.gz"
|
|
|
|
|
2023-05-02 13:51:21 +02:00
|
|
|
RESTRICT="network-sandbox"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
2023-05-02 13:28:56 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
|
|
|
2023-05-02 13:33:12 +02:00
|
|
|
S="${WORKDIR}/Health-${PV}-${COMMIT}"
|
2023-05-02 13:28:56 +02:00
|
|
|
|
|
|
|
RDEPEND="
|
2023-05-02 13:36:53 +02:00
|
|
|
dev-libs/glib
|
2023-05-02 13:37:41 +02:00
|
|
|
dev-util/blueprint-compiler
|
2023-05-02 13:36:53 +02:00
|
|
|
dev-libs/appstream
|
2023-05-02 13:28:56 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
2023-05-02 15:41:14 +02:00
|
|
|
PATCHES=(
|
2023-05-02 15:46:00 +02:00
|
|
|
${FILESDIR}/180.patch
|
2023-05-02 15:41:14 +02:00
|
|
|
${FILESDIR}/190.patch
|
|
|
|
)
|
|
|
|
|
2023-05-02 13:28:56 +02:00
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
2023-05-02 13:51:21 +02:00
|
|
|
gnome2_schemas_update
|
2023-05-02 13:28:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_pkg_postrm
|
2023-05-02 13:51:21 +02:00
|
|
|
gnome2_schemas_update
|
2023-05-02 13:28:56 +02:00
|
|
|
}
|