From 0dc34a7a8e8b18237b376c9cfe92956344b044c8 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <[email protected]>
Date: Mon, 25 Dec 2017 18:58:55 -0500
Subject: [PATCH] Don't require gtk2

Closes: #885209
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0948f32..919d080 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,10 @@ DEB_DH_INSTALL_ARGS_$(pkg) = /usr/share/themes
 DEB_DH_INSTALL_ARGS_$(pkg-icon) = usr/share/icons
 DEB_DH_INSTALL_ARGS_$(pkg-gtk2) = usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/*/engines/*.so
 
+# Quirk to avoid hard dependency on gtk2
+# https://bugs.debian.org/885209
+DEB_DH_SHLIBDEPS_ARGS_ALL += -- -xlibgtk2.0-0
+
 # Avoid empty changelog
 DEB_INSTALL_CHANGELOGS_ALL =
 

Reply via email to