diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2014-05-01 12:42:23 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2014-05-01 12:42:23 +0200 |
commit | 4060c71b41ac20c53e47f2abaa0d35df91eb1b09 (patch) | |
tree | 5efb7fc55853c2e7325f8d9ecb629d199a5fd3de /tools | |
parent | cf808a68cb4309178a0df643cd028d5f73506e54 (diff) | |
parent | 1c3274a9681be09c9bb8b05da970895326e90306 (diff) |
Merge pull request #4499 from herrnst/remove-mp3codec
Drop MP3Codec/libmad from paplayer and dvdplayer in favor of FFmpeg
Diffstat (limited to 'tools')
-rw-r--r-- | tools/android/packaging/Makefile | 2 | ||||
-rw-r--r-- | tools/depends/target/Makefile | 2 | ||||
-rw-r--r-- | tools/depends/target/libmad/01-libmad-pkgconfig.patch | 118 | ||||
-rw-r--r-- | tools/depends/target/libmad/02-libmad-thumb-fix.patch | 17 | ||||
-rw-r--r-- | tools/depends/target/libmad/Makefile | 51 |
5 files changed, 2 insertions, 188 deletions
diff --git a/tools/android/packaging/Makefile b/tools/android/packaging/Makefile index 63fdfdc1e0..fa6945ae3a 100644 --- a/tools/android/packaging/Makefile +++ b/tools/android/packaging/Makefile @@ -1,7 +1,7 @@ include ../../depends/Makefile.include OBJS = libcurl.so \ - librtmp.so libmad.so \ + librtmp.so \ libafpclient.so \ libplist.so libshairplay.so \ libxbogg.so libxbvorbis.so libxbvorbisfile.so libxbFLAC.so libxbmpeg2.so \ diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile index b1d67bc922..8368a24d5d 100644 --- a/tools/depends/target/Makefile +++ b/tools/depends/target/Makefile @@ -9,7 +9,7 @@ DEPENDS = \ libgcrypt bzip2 liblzo2 libzip freetype2 fontconfig \ openssl gmp nettle gnutls libssh2 curl \ libjpeg-turbo tiff jasper libpng \ - libogg libvorbis libflac libmad fribidi libmpeg2 \ + libogg libvorbis libflac fribidi libmpeg2 \ libass libsamplerate \ libmodplug librtmp libxml2 yajl libmicrohttpd mysql libffi \ python26 afpfs-ng libshairplay \ diff --git a/tools/depends/target/libmad/01-libmad-pkgconfig.patch b/tools/depends/target/libmad/01-libmad-pkgconfig.patch deleted file mode 100644 index fcfd34164a..0000000000 --- a/tools/depends/target/libmad/01-libmad-pkgconfig.patch +++ /dev/null @@ -1,118 +0,0 @@ -diff -ruN libmad-0.15.1b.orig/Makefile.am libmad-0.15.1b/Makefile.am ---- libmad-0.15.1b.orig/Makefile.am 2004-02-17 02:02:03.000000000 +0000 -+++ libmad-0.15.1b/Makefile.am 2005-08-25 12:08:04.000000000 +0000 -@@ -33,9 +33,12 @@ - minimad_INCLUDES = - minimad_LDADD = libmad.la - --EXTRA_DIST = mad.h.sed \ -+EXTRA_DIST = mad.h.sed mad.pc.in \ - CHANGES COPYRIGHT CREDITS README TODO VERSION - -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA= mad.pc -+ - exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \ - synth.h decoder.h - -diff -ruN libmad-0.15.1b.orig/Makefile.in libmad-0.15.1b/Makefile.in ---- libmad-0.15.1b.orig/Makefile.in 2004-02-17 02:33:23.000000000 +0000 -+++ libmad-0.15.1b/Makefile.in 2005-08-25 12:09:34.000000000 +0000 -@@ -14,6 +14,8 @@ - - @SET_MAKE@ - -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA = mad.pc - - SOURCES = $(libmad_la_SOURCES) $(EXTRA_libmad_la_SOURCES) $(minimad_SOURCES) - -@@ -43,7 +45,7 @@ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in $(srcdir)/libmad.list.in \ - $(top_srcdir)/configure COPYING INSTALL TODO config.guess \ -- config.sub depcomp install-sh ltmain.sh missing mkinstalldirs -+ config.sub depcomp install-sh ltmain.sh missing mkinstalldirs mad.pc.in - subdir = . - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - am__aclocal_m4_deps = $(top_srcdir)/configure.ac -@@ -53,7 +55,7 @@ - configure.lineno configure.status.lineno - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = config.h --CONFIG_CLEAN_FILES = libmad.list -+CONFIG_CLEAN_FILES = libmad.list mad.pc - am__installdirs = $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) - libLTLIBRARIES_INSTALL = $(INSTALL) - LTLIBRARIES = $(lib_LTLIBRARIES) -@@ -218,7 +220,7 @@ - minimad_SOURCES = minimad.c - minimad_INCLUDES = - minimad_LDADD = libmad.la --EXTRA_DIST = mad.h.sed \ -+EXTRA_DIST = mad.h.sed mad.pc.in \ - CHANGES COPYRIGHT CREDITS README TODO VERSION - - exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \ -@@ -298,6 +300,28 @@ - rm -f stamp-h1 - touch $@ - -+mad.pc: $(top_builddir)/config.status mad.pc.in -+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status -+ -+install-pkgconfigDATA: $(pkgconfig_DATA) -+ @$(NORMAL_INSTALL) -+ $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) -+ @list='$(pkgconfig_DATA)'; for p in $$list; do \ -+ if test -f $(srcdir)/$$p; then \ -+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \ -+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \ -+ else if test -f $$p; then \ -+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \ -+ $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \ -+ fi; fi; \ -+ done -+ -+uninstall-pkgconfigDATA: -+ @$(NORMAL_UNINSTALL) -+ list='$(pkgconfig_DATA)'; for p in $$list; do \ -+ rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \ -+ done -+ - distclean-hdr: - -rm -f config.h stamp-h1 - libmad.list: $(top_builddir)/config.status $(srcdir)/libmad.list.in -@@ -726,7 +750,7 @@ - - info-am: - --install-data-am: install-includeHEADERS -+install-data-am: install-includeHEADERS install-pkgconfigDATA - - install-exec-am: install-libLTLIBRARIES - -@@ -757,7 +781,7 @@ - ps-am: - - uninstall-am: uninstall-includeHEADERS uninstall-info-am \ -- uninstall-libLTLIBRARIES -+ uninstall-libLTLIBRARIES install-pkgconfigDATA - - uninstall-info: uninstall-info-recursive - -diff -ruN libmad-0.15.1b.orig/mad.pc.in libmad-0.15.1b/mad.pc.in ---- libmad-0.15.1b.orig/mad.pc.in 1970-01-01 00:00:00.000000000 +0000 -+++ libmad-0.15.1b/mad.pc.in 2005-08-25 12:08:04.000000000 +0000 -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: MAD -+Description: libmad - MPEG audio decoder library -+Version: @VERSION@ -+Libs: -L${libdir} -lmad -+Cflags: - diff --git a/tools/depends/target/libmad/02-libmad-thumb-fix.patch b/tools/depends/target/libmad/02-libmad-thumb-fix.patch deleted file mode 100644 index 398dbec815..0000000000 --- a/tools/depends/target/libmad/02-libmad-thumb-fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -ruN libmad-0.15.1b.orig/imdct_l_arm.S libmad-0.15.1b/imdct_l_arm.S ---- libmad-0.15.1b.orig/imdct_l_arm.S.orig 2010-10-28 18:57:51.000000000 -0400 -+++ libmad-0.15.1b/imdct_l_arm.S 2010-10-28 18:58:41.000000000 -0400 -@@ -468,8 +468,11 @@ - - @---- - -- add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?) -- -+#ifdef __thumb__ -+ adr r2, imdct36_long_karray -+#else -+ add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?) -+#endif - - loop: - ldr r12, [r0, #X0] diff --git a/tools/depends/target/libmad/Makefile b/tools/depends/target/libmad/Makefile deleted file mode 100644 index 7f10ec6524..0000000000 --- a/tools/depends/target/libmad/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -include ../../Makefile.include -DEPS= ../../Makefile.include 01-libmad-pkgconfig.patch Makefile - -# lib name, version -LIBNAME=libmad -VERSION=0.15.1b -SOURCE=$(LIBNAME)-$(VERSION) -ARCHIVE=$(SOURCE).tar.gz - -# configuration settings -CONFIGURE=rm config.sub config.guess; $(AUTOMAKE) -ac; ./configure --prefix=$(PREFIX) --enable-fpm=default - -LIBDYLIB=$(PLATFORM)/.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); touch NEWS AUTHORS ChangeLog - cd $(PLATFORM); patch -p1 < ../01-libmad-pkgconfig.patch - cd $(PLATFORM); patch -p1 < ../02-libmad-thumb-fix.patch - sed -ie "s|libmad.list|libmad.list mad.pc|g" "$(PLATFORM)/configure.ac" - cd $(PLATFORM); $(AUTORECONF) -vif - cd $(PLATFORM); sed -i '/-fforce-mem/d' configure; $(CONFIGURE) - -$(LIBDYLIB): $(PLATFORM) - $(MAKE) -C $(PLATFORM) - -.installed-$(PLATFORM): $(LIBDYLIB) - $(MAKE) -C $(PLATFORM) install -ifeq ($(OS),android) - rm -f $(PREFIX)/lib/libmad.la $(PREFIX)/lib/libmad.so $(PREFIX)/lib/libmad.so.0 - mv -f $(PREFIX)/lib/libmad.so.0.2.1 $(PREFIX)/lib/libmad.so - $(RPL) -e "libmad.so.0" "libmad.so\x00\x00" $(PREFIX)/lib/libmad.so - -$(READELF) --dynamic $(PREFIX)/lib/libmad.so | grep ibrary -endif - touch $@ - -clean: - $(MAKE) -C $(PLATFORM) clean - rm -f .installed-$(PLATFORM) - -distclean:: - rm -rf $(PLATFORM) .installed-$(PLATFORM) - |