summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2017-11-25 18:04:53 (GMT)
committerJeremy Bicha <jbicha@debian.org>2017-11-25 18:10:59 (GMT)
commit3d392cfec62dcd4ff464e9c1b656723ba42072fd (patch)
tree75947d20b86398a5c629435ae6917fb18de79697
parentda739da2951162592d1b11d79567b509310eeaf7 (diff)
Depend on numix-icon-theme on Debian
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules11
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=..