From 2ce474cacfcfcf2e0d3ba724f28c6b5872244f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Sat, 26 Nov 2022 16:15:37 +0100 Subject: [PATCH] app-backup/timeshift-21.09.1: revbump, use make instead of emake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update xdg icon cache after install Bug: https://bugs.gentoo.org/849626 Bug: https://bugs.gentoo.org/849629 Bug: https://bugs.gentoo.org/883157 Signed-off-by: Pascal Jäger --- ...-r1.ebuild => timeshift-21.09.1-r2.ebuild} | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) rename app-backup/timeshift/{timeshift-21.09.1-r1.ebuild => timeshift-21.09.1-r2.ebuild} (65%) diff --git a/app-backup/timeshift/timeshift-21.09.1-r1.ebuild b/app-backup/timeshift/timeshift-21.09.1-r2.ebuild similarity index 65% rename from app-backup/timeshift/timeshift-21.09.1-r1.ebuild rename to app-backup/timeshift/timeshift-21.09.1-r2.ebuild index 97f794686b..09ac8c4069 100644 --- a/app-backup/timeshift/timeshift-21.09.1-r1.ebuild +++ b/app-backup/timeshift/timeshift-21.09.1-r2.ebuild @@ -1,9 +1,8 @@ # Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -VALA_MIN_API_VERSION="0.44" -inherit vala xdg +EAPI=8 +inherit optfeature toolchain-funcs vala xdg DESCRIPTION="A system restore utility for Linux" HOMEPAGE="https://github.com/teejee2008/timeshift" @@ -40,3 +39,21 @@ src_prepare() { vala_src_prepare default } + +src_compile() { + tc-export CC + # can't use emake here, fails to compile because some files getting removed + # during compilation, which are missing afterwards. + # https://bugs.gentoo.org/883157 + # Pascal Jäger (2022-11-26) + make all || die +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "btrfs support" sys-fs/btrfs-progs +} + +pkg_postrm() { + xdg_pkg_postrm +}