53 lines
1.1 KiB
Bash
Executable File
53 lines
1.1 KiB
Bash
Executable File
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License-2
|
|
|
|
EAPI=8
|
|
inherit gnome2-utils meson
|
|
|
|
LVC_COMMIT="5f9768a2eac29c1ed56f1fbb449a77a3523683b6"
|
|
DESCRIPTION="A settings app for mobile specific things"
|
|
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
|
|
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/${LVC_COMMIT}/libgnome-volume-control-${LVC_COMMIT}.tar.gz
|
|
"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~arm ~arm64"
|
|
|
|
RDEPEND="
|
|
x11-wm/phoc
|
|
gui-wm/phosh
|
|
gui-libs/libadwaita
|
|
dev-libs/gmobile
|
|
sys-apps/lm-sensors
|
|
>=dev-libs/feedbackd-0.7.0
|
|
"
|
|
|
|
BDEPEND="
|
|
"
|
|
|
|
S="${WORKDIR}/${PN}-v${PV}"
|
|
|
|
src_prepare() {
|
|
default
|
|
rm -r "${S}"/subprojects/gvc.wrap || die
|
|
mv "${WORKDIR}"/libgnome-volume-control-"${LVC_COMMIT}" "${S}"/subprojects/gvc || die
|
|
}
|
|
|
|
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
|
|
}
|