mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 20:08:43 -04:00
30 lines
744 B
Bash
30 lines
744 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
DISTUTILS_SINGLE_IMPL=y
|
|
inherit distutils-r1 git-r3
|
|
|
|
DESCRIPTION="GUI for snapper, a tool for Linux filesystem snapshot management"
|
|
HOMEPAGE="https://github.com/ricardomv/snapper-gui"
|
|
KEYWORDS="~amd64"
|
|
EGIT_REPO_URI="https://github.com/ricardomv/${PN}.git"
|
|
EGIT_COMMIT=1915750
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="
|
|
app-backup/snapper
|
|
$(python_gen_cond_dep 'dev-python/dbus-python[${PYTHON_USEDEP}] dev-python/pygobject[${PYTHON_USEDEP}]')
|
|
x11-libs/gtksourceview:3.0
|
|
"
|
|
|
|
src_prepare() {
|
|
sed -i 's/Utilities;/Utility;/' "${S}/snapper-gui.desktop"
|
|
default
|
|
}
|