aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libbluray/Makefile63
-rw-r--r--lib/librtmp/Makefile55
-rw-r--r--lib/librtmp/make_shared_lib_for_darwin-tag2.3.patch53
3 files changed, 0 insertions, 171 deletions
diff --git a/lib/libbluray/Makefile b/lib/libbluray/Makefile
deleted file mode 100644
index 4385541675..0000000000
--- a/lib/libbluray/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# libbluray build script for OSX darwin.
-#
-# A quick and dirty Makefile to download/build and install libbluray
-#
-# Darwin:
-# 10.4u.sdk is targeted so we can run on the AppleTV. Macports is assumed to
-# be used and the required lib depends installed.
-#
-# Linux: builds using the existing libbluray make system
-#
-# Usage:
-# make
-# sudo make install
-#
-# Darwin only:
-# make install_xbmc
-
-# get OS type from shell
-OSTYPE = $(shell uname)
-
-ifeq ($(OSTYPE),Darwin)
- prefix=/opt/local
- CFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
- LDFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
- CPPFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
-else
- prefix=/usr/local
-endif
-
-ifeq ($(OSTYPE),Darwin)
- LIBBLURAY = libbluray/src/.libs/libbluray.dylib
-else
- LIBBLURAY = libbluray/src/.libs/libbluray.so
-endif
-
-all:: $(LIBBLURAY)
-
-$(LIBBLURAY): libbluray/configure
- make -C libbluray
-
-libbluray/configure:
- if [ ! -d libbluray ]; then git clone git://git.videolan.org/libbluray.git; fi
- cd libbluray; ./bootstrap
-ifeq ($(OSTYPE),Darwin)
- cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
-else
- cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix)
-endif
-
-ifeq ($(OSTYPE),Darwin)
-install_xbmc: $(LIBBLURAY)
- cp $(LIBBLURAY) ../../system/
-endif
-
-install:
- make -C libbluray install
-
-clean:
- make -C libbluray clean
-
-distclean::
- rm -rf libbluray
diff --git a/lib/librtmp/Makefile b/lib/librtmp/Makefile
deleted file mode 100644
index b0611b0544..0000000000
--- a/lib/librtmp/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# rtmpdump build script for OSX darwin.
-#
-# A quick and dirty Makefile to download/build and install librtmp
-#
-# Darwin: librtmp is built as an .so on OSX for the ability to unload it.
-# 10.4u.sdk is targeted so we can run on the AppleTV. Macports is assumed to
-# be used and the required lib depends installed.
-#
-# Linux: builds using the existing librtmp make system
-#
-# Usage:
-# make
-# sudo make install
-
-# get OS type from shell
-OSTYPE = $(shell uname)
-
-ifeq ($(OSTYPE),Darwin)
- SYS=darwin
- prefix=/opt/local
- XCFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
- XLDFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
- MACHINE = $(shell uname -m)
- ifeq ($(findstring Power,$(MACHINE)), Power)
- arch = ppc
- else
- arch = i386
- endif
-else
- SYS=posix
- prefix=/usr
-endif
-
-LIBRTMP = librtmp/librtmp/librtmp.so
-
-all:: librtmp/librtmp/librtmp.so
-
-$(LIBRTMP): librtmp/Makefile
- make SYS=$(SYS) prefix=$(prefix) XCFLAGS="$(XCFLAGS)" XLDFLAGS="$(XLDFLAGS)" -C librtmp/librtmp
-
-librtmp/Makefile:
- svn export svn://svn.mplayerhq.hu/rtmpdump/tags/rel-2.3 librtmp
-ifeq ($(OSTYPE),Darwin)
- cd librtmp; patch -p1 < ../make_shared_lib_for_darwin-tag2.3.patch
-endif
-
-install:
- make SYS=$(SYS) prefix=$(prefix) -C librtmp/librtmp install
-
-clean:
- make SYS=$(SYS) prefix=$(prefix) -C librtmp/librtmp clean
-
-distclean::
- rm -rf librtmp
diff --git a/lib/librtmp/make_shared_lib_for_darwin-tag2.3.patch b/lib/librtmp/make_shared_lib_for_darwin-tag2.3.patch
deleted file mode 100644
index 1c65ce9acf..0000000000
--- a/lib/librtmp/make_shared_lib_for_darwin-tag2.3.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Binary files librtmp-org/.DS_Store and librtmp/.DS_Store differ
-diff -uNrp librtmp-org/Makefile librtmp/Makefile
---- librtmp-org/Makefile 2010-06-30 14:52:14.000000000 -0400
-+++ librtmp/Makefile 2010-07-07 12:38:32.000000000 -0400
-@@ -33,10 +33,12 @@ MANDIR=$(DESTDIR)$(mandir)
-
- LIBS_posix=
- LIBS_mingw=-lws2_32 -lwinmm -lgdi32
-+LIBS_darwin=
- LIBS=$(CRYPTO_LIB) -lz $(LIBS_$(SYS)) $(XLIBS)
-
- THREADLIB_posix=-lpthread
- THREADLIB_mingw=
-+THREADLIB_darwin=-lpthread
- THREADLIB=$(THREADLIB_$(SYS))
- SLIBS=$(THREADLIB) $(LIBS)
-
-@@ -45,6 +47,7 @@ INCRTMP=librtmp/rtmp_sys.h librtmp/rtmp.
-
- EXT_posix=
- EXT_mingw=.exe
-+EXT_darwin=
- EXT=$(EXT_$(SYS))
-
- all: $(LIBRTMP) progs
-diff -uNrp librtmp-org/librtmp/Makefile librtmp/librtmp/Makefile
---- librtmp-org/librtmp/Makefile 2010-06-30 16:01:39.000000000 -0400
-+++ librtmp/librtmp/Makefile 2010-07-07 14:10:25.000000000 -0400
-@@ -27,8 +27,15 @@ CRYPTO_DEF=$(DEF_$(CRYPTO))
-
- SO_posix=so.0
- SO_mingw=dll
-+SO_darwin=so.0
- SO_EXT=$(SO_$(SYS))
-
-+SO_LDFLAGS_posix=-shared -Wl,-soname,$@
-+SO_LDFLAGS_mingw=
-+SO_LDFLAGS_darwin=-bundle -flat_namespace -undefined suppress -fno-common \
-+ -headerpad_max_install_names $(XLDFLAGS)
-+SO_LDFLAGS=$(SO_LDFLAGS_$(SYS))
-+
- SHARED=yes
- SODEF_yes=-fPIC
- SOLIB_yes=librtmp.$(SO_EXT)
-@@ -61,7 +68,7 @@ librtmp.a: $(OBJS)
- $(AR) rs $@ $?
-
- librtmp.$(SO_EXT): $(OBJS)
-- $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
-+ $(CC) $(SO_LDFLAGS) $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
- ln -sf $@ librtmp.so
-
- log.o: log.c log.h Makefile