Files
guru/app-backup/timeshift/timeshift-20.11.1.ebuild
Ross Charles Campbell fd07a5e2e3 app-backup/timeshift: new package
Closes: https://github.com/gentoo/gentoo/pull/12530
Closes: https://bugs.gentoo.org/690258
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
2021-02-08 08:52:55 +08:00

45 lines
951 B
Bash

# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_MIN_API_VERSION="0.40"
inherit vala xdg
DESCRIPTION="A system restore utility for Linux"
HOMEPAGE="https://github.com/teejee2008/timeshift"
SRC_URI="https://github.com/teejee2008/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
PATCHES=( "${FILESDIR}/${P}-fix-xapp-2.0.patch" )
DEPEND="
dev-libs/json-glib
dev-libs/libgee
dev-util/desktop-file-utils
net-libs/libsoup
net-misc/rsync
sys-process/cronie
x11-libs/gtk+:3
x11-libs/xapps
"
RDEPEND="${DEPEND}"
BDEPEND="
$(vala_depend)
net-misc/rsync
sys-apps/diffutils
sys-apps/coreutils
sys-fs/btrfs-progs
>=x11-libs/vte-0.60.3[vala]
"
src_prepare() {
# sed -i -e "s:--thread:& Core/AppExcludeEntry.vala:" "src/makefile"
sed -i -e "s:valac:valac-$(vala_best_api_version):" "src/makefile"
vala_src_prepare
default
}