Add Caja extension data
[git/cygwin-packages/deja-dup.git] / deja-dup.cygport
CommitLineData
600a2d68 1inherit cmake
0a6d0c23
YS
2
3NAME="deja-dup"
ae31f1f4 4VERSION=34.0
600a2d68 5RELEASE=1
341e65b5 6CATEGORY="GNOME"
0a6d0c23
YS
7SUMMARY="GNOME backup tool"
8DESCRIPTION="Deja Dup is a simple backup tool. It hides the complexity
9of backing up the Right Way (encrypted, off-site, and regular) and uses
10duplicity as the backend."
11HOMEPAGE="https://launchpad.net/deja-dup/"
650d0c51 12SRC_URI="https://launchpad.net/deja-dup/${VERSION%%.*}/${VERSION}/+download/${NAME}-${VERSION}.tar.xz"
600a2d68 13PATCH_URI="01-cmake-install.patch
1d9e60e2
YS
14 02-plugin-loader.patch
15 03-caja-extension.patch
600a2d68 16 04-help2man-PATH.patch
1d9e60e2 17"
0a6d0c23 18
0f23f17d 19PKG_NAMES="deja-dup nautilus-deja-dup caja-deja-dup"
0a6d0c23 20deja_dup_REQUIRES="duplicity"
c0d1c697 21deja_dup_CONTENTS="--exclude=*.dll.a --exclude=caja etc/ usr/bin/ usr/libexec/ usr/share/"
0a6d0c23
YS
22nautilus_deja_dup_SUMMARY="Nautilus Deja-Dup backup plugin"
23nautilus_deja_dup_REQUIRES=${NAME}
24nautilus_deja_dup_CONTENTS="usr/lib/nautilus/"
0f23f17d
YS
25caja_deja_dup_CATEGORY="MATE"
26caja_deja_dup_SUMMARY="Caja Deja-Dup backup plugin"
27caja_deja_dup_OBSOLETES="mate-file-manager-deja-dup"
28caja_deja_dup_REQUIRES=${NAME}
c0d1c697 29caja_deja_dup_CONTENTS="usr/lib/caja/ usr/share/caja/"
0a6d0c23
YS
30
31# generated by valac
32DIFF_EXCLUDES="*.c *.h *.stamp *.vapi"
33
a4b16da3
YS
34CYGPORT_USE_UNSTABLE_API=1
35src_patch_hook() {
36 inform "Creating Caja extension"
c0d1c697 37 for f in NautilusExtension.c NautilusExtension.h
a4b16da3
YS
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
600a2d68
YS
44CYGCMAKE_ARGS="
45 -DCMAKE_INSTALL_SYSCONFDIR=/etc
46 -DENABLE_NAUTILUS=1
47 -DENABLE_CAJA=1
48"
This page took 0.06339 seconds and 5 git commands to generate.