aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/Makefile8
-rw-r--r--tools/depends/target/ffmpeg/CMakeLists.txt3
-rw-r--r--tools/depends/target/ffmpeg/Makefile1
-rwxr-xr-xtools/depends/target/ffmpeg/autobuild.sh3
-rw-r--r--tools/depends/target/libflac/Makefile44
-rw-r--r--tools/depends/target/libflac/autoreconf.patch38
-rw-r--r--tools/depends/target/libflac/nasm.patch14
-rw-r--r--tools/depends/target/libogg/Makefile48
-rw-r--r--tools/depends/target/libvorbis/Makefile62
9 files changed, 3 insertions, 218 deletions
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile
index 2818a5f45a..5d743f4c6e 100644
--- a/tools/depends/target/Makefile
+++ b/tools/depends/target/Makefile
@@ -8,9 +8,7 @@ DEPENDS = \
pcre expat gettext sqlite3 libgpg-error \
libgcrypt bzip2 liblzo2 libzip freetype2 fontconfig \
openssl gmp nettle gnutls curl \
- libjpeg-turbo libpng \
- libogg libvorbis libflac fribidi \
- libass \
+ libjpeg-turbo libpng fribidi libass \
libmodplug librtmp libxml2 yajl libmicrohttpd mysql libffi \
python27 libshairplay \
libplist libcec libbluray tinyxml dummy-libxbmc \
@@ -83,8 +81,6 @@ gettext: $(ICONV)
libgcrypt: libgpg-error
fontconfig: freetype2 expat $(ICONV)
curl: openssl
-libvorbis: libogg
-libflac: libogg gettext
libass: fontconfig libpng freetype2 expat $(ICONV)
librtmp: openssl
libmicrohttpd: gnutls libgcrypt libgpg-error
@@ -103,7 +99,7 @@ pythonmodule-pil: $(ZLIB) libjpeg-turbo libpng freetype2 python27 pythonmodule-s
pythonmodule-setuptools: python27
libsdl2: $(LINUX_SYSTEM_LIBS)
libxslt: libgcrypt libxml2
-ffmpeg: $(ICONV) $(ZLIB) bzip2 libvorbis $(FFMPEG_DEPENDS)
+ffmpeg: $(ICONV) $(ZLIB) bzip2 $(FFMPEG_DEPENDS)
libcec: platform
crossguid: $(CROSSGUID_DEPS)
libdvdnav: libdvdread
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index a061fd5a76..6e804024d4 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -16,8 +16,7 @@ if(CROSSCOMPILING)
endif()
if(CORE_SYSTEM_NAME STREQUAL linux)
- list(APPEND ffmpeg_conf --enable-vdpau --enable-vaapi
- --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis)
+ list(APPEND ffmpeg_conf --enable-vdpau --enable-vaapi)
elseif(CORE_SYSTEM_NAME STREQUAL android)
if(CPU MATCHES arm)
list(APPEND ffmpeg_conf --cpu=cortex-a9)
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
index 277d281867..f52e80268f 100644
--- a/tools/depends/target/ffmpeg/Makefile
+++ b/tools/depends/target/ffmpeg/Makefile
@@ -27,7 +27,6 @@ endif
ifeq ($(OS), linux)
ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
ffmpg_config += --enable-vdpau --enable-vaapi
- ffmpg_config += --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis
endif
ifeq ($(OS), android)
ifeq ($(findstring arm, $(CPU)), arm)
diff --git a/tools/depends/target/ffmpeg/autobuild.sh b/tools/depends/target/ffmpeg/autobuild.sh
index bf02e526f1..1add222869 100755
--- a/tools/depends/target/ffmpeg/autobuild.sh
+++ b/tools/depends/target/ffmpeg/autobuild.sh
@@ -152,9 +152,6 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
--enable-encoder=aac \
--enable-encoder=wmav2 \
--enable-protocol=http \
- --enable-libvorbis \
- --enable-muxer=ogg \
- --enable-encoder=libvorbis \
--enable-encoder=png \
--enable-encoder=mjpeg \
--enable-nonfree \
diff --git a/tools/depends/target/libflac/Makefile b/tools/depends/target/libflac/Makefile
deleted file mode 100644
index 96eb42368d..0000000000
--- a/tools/depends/target/libflac/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile nasm.patch
-
-# lib name, version
-LIBNAME=flac
-VERSION=1.2.1
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-export NASM=
-# configuration settings
-CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX) --disable-xmms-plugin --disable-cpplibs --disable-asm-optimizations
-
-LIBDYLIB=$(PLATFORM)/src/libFLAC/.libs/libFLAC.a
-
-CLEAN_FILES=$(ARCHIVE) $(PLATFORM)
-
-all: .installed-$(PLATFORM)
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
- rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
- cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- cd $(PLATFORM); patch -p1 < ../autoreconf.patch
- cd $(PLATFORM); patch -p0 < ../nasm.patch
- cd $(PLATFORM); $(AUTORECONF) -vif
- cd $(PLATFORM); $(CONFIGURE)
-
-$(LIBDYLIB): $(PLATFORM)
- $(MAKE) -C $(PLATFORM)
-
-.installed-$(PLATFORM): $(LIBDYLIB)
- $(MAKE) -C $(PLATFORM) install
- touch $@
-
-clean:
- $(MAKE) -C $(PLATFORM) clean
- rm -f .installed-$(PLATFORM)
-
-distclean::
- rm -rf $(PLATFORM) .installed-$(PLATFORM)
-
diff --git a/tools/depends/target/libflac/autoreconf.patch b/tools/depends/target/libflac/autoreconf.patch
deleted file mode 100644
index 3a0493194d..0000000000
--- a/tools/depends/target/libflac/autoreconf.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Erik de Castro Lopo <erikd@mega-nerd.com>
-Date: Mon, 13 Feb 2012 08:55:46 +0000 (+1100)
-Subject: Fix for autoreconf failures.
-X-Git-Url: https://git.xiph.org/?p=flac.git;a=commitdiff_plain;h=e38026a52c34008bcf9126f61ee63b58168facf9
-
-Fix for autoreconf failures.
-
-Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause
-autoreconf to fail.
-
-From Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
----
-
-diff --git a/Makefile.am b/Makefile.am
-index d106d9f..0a65206 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -30,6 +30,8 @@
-
- AUTOMAKE_OPTIONS = foreign 1.7
-
-+ACLOCAL_AMFLAGS = -I m4
-+
- SUBDIRS = doc include m4 man src examples test build obj
-
- DISTCLEANFILES = libtool-disable-static
-diff --git a/configure.in b/configure.in
-index 63a0984..f56c188 100644
---- a/configure.in
-+++ b/configure.in
-@@ -33,6 +33,7 @@ sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-stat
- chmod +x libtool-disable-static
-
- AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
-+AC_CONFIG_MACRO_DIR([m4])
-
- AM_PROG_AS
- AC_PROG_CXX
diff --git a/tools/depends/target/libflac/nasm.patch b/tools/depends/target/libflac/nasm.patch
deleted file mode 100644
index 0371cb9e0e..0000000000
--- a/tools/depends/target/libflac/nasm.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ruN configure.in configure.in
---- configure.in 2007-09-13 11:48:42.000000000 -0400
-+++ configure.in 2012-06-10 20:13:50.543973093 -0400
-@@ -269,10 +269,6 @@
- # only matters for x86
- AC_CHECK_PROGS(NASM, nasm)
- AM_CONDITIONAL(FLaC__HAS_NASM, test -n "$NASM")
--if test -n "$NASM" ; then
--AC_DEFINE(FLAC__HAS_NASM)
--AH_TEMPLATE(FLAC__HAS_NASM, [define if you are compiling for x86 and have the NASM assembler])
--fi
-
- # only matters for PowerPC
- AC_CHECK_PROGS(AS, as, as)
diff --git a/tools/depends/target/libogg/Makefile b/tools/depends/target/libogg/Makefile
deleted file mode 100644
index e7d8867c6f..0000000000
--- a/tools/depends/target/libogg/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
-
-# lib name, version
-LIBNAME=libogg
-VERSION=1.1.4
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-
-# configuration settings
-CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX)
-
-LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a
-
-CLEAN_FILES=$(ARCHIVE) $(PLATFORM)
-
-all: .installed-$(PLATFORM)
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
- rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
- cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- cd $(PLATFORM); $(CONFIGURE)
-
-$(LIBDYLIB): $(PLATFORM)
- $(MAKE) -C $(PLATFORM)
-
-.installed-$(PLATFORM): $(LIBDYLIB)
- $(MAKE) -C $(PLATFORM) install
-ifeq ($(OS),android)
- rm -f $(PREFIX)/lib/libogg.la $(PREFIX)/lib/libogg.so $(PREFIX)/lib/libogg.so.0
- mv -f $(PREFIX)/lib/libogg.so.0.6.0 $(PREFIX)/lib/libxbogg.so
- ln -sf $(PREFIX)/lib/libxbogg.so $(PREFIX)/lib/libogg.so
- $(RPL) -e "libogg.so.0" "libxbogg.so" $(PREFIX)/lib/libxbogg.so
- -$(READELF) --dynamic $(PREFIX)/lib/libxbogg.so | grep ibrary
-endif
- touch $@
-
-clean:
- $(MAKE) -C $(PLATFORM) clean
- rm -f .installed-$(PLATFORM)
-
-distclean::
- rm -rf $(PLATFORM) .installed-$(PLATFORM)
-
diff --git a/tools/depends/target/libvorbis/Makefile b/tools/depends/target/libvorbis/Makefile
deleted file mode 100644
index d869c89831..0000000000
--- a/tools/depends/target/libvorbis/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
-
-# lib name, version
-LIBNAME=libvorbis
-VERSION=1.3.2
-SOURCE=$(LIBNAME)-$(VERSION)
-ARCHIVE=$(SOURCE).tar.gz
-
-export LIBS=-lm
-# configuration settings
-CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX) --disable-oggtest --disable-docs --disable-examples
-
-LIBDYLIB=$(PLATFORM)/lib/.libs/$(LIBNAME).a
-
-CLEAN_FILES=$(ARCHIVE) $(PLATFORM)
-
-all: .installed-$(PLATFORM)
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
- rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
- cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- sed -ie "s|SUBDIRS = m4 include vq lib examples test doc|SUBDIRS = m4 include lib|" "$(PLATFORM)/Makefile.in"
-ifeq ($(CPU), arm64)
- sed -ie "s|-force_cpusubtype_ALL||" "$(PLATFORM)/Configure"
- sed -ie "s|-force_cpusubtype_ALL||" "$(PLATFORM)/Makefile.in"
-endif
- cd $(PLATFORM); $(CONFIGURE)
-
-$(LIBDYLIB): $(PLATFORM)
- $(MAKE) -C $(PLATFORM)
-
-.installed-$(PLATFORM): $(LIBDYLIB)
- $(MAKE) -C $(PLATFORM) install
-ifeq ($(OS),android)
- rm -f $(PREFIX)/lib/libvorbis.la $(PREFIX)/lib/libvorbis.so $(PREFIX)/lib/libvorbis.so.0
- mv -f $(PREFIX)/lib/libvorbis.so.0.4.5 $(PREFIX)/lib/libxbvorbis.so
- ln -sf $(PREFIX)/lib/libxbvorbis.so $(PREFIX)/lib/libvorbis.so
- $(RPL) -e "libvorbis.so.0" "libxbvorbis.so" $(PREFIX)/lib/libxbvorbis.so
- -$(READELF) --dynamic $(PREFIX)/lib/libxbvorbis.so | grep ibrary
- #
- rm -f $(PREFIX)/lib/libvorbisfile.la $(PREFIX)/lib/libvorbisfile.so $(PREFIX)/lib/libvorbisfile.so.3
- mv -f $(PREFIX)/lib/libvorbisfile.so.3.3.4 $(PREFIX)/lib/libxbvorbisfile.so
- ln -sf $(PREFIX)/lib/libxbvorbisfile.so $(PREFIX)/lib/libvorbisfile.so
- $(RPL) -e "libvorbisfile.so.3" "libxbvorbisfile.so" $(PREFIX)/lib/libxbvorbisfile.so
- $(RPL) -e "libvorbis.so.0" "libxbvorbis.so" $(PREFIX)/lib/libxbvorbisfile.so
- -$(READELF) --dynamic $(PREFIX)/lib/libxbvorbisfile.so | grep ibrary
- #
-endif
- touch $@
-
-clean:
- $(MAKE) -C $(PLATFORM) clean
- rm -f .installed-$(PLATFORM)
-
-distclean::
- rm -rf $(PLATFORM) .installed-$(PLATFORM)
-