summaryrefslogtreecommitdiff
path: root/app-backup/timeshift/timeshift-24.06.3.ebuild
blob: 7732a9f92005e53badcea23efb3258f8a6793d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit optfeature meson vala xdg

DESCRIPTION="A system restore utility for Linux"
HOMEPAGE="https://github.com/linuxmint/timeshift"
SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${PF}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	dev-libs/glib:2
	dev-libs/gobject-introspection
	x11-libs/gtk+:3
	dev-libs/json-glib
	x11-libs/vte:2.91[vala]
	>=dev-libs/libgee-0.18.0:=
	>=x11-libs/xapp-1.0.4[vala(+)]
	x11-libs/cairo
	x11-libs/gdk-pixbuf:2
"
RDEPEND="${DEPEND}
	virtual/cron
"
BDEPEND="
	$(vala_depend)
	virtual/pkgconfig
	sys-apps/help2man
"

src_prepare() {
	default
	vala_setup
}

pkg_postinst() {
	xdg_pkg_postinst
	optfeature "btrfs support" sys-fs/btrfs-progs
	optfeature "rsync support"	net-misc/rsync
}

pkg_postrm() {
	xdg_pkg_postrm
}