Add Caja extension data
[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 --exclude=caja 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/ usr/share/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 for f in NautilusExtension.c NautilusExtension.h
38 do
39 sed -e 's/NAUTILUS/CAJA/g;s/Nautilus/Caja/g;s/nautilus/caja/g' \
40 deja-dup/nautilus/$f > deja-dup/caja/${f/Nautilus/Caja}
41 done
42 }
43
44 CYGCMAKE_ARGS="
45 -DCMAKE_INSTALL_SYSCONFDIR=/etc
46 -DENABLE_NAUTILUS=1
47 -DENABLE_CAJA=1
48 "
This page took 0.035089 seconds and 5 git commands to generate.