6165c1174f422f66a0ffd351575c52df88bef9ca
[git/cygwin-packages/deja-dup.git] / deja-dup.cygport
1 inherit cmake
2
3 NAME="deja-dup"
4 VERSION=34.0
5 RELEASE=1
6 CATEGORY="GNOME"
7 SUMMARY="GNOME backup tool"
8 DESCRIPTION="Deja Dup is a simple backup tool. It hides the complexity
9 of backing up the Right Way (encrypted, off-site, and regular) and uses
10 duplicity as the backend."
11 HOMEPAGE="https://launchpad.net/deja-dup/"
12 SRC_URI="https://launchpad.net/deja-dup/${VERSION%%.*}/${VERSION}/+download/${NAME}-${VERSION}.tar.xz"
13 PATCH_URI="01-cmake-install.patch
14 02-plugin-loader.patch
15 03-caja-extension.patch
16 04-help2man-PATH.patch
17 "
18
19 PKG_NAMES="deja-dup nautilus-deja-dup caja-deja-dup"
20 deja_dup_REQUIRES="duplicity"
21 deja_dup_CONTENTS="--exclude=*.dll.a etc/ usr/bin/ usr/libexec/ usr/share/"
22 nautilus_deja_dup_SUMMARY="Nautilus Deja-Dup backup plugin"
23 nautilus_deja_dup_REQUIRES=${NAME}
24 nautilus_deja_dup_CONTENTS="usr/lib/nautilus/"
25 caja_deja_dup_CATEGORY="MATE"
26 caja_deja_dup_SUMMARY="Caja Deja-Dup backup plugin"
27 caja_deja_dup_OBSOLETES="mate-file-manager-deja-dup"
28 caja_deja_dup_REQUIRES=${NAME}
29 caja_deja_dup_CONTENTS="usr/lib/caja/"
30
31 # generated by valac
32 DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
33
34 CYGPORT_USE_UNSTABLE_API=1
35 src_patch_hook() {
36 inform "Creating Caja extension"
37 mkdir -p deja-dup/caja
38 for f in CMakeLists.txt NautilusExtension.c NautilusExtension.h
39 do
40 sed -e 's/NAUTILUS/CAJA/g;s/Nautilus/Caja/g;s/nautilus/caja/g' \
41 deja-dup/nautilus/$f > deja-dup/caja/${f/Nautilus/Caja}
42 done
43 }
44
45 CYGCMAKE_ARGS="
46 -DCMAKE_INSTALL_SYSCONFDIR=/etc
47 -DENABLE_NAUTILUS=1
48 -DENABLE_CAJA=1
49 "
This page took 0.034026 seconds and 4 git commands to generate.