1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
%:
dh $@
# Choosing a default icon theme is required for Numix to show up in
# MATE's theme picker (mate-appearance-properties)
# But Ubuntu Developers don't want to install numix-icon-theme by default.
# For instance, Xubuntu wants to include numix-gtk-theme by default, but
# not be forced to install the theme.
execute_after_dh_auto_install:
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
sed -i s/IconTheme=Numix/IconTheme=Adwaita/ \
debian/numix-gtk-theme/usr/share/themes/Numix/index.theme
endif
rm -rf debian/numix-gtk-theme/usr/share/themes/*/gtk-2.0
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
|