$(PROTOC) $< --c_out .
EXTRA_DIST = COPYING.LGPL README
+
+deb-%: debian/changelog
+ fakeroot debian/rules $(patsubst deb-%,%,$@)
+
+debian/changelog: debian/changelog.in
+ @COMMITDESC=$$(git describe --tags | sed 's/v\(.*\)-g[0-9a-f]\+/\1/'); \
+ COMMITDATE=$$(git show -s --format=%cD); \
+ sed -e "s/%COMMITDESC%/$$COMMITDESC/" -e "s/%COMMITDATE%/$$COMMITDATE/" $< > $@
+
--- /dev/null
+pidgin-chime (%COMMITDESC%) xenial; urgency=low
+
+ * Build from git snapshot
+
+ -- David Woodhouse <dwmw@amazon.com> %COMMITDATE%
--- /dev/null
+Source: pidgin-chime
+Section: net
+Priority: optional
+Maintainer: David Woodhouse <dwmw@amazon.co.uk>
+Homepage: https://code.amazon.com/pkg/PurpleChime
+Standards-Version: 3.9.7
+Build-Depends: debhelper (>= 9),
+ autoconf,
+ automake,
+ libtool,
+ libpurple-dev,
+ pidgin-dev,
+ autotools-dev,
+ libsoup2.4-dev,
+ libjson-glib-dev,
+ libopus-dev,
+ libfarstream-0.2-dev,
+ libprotobuf-c-dev,
+ protobuf-c-compiler,
+ libmarkdown2-dev,
+ evolution-dev,
+ libebook1.2-dev,
+ libecal1.2-dev,
+ evolution-data-server-dev,
+ graphicsmagick-imagemagick-compat
+
+Package: pidgin-chime
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libfarstream-0.2-5 (>= 0.2.7)
+Description: Pidgin plugin for AWS Chime communication platform
+ This package provides the libpurple plugin that implements the
+ protocols to connect with the Chime communication services provided by
+ Amazon Web Services (http://chime.aws).
+
+Package: pidgin-chime-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${misc:Depends}, pidgin-chime (= ${binary:Version})
+Description: debugging symbols of pidgin-chime
+ This package provides the libpurple plugin that implements the
+ protocols to connect with the Chime communication services provided by
+ Amazon Web Services (http://chime.aws).
+ .
+ Debugging symbols.
--- /dev/null
+Format: http://dep.debian.net/deps/dep5
+Source: https://github.com/awslabs/PRIVATE-purple-chime
+
+Files: *
+Copyright: 2017, David Woodhouse <dwmw@amazon.co.uk>
+License: LGPL-2.1
+ This is proprietary unpublished source code of Amazon. However, the
+ intent is that it should be *possible* to release it under LGPL.
+ .
+ Therefore, do not incorporate any code into this repository which may
+ not be licensed under the terms of the GNU LGPL v2.1, as stated in the
+ file `/usr/share/common-licenses/LGPL-2.1'.
--- /dev/null
+usr/lib/purple-2/*.so usr/lib/purple-2
+usr/share/* usr/share
+usr/lib/x86_64-linux-gnu/farstream-0.2/* usr/lib/x86_64-linux-gnu/farstream-0.2
+usr/lib/evolution/modules/* usr/lib/evolution/modules
+
--- /dev/null
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@ --with autotools-dev
+
+override_dh_auto_configure:
+ ./autogen.sh
+ dh_auto_configure
+
+override_dh_install:
+ dh_install
+ dh_pidgin
+
+override_dh_strip:
+ dh_strip --dbg-package=pidgin-chime-dbg