gjdwebserver-overlay/x11-misc/phosh-mobile-settings/phosh-mobile-settings-0.40.0.ebuild

48 lines
884 B
Bash
Raw Normal View History

2024-05-18 19:13:56 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License-2
EAPI=8
inherit gnome2-utils meson
DESCRIPTION="A settings app for mobile specific things"
2024-05-23 22:55:01 +02:00
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings"
SRC_URI="https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/archive/v${PV}/phosh-mobile-settings-v${PV}.tar.gz -> ${P}.tar.gz"
2024-05-18 19:13:56 +02:00
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm ~arm64"
RDEPEND="
x11-wm/phoc
gui-wm/phosh
gui-libs/libadwaita
2024-05-23 22:55:01 +02:00
dev-libs/gmobile
2024-05-18 19:13:56 +02:00
sys-apps/lm-sensors
"
BDEPEND="
"
S="${WORKDIR}/${PN}-v${PV}"
2024-05-23 23:35:40 +02:00
PATCHES=( "${FILESDIR}"/0001-Make-gmobile-not-dep-on-the-subproject.patch )
2024-05-23 23:34:44 +02:00
2024-05-18 19:13:56 +02:00
src_prepare() {
default
}
src_install() {
CC="$(tc-getCC)"
meson_src_install
}
pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
}