diff --git a/srcpkgs/scrotty/patches/fish-completion-vendor.patch b/srcpkgs/scrotty/patches/fish-completion-vendor.patch new file mode 100644 index 00000000000..9d232716184 --- /dev/null +++ b/srcpkgs/scrotty/patches/fish-completion-vendor.patch @@ -0,0 +1,20 @@ +#reason: fish-shell requires 3rd-party completion files to be installed to vendor_completions.d + +--- mk/shell.mk ++++ mk/shell.mk +@@ -189,12 +189,12 @@ + .PHONY: install-fish + install-fish: $(foreach F,$(_AUTO_COMPLETE),bin/$(F).fish-completion) + @$(PRINTF_INFO) '\e[00;01;31mINSTALL\e[34m %s\e[00m\n' "$@" +- $(Q)$(INSTALL_DIR) -- "$(DESTDIR)$(DATADIR)/fish/completions" ++ $(Q)$(INSTALL_DIR) -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d" + ifndef __SHELL_COMMAND +- $(Q)$(foreach F,$(_AUTO_COMPLETE),$(INSTALL_DATA) bin/$(F).fish-completion -- "$(DESTDIR)$(DATADIR)/fish/completions/$(F).fish" &&) $(TRUE) ++ $(Q)$(foreach F,$(_AUTO_COMPLETE),$(INSTALL_DATA) bin/$(F).fish-completion -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(F).fish" &&) $(TRUE) + endif + ifdef __SHELL_COMMAND +- $(Q)$(INSTALL_DATA) $^ -- "$(DESTDIR)$(DATADIR)/fish/completions/$(COMMAND).fish" ++ $(Q)$(INSTALL_DATA) $^ -- "$(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(COMMAND).fish" + endif + @$(ECHO_EMPTY) + diff --git a/srcpkgs/scrotty/template b/srcpkgs/scrotty/template index 2756cf5ad75..13b03a1d156 100644 --- a/srcpkgs/scrotty/template +++ b/srcpkgs/scrotty/template @@ -1,9 +1,9 @@ # Template file for 'scrotty' pkgname=scrotty version=2.0 -revision=2 +revision=3 build_style=gnu-configure -hostmakedepends="pkg-config auto-auto-complete" +hostmakedepends="auto-auto-complete gettext pkg-config texinfo" makedepends="libpng-devel" depends="ImageMagick" short_desc="Framebuffer screenshoter"