From f6401a8ce301f8f7a3640938e8b3b6262cbb28e6 Mon Sep 17 00:00:00 2001
From: Jan Kotanski <jankotan@gmail.com>
Date: Tue, 3 Jul 2018 08:34:14 +0200
Subject: [PATCH] add bzip2 and bitshuffle

---
 debian/control | 16 ++++++++++++++++
 debian/rules   |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 2fccf02..8f90ead 100644
--- a/debian/control
+++ b/debian/control
@@ -19,3 +19,19 @@ Pre-Depends: ${misc:Pre-Depends}
 Description: HDF5 plugin - LZ4 compression
  LZ4 compression filter for the HDF5 library. 
 
+Package: hdf5-plugin-bzip2
+Section: science
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},hdf5-plugins-common
+Pre-Depends: ${misc:Pre-Depends}
+Description: HDF5 plugin - BZIP2 compression
+ BZIP2 compression filter for the HDF5 library. 
+
+Package: hdf5-plugin-bitshuffle
+Section: science
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},hdf5-plugins-common
+Pre-Depends: ${misc:Pre-Depends}
+Description: HDF5 plugin - Bit Shuffle compression
+ Bit Shuffle compression filter for the HDF5 library. 
+
diff --git a/debian/rules b/debian/rules
index 5aa18eb..1978508 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ GNUARCH:=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 #	@echo nothing to do for dh_install
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DENABLE_LZ4_PLUGIN=ON -DCMAKE_INSTALL_LIBDIR=$(DEST)/usr/lib/$(GNUARCH)/hdf5
+	dh_auto_configure -- -DENABLE_LZ4_PLUGIN=ON -DENABLE_BZIP2_PLUGIN=ON -DENABLE_BITSHUFFLE_PLUGIN=ON -DCMAKE_INSTALL_LIBDIR=$(DEST)/usr/lib/$(GNUARCH)/hdf5
 
 #override_dh_auto_configure:
 #	dh_auto_configure -- --disable-static --libdir=$(DEST)/usr/lib/$(GNUARCH)/hdf5/plugins
-- 
GitLab