wok rev 24085

tuxpaint: do not run kbuildsycoca4 without kde
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 14:52:46 2021 +0000 (2021-07-10)
parents 7344f15111e2
children 9773d49d458c
files tuxpaint/receipt tuxpaint/stuff/Makefile.u
line diff
     1.1 --- a/tuxpaint/receipt	Sat Jul 10 13:06:31 2021 +0000
     1.2 +++ b/tuxpaint/receipt	Sat Jul 10 14:52:46 2021 +0000
     1.3 @@ -28,9 +28,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
     1.7 +	patch -p0 < $stuff/Makefile.u
     1.8  
     1.9  	make -j1 PREFIX=/usr &&
    1.10 -	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.11 +	make -j1 PREFIX=/usr DESTDIR=$DESTDIR install
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tuxpaint/stuff/Makefile.u	Sat Jul 10 14:52:46 2021 +0000
     2.3 @@ -0,0 +1,12 @@
     2.4 +--- Makefile
     2.5 ++++ Makefile
     2.6 +@@ -785,8 +785,8 @@
     2.7 + 	  install -d $(DESTDIR)$(KDE_PREFIX); \
     2.8 + 	  cp src/tuxpaint.desktop $(DESTDIR)$(KDE_PREFIX)/; \
     2.9 + 	  chmod 644 $(DESTDIR)$(KDE_PREFIX)/tuxpaint.desktop; \
    2.10 ++	  kbuildsycoca4; \
    2.11 + 	fi
    2.12 +-	kbuildsycoca4
    2.13 + 
    2.14 + .PHONY: install-kde-icons
    2.15 + install-kde-icons: