Skip to content
Browse files

cec: get libCEC-latest from packages.pulse-eight.net, so it can be up…

…dated separately, e.g. to add vendor support
  • Loading branch information...
1 parent 689be59 commit a4dcf1ccebe7c1922f4dcbd67eafe2f5e0f41b88 @opdenkamp opdenkamp committed Mar 19, 2012
Showing with 29 additions and 29 deletions.
  1. +15 −15 lib/libcec/Makefile
  2. +1 −1 project/BuildDependencies/scripts/libcec_d.txt
  3. +13 −13 tools/darwin/depends/libcec/Makefile
View
30 lib/libcec/Makefile
@@ -7,48 +7,48 @@
# lib name, version
LIBNAME=libcec
-VERSION=1.5.1
+VERSION=latest
SOURCE=$(LIBNAME)-$(VERSION)
# download location and format
-BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
-ARCHIVE=$(SOURCE).tar.gz
+BASE_URL=http://packages.pulse-eight.net/pulse/sources/libcec
+ARCHIVE=$(SOURCE).tar.bz2
TARBALLS_LOCATION=.
RETRIEVE_TOOL=/usr/bin/curl
RETRIEVE_TOOL_FLAGS=-Ls --create-dirs --output $(TARBALLS_LOCATION)/$(ARCHIVE)
ARCHIVE_TOOL=tar
-ARCHIVE_TOOL_FLAGS=xf
+ARCHIVE_TOOL_FLAGS=jxf
PREFIX ?= /usr/local
LIBCEC_CONFIGOPTS ?= --prefix=$(PREFIX)
# configuration settings
CONFIGURE=./configure CFLAGS=-D_FILE_OFFSET_BITS=64 $(LIBCEC_CONFIGOPTS)
-SO_NAME=$(SOURCE)/.libs/$(LIBNAME).so
+SO_NAME=$(LIBNAME)/.libs/$(LIBNAME).so
all: $(SO_NAME)
$(TARBALLS_LOCATION)/$(ARCHIVE):
$(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
+$(LIBNAME): $(TARBALLS_LOCATION)/$(ARCHIVE)
+ rm -rf $(LIBNAME)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); autoreconf -vif
- cd $(SOURCE); $(CONFIGURE)
+ echo $(LIBNAME) > .gitignore
+ cd $(LIBNAME); autoreconf -vif
+ cd $(LIBNAME); $(CONFIGURE)
-$(SO_NAME): $(SOURCE)
- make -j 1 -C $(SOURCE)
+$(SO_NAME): $(LIBNAME)
+ make -j 1 -C $(LIBNAME)
install:
- make -C $(SOURCE) install
+ make -C $(LIBNAME) install
ldconfig
clean:
- rm -rf $(SOURCE)
+ rm -rf $(LIBNAME)
distclean::
- rm -rf $(SOURCE)
+ rm -rf $(LIBNAME)
View
2 project/BuildDependencies/scripts/libcec_d.txt
@@ -1,3 +1,3 @@
; filename source of the file
-libcec1.5.1.zip http://packages.pulse-eight.net/windows/
+libcec-latest.zip http://packages.pulse-eight.net/windows/
View
26 tools/darwin/depends/libcec/Makefile
@@ -2,37 +2,37 @@ include ../Makefile.include
# lib name, version
LIBNAME=libcec
-VERSION=1.5.1
+VERSION=latest
SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
+ARCHIVE=$(SOURCE).tar.bz2
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX)
-LIBDYLIB=$(SOURCE)/.libs/$(LIBNAME).dylib
+LIBDYLIB=$(LIBNAME)/.libs/$(LIBNAME).dylib
all: $(LIBDYLIB) .installed
$(TARBALLS_LOCATION)/$(ARCHIVE):
$(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
+$(LIBNAME): $(TARBALLS_LOCATION)/$(ARCHIVE)
+ rm -rf $(LIBNAME)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); autoreconf -vif
- cd $(SOURCE); $(CONFIGURE)
+ echo $(LIBNAME) > .gitignore
+ cd $(LIBNAME); autoreconf -vif
+ cd $(LIBNAME); $(CONFIGURE)
-$(LIBDYLIB): $(SOURCE)
- make -j 1 -C $(SOURCE)
+$(LIBDYLIB): $(LIBNAME)
+ make -j 1 -C $(LIBNAME)
.installed:
- make -C $(SOURCE) install
+ make -C $(LIBNAME) install
touch $@
clean:
- rm -rf $(SOURCE) .installed
+ rm -rf $(LIBNAME) .installed
distclean::
- rm -rf $(SOURCE) .installed
+ rm -rf $(LIBNAME) .installed

0 comments on commit a4dcf1c

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