mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
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>
45 lines
951 B
Bash
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
|
|
}
|