[numix-gtk-theme] 01/02: Depend on numix-icon-theme on Debian

Jeremy Bicha jbicha at moszumanska.debian.org
Sat Nov 25 18:12:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

jbicha pushed a commit to branch master
in repository numix-gtk-theme.

commit 3d392cfec62dcd4ff464e9c1b656723ba42072fd
Author: Jeremy Bicha <jbicha at debian.org>
Date:   Sat Nov 25 13:04:53 2017 -0500

    Depend on numix-icon-theme on Debian
---
 debian/control |  1 +
 debian/rules   | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 2a39f98..75230f5 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Architecture: all
 Depends:
  gtk2-engines-murrine (>= 0.98),
  ${misc:Depends},
+ ${icon-theme:Depends}
 Description: modern flat theme from the Numix project
  Numix is a modern flat theme with a combination of light and dark
  elements for any GTK-based desktop environment, including GNOME Shell,
diff --git a/debian/rules b/debian/rules
index 9ae8f9f..84695e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,17 @@
 %:
 	dh $@
 
-# https://github.com/numixproject/numix-gtk-theme/issues/490
+# https://github.com/numixproject/numix-gtk-theme/pull/690
 override_dh_fixperms:
 	dh_fixperms
-	find -type f -exec chmod -x {} \;
+	find debian/numix-gtk-theme -type f -exec chmod -x {} \;
+
+override_dh_gencontrol:
+ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
+	dh_gencontrol -- -Vicon-theme:Depends='adwaita-icon-theme'
+else
+	dh_gencontrol -- -Vicon-theme:Depends='numix-icon-theme'
+endif
 
 get-orig-source:
 	uscan --noconf --force-download --rename --download-current-version --destdir=..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/numix-gtk-theme.git



More information about the pkg-mate-commits mailing list