Gentoo Archives: gentoo-commits

From: "Pascal Jäger" <pascal.jaeger@×××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/timeshift/
Date: Sat, 26 Nov 2022 15:18:28
Message-Id: 1669475886.2ce474cacfcfcf2e0d3ba724f28c6b5872244f21.pascal.jaeger@gentoo
1 commit: 2ce474cacfcfcf2e0d3ba724f28c6b5872244f21
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sat Nov 26 15:15:37 2022 +0000
4 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
5 CommitDate: Sat Nov 26 15:18:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ce474ca
7
8 app-backup/timeshift-21.09.1: revbump, use make instead of emake
9
10 - update xdg icon cache after install
11
12 Bug: https://bugs.gentoo.org/849626
13 Bug: https://bugs.gentoo.org/849629
14 Bug: https://bugs.gentoo.org/883157
15
16 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
17
18 ....09.1-r1.ebuild => timeshift-21.09.1-r2.ebuild} | 23 +++++++++++++++++++---
19 1 file changed, 20 insertions(+), 3 deletions(-)
20
21 diff --git a/app-backup/timeshift/timeshift-21.09.1-r1.ebuild b/app-backup/timeshift/timeshift-21.09.1-r2.ebuild
22 similarity index 65%
23 rename from app-backup/timeshift/timeshift-21.09.1-r1.ebuild
24 rename to app-backup/timeshift/timeshift-21.09.1-r2.ebuild
25 index 97f794686..09ac8c406 100644
26 --- a/app-backup/timeshift/timeshift-21.09.1-r1.ebuild
27 +++ b/app-backup/timeshift/timeshift-21.09.1-r2.ebuild
28 @@ -1,9 +1,8 @@
29 # Copyright 2019-2022 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 -EAPI=7
33 -VALA_MIN_API_VERSION="0.44"
34 -inherit vala xdg
35 +EAPI=8
36 +inherit optfeature toolchain-funcs vala xdg
37
38 DESCRIPTION="A system restore utility for Linux"
39 HOMEPAGE="https://github.com/teejee2008/timeshift"
40 @@ -40,3 +39,21 @@ src_prepare() {
41 vala_src_prepare
42 default
43 }
44 +
45 +src_compile() {
46 + tc-export CC
47 + # can't use emake here, fails to compile because some files getting removed
48 + # during compilation, which are missing afterwards.
49 + # https://bugs.gentoo.org/883157
50 + # Pascal Jäger <pascal.jaeger@×××××××××.de> (2022-11-26)
51 + make all || die
52 +}
53 +
54 +pkg_postinst() {
55 + xdg_pkg_postinst
56 + optfeature "btrfs support" sys-fs/btrfs-progs
57 +}
58 +
59 +pkg_postrm() {
60 + xdg_pkg_postrm
61 +}