patch-Makefile_in 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --- xbmc-13.0rc1.orig/Makefile.in 2014-04-30 15:45:06.000000000 +0200
  2. +++ xbmc-13.0rc1/Makefile.in 2014-05-03 15:31:00.000000000 +0200
  3. @@ -586,25 +586,6 @@ install-arch:
  4. ifeq (@USE_PVR_ADDONS@,1)
  5. $(MAKE) -C pvr-addons install
  6. endif
  7. -ifeq ($(findstring freebsd,@ARCH@), freebsd)
  8. - @find -E system addons -type f -not -iregex ".*svn.*" \
  9. - -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs" \
  10. - -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \
  11. - -and \
  12. - -exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \
  13. - -exec printf " -- %-75.75s\r" "{}" \;
  14. -else
  15. -ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
  16. - @find -E system addons -type f -not -iregex ".*svn.*" \
  17. - -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs" \
  18. - -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \
  19. - -and \
  20. - -exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \
  21. - -exec printf " -- %-75.75s\r" "{}" \;
  22. -else
  23. - @find system addons -regextype posix-extended -type f -not -iregex ".*svn.*" -iregex ".*\.so|.*\.vis|.*\.xbs|.*\.pvr" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
  24. -endif
  25. -endif
  26. install-scripts:
  27. @install -d $(DESTDIR)$(bindir)
  28. @@ -624,26 +605,7 @@ install-datas: install-scripts
  29. @echo "Done!"
  30. @echo "Copying system files to $(DESTDIR)$(datarootdir)/xbmc"
  31. @install -d $(DESTDIR)$(datarootdir)/xbmc
  32. - @# Arch independent files
  33. -ifeq ($(findstring bsd,@ARCH@), bsd)
  34. - @find -E addons language media sounds userdata system -type f \
  35. - -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \
  36. - -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \
  37. - -and \
  38. - -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \
  39. - -exec printf " -- %-75.75s\r" "{}" \;
  40. -else
  41. -ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
  42. - @find -E addons language media sounds userdata system -type f \
  43. - -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|$(subst ${space},|,$(INSTALL_FILTER))" \
  44. - -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \
  45. - -and \
  46. - -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \
  47. - -exec printf " -- %-75.75s\r" "{}" \;
  48. -else
  49. @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pvr|$(subst ${space},|,$(INSTALL_FILTER))" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
  50. -endif
  51. -endif
  52. @# Icons and links
  53. @install -d $(DESTDIR)$(datarootdir)/applications
  54. @install tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop