diff options
Diffstat (limited to 'multimedia/xbmc/files/patch-Makefile.in')
-rw-r--r-- | multimedia/xbmc/files/patch-Makefile.in | 145 |
1 files changed, 9 insertions, 136 deletions
diff --git a/multimedia/xbmc/files/patch-Makefile.in b/multimedia/xbmc/files/patch-Makefile.in index b2166dbffeaf..1b18baf73dd8 100644 --- a/multimedia/xbmc/files/patch-Makefile.in +++ b/multimedia/xbmc/files/patch-Makefile.in @@ -1,141 +1,14 @@ ---- Makefile.in.orig 2010-12-17 07:17:41.000000000 +0100 -+++ Makefile.in 2011-02-23 22:22:13.000000000 +0100 -@@ -71,7 +71,6 @@ - xbmc/cores/paplayer/timidity \ - xbmc/cores/paplayer/SIDCodec \ - xbmc/cores/paplayer/YMCodec/StSoundLibrary \ -- xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU \ - xbmc/cores/paplayer/vgmstream \ - - ifeq (@USE_INTERNAL_LIBA52@,1) -@@ -363,9 +362,6 @@ +--- ./Makefile.in.orig 2011-12-23 04:12:21.000000000 +0100 ++++ ./Makefile.in 2012-01-02 10:14:38.000000000 +0100 +@@ -286,9 +286,11 @@ endif endif - $(MAKE) -C xbmc/cores/paplayer/YMCodec/StSoundLibrary --ifeq ($(or $(findstring powerpc,$(ARCH)),$(findstring x86_64-linux,$(ARCH)),$(findstring arm, $(ARCH))),) -- $(MAKE) -C xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU --endif - imagelib: dllloader - $(MAKE) -C xbmc/lib/cximage-6.0 - -@@ -502,7 +498,8 @@ - $(MAKE) -C tools/XBMCLive - - install-bin: xbmc.bin # developement convenience target -- sudo install -D xbmc.bin $(DESTDIR)$(libdir)/xbmc -+ sudo install -d $(DESTDIR)$(libdir) -+ sudo install xbmc.bin $(DESTDIR)$(libdir)/xbmc - - ifeq ($(findstring osx,$(ARCH)), osx) - # TODO: add osx install -@@ -511,45 +508,93 @@ - - install-binaries: install-scripts - @echo "Copying XBMC binary to $(DESTDIR)$(libdir)/xbmc/xbmc.bin" -- @install -D xbmc.bin $(DESTDIR)$(libdir)/xbmc/xbmc.bin -- @install -D xbmc-xrandr $(DESTDIR)$(libdir)/xbmc/xbmc-xrandr -+ @install -d $(DESTDIR)$(libdir)/xbmc -+ @install xbmc.bin $(DESTDIR)$(libdir)/xbmc/xbmc.bin -+ @install xbmc-xrandr $(DESTDIR)$(libdir)/xbmc/xbmc-xrandr - @echo "You can run XBMC with the command 'xbmc'" + $(MAKE) -C lib/stsound/StSoundLibrary ++ifneq ($(findstring freebsd,@ARCH@), freebsd) + ifeq ($(or $(findstring powerpc,@ARCH@),$(findstring x86_64-linux,@ARCH@),$(findstring arm, @ARCH@)),) + $(MAKE) -C lib/snesapu/SNES/SNESAPU endif - - install-arch: - @# Arch dependent files -+ifeq ($(findstring bsd,$(ARCH)), bsd) -+ @find -E system addons -type f -not -iregex ".*svn.*|.*script\.module\..*" \ -+ -iregex ".*$(ARCH).*|.*\.vis|.*\.xbs|.*python.*\.zip" \ -+ -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \ -+ -and \ -+ -exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \ -+ -exec printf " -- %-75.75s\r" "{}" \; -+else -+ifeq ($(findstring osx,$(ARCH)), osx) -+ @find -E system addons -type f -not -iregex ".*svn.*|.*script\.module\..*" \ -+ -iregex ".*$(ARCH).*|.*\.vis|.*\.xbs|.*python.*\.zip" \ -+ -exec sh -c "install -d \"$(DESTDIR)$(libdir)/xbmc/\`dirname '{}'\`\"" \; \ -+ -and \ -+ -exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \ -+ -exec printf " -- %-75.75s\r" "{}" \; -+else - @find system addons -regextype posix-extended -type f -not -iregex ".*svn.*|.*script\.module\..*" -iregex ".*$(ARCH).*|.*\.vis|.*\.xbs|.*python.*\.zip" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" -+endif +endif -+ @install -d $(DESTDIR)$(libdir)/xbmc/addons - @cp -r addons/script.module.pil $(DESTDIR)$(libdir)/xbmc/addons/ - @cp -r addons/script.module.pysqlite $(DESTDIR)$(libdir)/xbmc/addons/ - - install-scripts: -- @install -D tools/Linux/xbmc.sh $(DESTDIR)$(bindir)/xbmc -- @install -D tools/Linux/xbmc-standalone.sh $(DESTDIR)$(bindir)/xbmc-standalone -- @install -D -m 0644 tools/Linux/FEH.py $(DESTDIR)$(datarootdir)/xbmc/FEH.py -- @install -D -m 0644 tools/Linux/xbmc-xsession.desktop $(DESTDIR)$(datarootdir)/xsessions/XBMC.desktop -+ @install -d $(DESTDIR)$(bindir) -+ @install tools/Linux/xbmc.sh $(DESTDIR)$(bindir)/xbmc -+ @install tools/Linux/xbmc-standalone.sh $(DESTDIR)$(bindir)/xbmc-standalone -+ @install -d $(DESTDIR)$(datarootdir)/xbmc -+ @install -m 0644 tools/Linux/FEH.py $(DESTDIR)$(datarootdir)/xbmc/FEH.py -+ @install -d $(DESTDIR)$(datarootdir)/xsessions -+ @install -m 0644 tools/Linux/xbmc-xsession.desktop $(DESTDIR)$(datarootdir)/xsessions/XBMC.desktop - - install-datas: install-scripts - @echo "Copying support and legal files..." -+ @install -d $(DESTDIR)$(docdir) - @for FILE in `ls README.linux LICENSE.GPL *.txt`; do \ -- install -D -m 0644 "$$FILE" "$(DESTDIR)$(docdir)/$$FILE"; done -+ install -m 0644 "$$FILE" "$(DESTDIR)$(docdir)/$$FILE"; done - @echo "Done!" - @echo "Copying system files to $(DESTDIR)$(datarootdir)/xbmc" -+ @install -d $(DESTDIR)$(datarootdir)/xbmc - @# Arch independent files -- @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*script\.module\..*|.*$(ARCH).*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python.*\.zip" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r" -+ifeq ($(findstring bsd,$(ARCH)), bsd) -+ @find -E addons language media sounds userdata system -type f \ -+ -not -iregex ".*script\.module\..*|.*$(ARCH).*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python.*\.zip" \ -+ -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \ -+ -and \ -+ -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \ -+ -exec printf " -- %-75.75s\r" "{}" \; -+else -+ifeq ($(findstring osx,$(ARCH)), osx) -+ @find -E addons language media sounds userdata system -type f \ -+ -not -iregex ".*script\.module\..*|.*$(ARCH).*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python.*\.zip" \ -+ -exec sh -c "install -d \"$(DESTDIR)$(datarootdir)/xbmc/\`dirname '{}'\`\"" \; \ -+ -and \ -+ -exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \ -+ -exec printf " -- %-75.75s\r" "{}" \; -+else -+ @find addons language media sounds userdata system -regextype posix-extended -type f \ -+ -not -iregex ".*script\.module\..*|.*$(ARCH).*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python.*\.zip" \ -+ -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \ -+ -printf " -- %-75.75f\r" -+endif -+endif - @# Icons and links -- @mkdir -p $(DESTDIR)$(datarootdir)/applications -- @cp -a tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/ -- @install -D -m 0644 tools/Linux/xbmc-48x48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xbmc.png -- @install -D -m 0644 media/icon.png $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps/xbmc.png -+ @install -d $(DESTDIR)$(datarootdir)/applications -+ @install tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop -+ @install -d $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps -+ @install -m 0644 tools/Linux/xbmc-48x48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xbmc.png -+ @install -d $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps -+ @install -m 0644 media/icon.png $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps/xbmc.png - @test -z "$(DESTDIR)" && gtk-update-icon-cache -f -q -t $(datadir)/icons/hicolor || : - - install-livedatas: livedatas - @echo "Install Live CD datas..." -- @mkdir -p $(DESTDIR)$(bindir) -- @install -D tools/XBMCLive/diskmounter $(DESTDIR)$(bindir)/diskmounter -- @install -D tools/XBMCLive/installXBMC $(DESTDIR)$(bindir)/installXBMC -- @install -D tools/XBMCLive/runXBMC $(DESTDIR)$(bindir)/runXBMC -- @install -D tools/XBMCLive/setAlsaVolumes $(DESTDIR)$(bindir)/setAlsaVolumes -+ @install -d $(DESTDIR)$(bindir) -+ @install tools/XBMCLive/diskmounter $(DESTDIR)$(bindir)/diskmounter -+ @install tools/XBMCLive/installXBMC $(DESTDIR)$(bindir)/installXBMC -+ @install tools/XBMCLive/runXBMC $(DESTDIR)$(bindir)/runXBMC -+ @install tools/XBMCLive/setAlsaVolumes $(DESTDIR)$(bindir)/setAlsaVolumes + imagelib: dllloader + $(MAKE) -C lib/cximage-6.0 - uninstall: - @echo "Removing XBMC..." |