Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[darwin-deps] - added build for libboblight (not hooked up to be auto…

… built - only for using our nice buildsys when bumps are needed for boblight addon)
  • Loading branch information...
commit f608bcca0ef71154bd9e97cbad3e573add7c4095 1 parent ddb0d83
Memphiz Memphiz authored

Showing 1 changed file with 46 additions and 0 deletions. Show diff stats Hide diff stats

  1. +46 0 tools/darwin/depends/libboblight/Makefile
46 tools/darwin/depends/libboblight/Makefile
... ... @@ -0,0 +1,46 @@
  1 +include ../Makefile.include
  2 +include ../config.site.mk
  3 +
  4 +#hint for building a fat lib - "lipo -arch i386 libboblight-i386.dylib -arch x86_64 libboblight-x86_64.dylib -output libboblight-fat.dylib"
  5 +
  6 +# lib name, version
  7 +LIBNAME=libboblight
  8 +VERSION=r429
  9 +SOURCE=$(LIBNAME)-$(VERSION)
  10 +ARCHIVE=$(SOURCE).tar.gz
  11 +
  12 +# configuration settings
  13 +CONFIGURE=./configure --prefix=$(PREFIX) \
  14 + --without-opengl \
  15 + --without-portaudio \
  16 + --without-x11
  17 +
  18 +LIBDYLIB=$(SOURCE)/src/.libs/$(LIBNAME).dylib
  19 +
  20 +CLEAN_FILES=$(ARCHIVE) $(SOURCE)
  21 +
  22 +all: $(LIBDYLIB) .installed
  23 +
  24 +$(TARBALLS_LOCATION)/$(ARCHIVE):
  25 + $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
  26 +
  27 +$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
  28 + -rm -rf $(SOURCE)
  29 + $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
  30 + echo $(SOURCE) > .gitignore
  31 + cd $(SOURCE); autoreconf -vif
  32 + cd $(SOURCE); $(CONFIGURE)
  33 +
  34 +$(LIBDYLIB): $(SOURCE)
  35 + make -C $(SOURCE)
  36 +
  37 +.installed:
  38 + echo "libboblight isn't a dependency of XBMC and won't be installed"
  39 + touch $@
  40 +clean:
  41 + make -C $(SOURCE) clean
  42 + rm -r .installed
  43 + rm -rf $(SOURCE)
  44 +
  45 +distclean::
  46 + rm -rf $(SOURCE) .installed

0 comments on commit f608bcc

Please sign in to comment.
Something went wrong with that request. Please try again.