63 lines
1.1 KiB
Bash
63 lines
1.1 KiB
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit eutils gnome2 vala meson
|
|
|
|
DESCRIPTION="Simple backup tool using duplicity back-end"
|
|
HOMEPAGE="https://launchpad.net/deja-dup/"
|
|
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/${PV}/${PN}-${PV}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="nautilus test"
|
|
RESTRICT="test" # bug#????
|
|
|
|
COMMON_DEPEND="
|
|
app-admin/packagekit-base
|
|
app-crypt/libsecret[vala]
|
|
>=dev-libs/glib-2.34:2[dbus]
|
|
>=dev-libs/libpeas-1.0
|
|
>=x11-libs/gtk+-3.10:3
|
|
>=x11-libs/libnotify-0.7
|
|
>=app-backup/duplicity-0.6.23
|
|
dev-libs/dbus-glib
|
|
nautilus? ( gnome-base/nautilus )
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
gnome-base/dconf
|
|
gnome-base/gvfs[fuse]
|
|
"
|
|
DEPEND="${COMMON_DEPEND}
|
|
$(vala_depend)
|
|
app-text/yelp-tools
|
|
dev-perl/Locale-gettext
|
|
virtual/pkgconfig
|
|
dev-util/intltool
|
|
sys-devel/gettext
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
}
|
|
|
|
pkg_postinst() {
|
|
gnome2_icon_cache_update
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
|
}
|
|
|
|
pkg_postrm() {
|
|
gnome2_icon_cache_update
|
|
}
|
|
|