aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-12-31 19:58:51 +0100
committerMemphiz <memphis@machzwo.de>2015-01-01 00:28:25 +0100
commitefd989a82a712835640cb522274d68ca3248175b (patch)
tree9553c7aaddf38e57427a0770bf77476776c50742
parent7649542313aaf6df9ddf8ba0a8d829f55d870721 (diff)
[gnutls] - enable gnutls support for all platforms
-rw-r--r--tools/darwin/Configurations/App.xcconfig.in2
-rw-r--r--tools/depends/target/Makefile8
-rw-r--r--tools/depends/target/ffmpeg/Makefile6
3 files changed, 9 insertions, 7 deletions
diff --git a/tools/darwin/Configurations/App.xcconfig.in b/tools/darwin/Configurations/App.xcconfig.in
index 936815c921..7a5506a591 100644
--- a/tools/darwin/Configurations/App.xcconfig.in
+++ b/tools/darwin/Configurations/App.xcconfig.in
@@ -25,6 +25,6 @@ HEADER_SEARCH_PATHS = $(inherited) $SRCROOT xbmc xbmc/linux xbmc/osx xbmc/cores/
LIBRARY_SEARCH_PATHS = $(inherited) $(SRCROOT) $(SRCROOT)/lib/libRTV $(SRCROOT)/lib/libXDAAP $(SRCROOT)/lib/cmyth/libcmyth $(SRCROOT)/lib/cmyth/librefmem $(SRCROOT)/lib/libsquish $(SRCROOT)/lib/SlingboxLib $(SRCROOT)/xbmc/interfaces/json-rpc "$(SRCROOT)/xbmc/interfaces/python" "$(SRCROOT)/xbmc/interfaces/legacy"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$(SDKROOT)/System/Library/PrivateFrameworks/" "$(SDKROOT)/System/Library/Frameworks/"
-XBMC_OTHER_LDFLAGS_COMMON = $(inherited) -Wl,-headerpad_max_install_names -Wl,-all_load -L$XBMC_DEPENDS/lib -lbz2 -lintl -lexpat -lssl -lgpg-error -lresolv -lffi -lssh -llzo2 -lpcre -lpcrecpp -lfribidi -lfreetype -lfontconfig -lsqlite3 -ltinyxml -lmicrohttpd -lsmbclient -lpython2.6 -lyajl -ljpeg -lcrypto -lgcrypt -lavdevice -lavfilter -lavcodec -lavformat -lpostproc -lavutil -lswresample -lswscale -ltag -L$XBMC_DEPENDS/lib/mysql -lmysqlclient -lxml2 -lxslt
+XBMC_OTHER_LDFLAGS_COMMON = $(inherited) -Wl,-headerpad_max_install_names -Wl,-all_load -L$XBMC_DEPENDS/lib -lbz2 -lintl -lexpat -lssl -lgpg-error -lresolv -lffi -lssh -llzo2 -lpcre -lpcrecpp -lfribidi -lfreetype -lfontconfig -lsqlite3 -ltinyxml -lmicrohttpd -lsmbclient -lpython2.6 -lyajl -ljpeg -lcrypto -lgcrypt -lavdevice -lavfilter -lavcodec -lavformat -lpostproc -lavutil -lswresample -lswscale -ltag -L$XBMC_DEPENDS/lib/mysql -lmysqlclient -lxml2 -lxslt -lnettle -lgmp -lhogweed -lgnutls
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile
index e140ab594b..205e83f6f5 100644
--- a/tools/depends/target/Makefile
+++ b/tools/depends/target/Makefile
@@ -18,6 +18,8 @@ DEPENDS = \
xbmc-pvr-addons xbmc-audioencoder-addons \
pythonmodule-pil libxslt ffmpeg
+FFMPEG_DEPENDS = gnutls
+
ifeq ($(ENABLE_GPLV3),1)
DEPENDS+=samba-gplv3 libcdio-gplv3
else
@@ -26,17 +28,16 @@ endif
ifeq ($(OS),ios)
DEPENDS += Backrow
- EXCLUDED_DEPENDS = libcec libusb gmp nettle gnutls
+ EXCLUDED_DEPENDS = libcec libusb
endif
ifeq ($(OS),osx)
DEPENDS += libGLEW libsdl
- EXCLUDED_DEPENDS = libusb gmp nettle gnutls
+ EXCLUDED_DEPENDS = libusb
endif
ifeq ($(OS),android)
DEPENDS += mdnsresponder android-sources-ics
- FFMPEG_DEPENDS = gnutls
endif
DEPENDS := $(filter-out $(EXCLUDED_DEPENDS),$(DEPENDS))
@@ -63,7 +64,6 @@ ifeq ($(OS),linux)
endif
DEPENDS += alsa-lib
ALSA_LIB = alsa-lib
- FFMPEG_DEPENDS = gnutls
endif
.PHONY: $(DEPENDS)
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
index 83ad6cf85d..5d486663cf 100644
--- a/tools/depends/target/ffmpeg/Makefile
+++ b/tools/depends/target/ffmpeg/Makefile
@@ -18,12 +18,14 @@ ffmpg_config += --enable-muxer=spdif --enable-muxer=adts
ffmpg_config += --enable-muxer=asf --enable-muxer=ipod
ffmpg_config += --enable-encoder=ac3 --enable-encoder=aac
ffmpg_config += --enable-encoder=wmav2 --enable-protocol=http
+ffmpg_config += --enable-gnutls
+
ifeq ($(CROSS_COMPILING), yes)
ffmpg_config += --arch=$(CPU) --enable-cross-compile
endif
ifeq ($(OS), linux)
ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
- ffmpg_config += --enable-vdpau --enable-vaapi --enable-gnutls
+ ffmpg_config += --enable-vdpau --enable-vaapi
ffmpg_config += --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis
endif
ifeq ($(OS), android)
@@ -32,7 +34,7 @@ ifeq ($(OS), android)
else
ffmpg_config += --cpu=i686 --disable-mmx
endif
- ffmpg_config += --target-os=linux --enable-gnutls
+ ffmpg_config += --target-os=linux
endif
ifeq ($(OS), ios)
ffmpg_config += --cpu=cortex-a8 --yasmexe=$(NATIVEPREFIX)/bin/yasm