Added PostmarketOs Tweaks

This commit is contained in:
Gerben Jan Dijkman 2021-04-13 11:40:14 +02:00
parent 5fc39cab72
commit e81bbb78a3
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST postmarketos-tweaks-0.5.0.tar.gz 13228 BLAKE2B a613b027df5c2cb01b18d83c956d1628be124e5b6c52d0215a31dbfbd823ff604c7af21ede893701639c060e8aea4e1bcba1759d5a3323dedd5bdd5cde6da8f6 SHA512 83477103c4b1c66f7f11e40122cdaac476de18e709c8976972ae4240ebb74fa7e83738fa316166f60ddeb98d4ef65dcc1d4fe2bdf50936e8c6cd822ef8821a3b

View File

@ -0,0 +1,41 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson gnome2-utils xdg
PYTHON_COMPAT=( python3_{6,7,8} )
DESCRIPTION="Application for exposing extra settings easily on mobile platforms"
HOMEPAGE="https://gitlab.com/postmarketOS/postmarketos-tweaks/"
SRC_URI="https://gitlab.com/postmarketOS/postmarketos-tweaks/-/archive/${PV}/postmarketos-tweaks-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm64 ~arm"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
"
RDEPEND="${DEPEND}"
BDEPEND="
"
S="${WORKDIR}/${PN}-${PV}"
src_install() {
meson_src_install
insinto /usr/bin
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}