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/"
|
2023-05-06 19:59:37 +02:00
|
|
|
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz"
|
2023-05-02 13:28:56 +02:00
|
|
|
|
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-06 19:59:37 +02:00
|
|
|
gui-libs/gtk
|
|
|
|
dev-util/gtk-update-icon-cache
|
2023-05-02 13:28:56 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
2023-07-31 10:07:29 +02:00
|
|
|
#PATCHES=(
|
|
|
|
# ${FILESDIR}/180.patch
|
|
|
|
# ${FILESDIR}/190.patch
|
|
|
|
#)
|
2023-05-02 15:41:14 +02:00
|
|
|
|
2023-05-29 15:36:58 +02:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
cargo update -p gtk4
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|