deja-dup 34.3
[git/cygwin-packages/deja-dup.git] / deja-dup.cygport
1 inherit cmake
2
3 NAME="deja-dup"
4 VERSION=34.3
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 05-packagekit.patch
18 "
19
20 PKG_NAMES="deja-dup nautilus-deja-dup caja-deja-dup"
21 deja_dup_REQUIRES="duplicity"
22 deja_dup_CONTENTS="--exclude=*.dll.a --exclude=caja etc/ usr/bin/ usr/libexec/ usr/share/"
23 nautilus_deja_dup_SUMMARY="Nautilus Deja-Dup backup plugin"
24 nautilus_deja_dup_REQUIRES=${NAME}
25 nautilus_deja_dup_CONTENTS="usr/lib/nautilus/"
26 caja_deja_dup_CATEGORY="MATE"
27 caja_deja_dup_SUMMARY="Caja Deja-Dup backup plugin"
28 caja_deja_dup_OBSOLETES="mate-file-manager-deja-dup"
29 caja_deja_dup_REQUIRES=${NAME}
30 caja_deja_dup_CONTENTS="usr/lib/caja/ usr/share/caja/"
31
32 # generated by valac
33 DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
34
35 CYGPORT_USE_UNSTABLE_API=1
36 src_patch_hook() {
37 inform "Creating Caja/Nemo extensions"
38 for f in 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 sed -e 's/NAUTILUS/NEMO/g;s/Nautilus/Nemo/g;s/nautilus/nemo/g' \
43 deja-dup/nautilus/$f > deja-dup/caja/${f/Nautilus/Nemo}
44 done
45 }
46
47 CYGCMAKE_ARGS="
48 -DCMAKE_INSTALL_SYSCONFDIR=/etc
49 -DENABLE_NAUTILUS=1
50 -DENABLE_CAJA=1
51 -DENABLE_NEMO=0
52 "
This page took 0.035875 seconds and 5 git commands to generate.