gentoo/app-backup/deja-dup/deja-dup-48.4.ebuild
Oz Tiram a98da62459
app-backup/deja-dup: add 48.4
Note, upstream is still working on replacing the duplicity
backend with rustic. Future versions of this ebuild need
to verify that rustic and duplicity both exist to allow
migration of existing backups.

Bug: https://bugs.gentoo.org/959705
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45035
Closes: https://github.com/gentoo/gentoo/pull/45035
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-16 23:18:34 +00:00

59 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson gnome2-utils vala xdg
DESCRIPTION="Simple backup tool using duplicity back-end"
HOMEPAGE="https://apps.gnome.org/DejaDup/"
SRC_URI="https://gitlab.gnome.org/World/deja-dup/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
$(vala_depend)
dev-util/itstool
sys-devel/gettext
virtual/pkgconfig
test? ( dev-libs/appstream-glib )
"
DEPEND="
>=gui-libs/libadwaita-1.0:1
>=dev-libs/glib-2.70.0:2
>=dev-libs/libgpg-error-1.33
>=gui-libs/gtk-4.6:4
>=dev-libs/json-glib-1.2
>=dev-libs/glib-2.64:2[dbus]
>=app-crypt/libsecret-0.18.6[vala]
>=net-libs/libsoup-3.0:3.0
>=app-backup/duplicity-0.8.21
"
RDEPEND="${DEPEND}
gnome-base/dconf
gnome-base/gvfs[fuse]
"
src_prepare() {
default
vala_setup
}
pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}