Browse Source

- change some patch calls

master
vanhofen 6 years ago
parent
commit
b79e0607e0
  1. 10
      make/development-tools.mk
  2. 87
      make/gstreamer.mk
  3. 98
      make/system-libs.mk

10
make/development-tools.mk

@ -6,12 +6,14 @@ valgrind: valgrind-$(BOXSERIES)
# -----------------------------------------------------------------------------
VALGRIND_PATCH = valgrind-fix-$(BOXSERIES)-build.patch
$(D)/valgrind-hd51 \
$(D)/valgrind-hd2: $(ARCHIVE)/valgrind-$(VALGRIND_VER).tar.bz2 | $(TARGET_DIR)
$(REMOVE)/valgrind-$(VALGRIND_VER)
$(UNTAR)/valgrind-$(VALGRIND_VER).tar.bz2
$(CHDIR)/valgrind-$(VALGRIND_VER); \
$(PATCH)/valgrind-fix-$(BOXSERIES)-build.patch; \
$(call apply_patches, $(VALGRIND_PATCH)); \
export AR=$(TARGET)-ar; \
autoreconf -fi; \
$(CONFIGURE) \
@ -33,13 +35,15 @@ $(D)/valgrind-hd2: $(ARCHIVE)/valgrind-$(VALGRIND_VER).tar.bz2 | $(TARGET_DIR)
# -----------------------------------------------------------------------------
VALGRIND-HD1_PATCH = valgrind12305-nevis-patch.diff
VALGRIND-HD1_PATCH += valgrind-automake-1.11.2.patch
$(D)/valgrind-hd1:
$(REMOVE)/valgrind
svn co -r 12305 svn://svn.valgrind.org/valgrind/trunk $(BUILD_TMP)/valgrind; \
$(CHDIR)/valgrind; \
svn up --force -r {2011-12-13} VEX; \
$(PATCH)/valgrind12305-nevis-patch.diff; \
$(PATCH)/valgrind-automake-1.11.2.patch; \
$(call apply_patches, $(VALGRIND-HD1_PATCH)); \
autoreconf -fi; \
$(CONFIGURE) \
--prefix= \

87
make/gstreamer.mk

@ -14,20 +14,19 @@ endif
# -----------------------------------------------------------------------------
#
# gstreamer
#
GSTREAMER_VER = 1.12.4
GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VER).tar.xz
$(ARCHIVE)/$(GSTREAMER_SOURCE):
$(WGET) https://gstreamer.freedesktop.org/src/gstreamer/$(GSTREAMER_SOURCE)
GSTREAMER_PATCH = gstreamer-$(GSTREAMER_VER)-revert-use-new-gst-adapter-get-buffer.patch
$(D)/gstreamer: $(D)/libglib2 $(D)/libxml2 $(D)/glib-networking $(ARCHIVE)/$(GSTREAMER_SOURCE)
$(REMOVE)/gstreamer-$(GSTREAMER_VER)
$(UNTAR)/$(GSTREAMER_SOURCE)
$(CHDIR)/gstreamer-$(GSTREAMER_VER); \
$(PATCH)/gstreamer-$(GSTREAMER_VER)-revert-use-new-gst-adapter-get-buffer.patch; \
$(call apply_patches, $(GSTREAMER_PATCH)); \
./autogen.sh --noconfigure; \
$(CONFIGURE) \
--prefix= \
@ -64,24 +63,23 @@ $(D)/gstreamer: $(D)/libglib2 $(D)/libxml2 $(D)/glib-networking $(ARCHIVE)/$(GST
# -----------------------------------------------------------------------------
#
# gst_plugins_base
#
GST_PLUGINS_BASE_VER = $(GSTREAMER_VER)
GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VER).tar.xz
$(ARCHIVE)/$(GST_PLUGINS_BASE_SOURCE):
$(WGET) https://gstreamer.freedesktop.org/src/gst-plugins-base/$(GST_PLUGINS_BASE_SOURCE)
GST_PLUGINS_BASE_PATCH = gst-plugins-base-$(GSTREAMER_VER)-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
GST_PLUGINS_BASE_PATCH += gst-plugins-base-$(GSTREAMER_VER)-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
GST_PLUGINS_BASE_PATCH += gst-plugins-base-$(GSTREAMER_VER)-riff-media-added-fourcc-to-all-ffmpeg-mpeg4-video-caps.patch
GST_PLUGINS_BASE_PATCH += gst-plugins-base-$(GSTREAMER_VER)-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
GST_PLUGINS_BASE_PATCH += gst-plugins-base-$(GSTREAMER_VER)-subparse-avoid-false-negatives-dealing-with-UTF-8.patch
$(D)/gst_plugins_base: $(D)/zlib $(D)/libglib2 $(D)/orc $(D)/gstreamer $(D)/alsa-lib $(D)/libogg $(D)/libvorbisidec $(ARCHIVE)/$(GST_PLUGINS_BASE_SOURCE)
$(REMOVE)/gst-plugins-base-$(GST_PLUGINS_BASE_VER)
$(UNTAR)/$(GST_PLUGINS_BASE_SOURCE)
$(CHDIR)/gst-plugins-base-$(GST_PLUGINS_BASE_VER); \
$(PATCH)/gst-plugins-base-$(GSTREAMER_VER)-Makefile.am-don-t-hardcode-libtool-name-when-running.patch; \
$(PATCH)/gst-plugins-base-$(GSTREAMER_VER)-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch; \
$(PATCH)/gst-plugins-base-$(GSTREAMER_VER)-riff-media-added-fourcc-to-all-ffmpeg-mpeg4-video-caps.patch; \
$(PATCH)/gst-plugins-base-$(GSTREAMER_VER)-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch; \
$(PATCH)/gst-plugins-base-$(GSTREAMER_VER)-subparse-avoid-false-negatives-dealing-with-UTF-8.patch; \
$(call apply_patches, $(GST_PLUGINS_BASE_PATCH)); \
./autogen.sh --noconfigure; \
$(CONFIGURE) \
--prefix= \
@ -136,20 +134,19 @@ $(D)/gst_plugins_base: $(D)/zlib $(D)/libglib2 $(D)/orc $(D)/gstreamer $(D)/alsa
# -----------------------------------------------------------------------------
#
# gst_plugins_good
#
GST_PLUGINS_GOOD_VER = $(GSTREAMER_VER)
GST_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST_PLUGINS_GOOD_VER).tar.xz
$(ARCHIVE)/$(GST_PLUGINS_GOOD_SOURCE):
$(WGET) https://gstreamer.freedesktop.org/src/gst-plugins-good/$(GST_PLUGINS_GOOD_SOURCE)
GST_PLUGINS_GOOD_PATCH = gst-plugins-good-$(GSTREAMER_VER)-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
$(D)/gst_plugins_good: $(D)/libpng $(D)/libjpeg $(D)/gstreamer $(D)/gst_plugins_base $(D)/libsoup $(D)/libFLAC $(ARCHIVE)/$(GST_PLUGINS_GOOD_SOURCE)
$(REMOVE)/gst-plugins-good-$(GST_PLUGINS_GOOD_VER)
$(UNTAR)/$(GST_PLUGINS_GOOD_SOURCE)
$(CHDIR)/gst-plugins-good-$(GST_PLUGINS_GOOD_VER); \
$(PATCH)/gst-plugins-good-$(GSTREAMER_VER)-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch; \
$(call apply_patches, $(GST_PLUGINS_GOOD_PATCH)); \
./autogen.sh --noconfigure; \
$(CONFIGURE) \
--prefix= \
@ -170,26 +167,25 @@ $(D)/gst_plugins_good: $(D)/libpng $(D)/libjpeg $(D)/gstreamer $(D)/gst_plugins_
# -----------------------------------------------------------------------------
#
# gst_plugins_bad
#
GST_PLUGINS_BAD_VER = $(GSTREAMER_VER)
GST_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST_PLUGINS_BAD_VER).tar.xz
$(ARCHIVE)/$(GST_PLUGINS_BAD_SOURCE):
$(WGET) https://gstreamer.freedesktop.org/src/gst-plugins-bad/$(GST_PLUGINS_BAD_SOURCE)
GST_PLUGINS_BAD_PATCH = gst-plugins-bad-$(GSTREAMER_VER)-Makefile.am-don-t-hardcode-libtool-name-when-running-pbad.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-rtmp-fix-seeking-and-potential-segfault.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-rtmp-hls-tsdemux-fix.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-configure-allow-to-disable-libssh2.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-dvbapi5-fix-old-kernel.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
GST_PLUGINS_BAD_PATCH += gst-plugins-bad-$(GSTREAMER_VER)-hls-main-thread-block.patch
$(D)/gst_plugins_bad: $(D)/libass $(D)/libcurl $(D)/libxml2 $(D)/openssl $(D)/librtmp $(D)/gstreamer $(D)/gst_plugins_base $(ARCHIVE)/$(GST_PLUGINS_BAD_SOURCE)
$(REMOVE)/gst-plugins-bad-$(GST_PLUGINS_BAD_VER)
$(UNTAR)/$(GST_PLUGINS_BAD_SOURCE)
$(CHDIR)/gst-plugins-bad-$(GST_PLUGINS_BAD_VER); \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-Makefile.am-don-t-hardcode-libtool-name-when-running-pbad.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-rtmp-fix-seeking-and-potential-segfault.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-rtmp-hls-tsdemux-fix.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-configure-allow-to-disable-libssh2.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-dvbapi5-fix-old-kernel.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch; \
$(PATCH)/gst-plugins-bad-$(GSTREAMER_VER)-hls-main-thread-block.patch; \
$(call apply_patches, $(GST_PLUGINS_BAD_PATCH)); \
./autogen.sh --noconfigure; \
$(CONFIGURE) \
--build=$(BUILD) \
@ -234,9 +230,6 @@ $(D)/gst_plugins_bad: $(D)/libass $(D)/libcurl $(D)/libxml2 $(D)/openssl $(D)/li
# -----------------------------------------------------------------------------
#
# gst_plugins_ugly
#
GST_PLUGINS_UGLY_VER = $(GSTREAMER_VER)
GST_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST_PLUGINS_UGLY_VER).tar.xz
@ -267,9 +260,6 @@ $(D)/gst_plugins_ugly: $(D)/gstreamer $(D)/gst_plugins_base $(ARCHIVE)/$(GST_PLU
# -----------------------------------------------------------------------------
#
# gst_plugin_subsink
#
GST_PLUGIN_SUBSINK_VER = 1.0
$(D)/gst_plugin_subsink: $(D)/gstreamer $(D)/gst_plugins_base $(D)/gst_plugins_good $(D)/gst_plugins_bad $(D)/gst_plugins_ugly
@ -299,9 +289,6 @@ $(D)/gst_plugin_subsink: $(D)/gstreamer $(D)/gst_plugins_base $(D)/gst_plugins_g
# -----------------------------------------------------------------------------
#
# gst_plugins_dvbmediasink
#
GST_PLUGINS_DVBMEDIASINK_VER = 1.0
$(D)/gst_plugins_dvbmediasink: $(D)/gstreamer $(D)/gst_plugins_base $(D)/gst_plugins_good $(D)/gst_plugins_bad $(D)/gst_plugins_ugly $(D)/gst_plugin_subsink $(D)/libdca
@ -342,9 +329,6 @@ $(D)/gst_plugins_dvbmediasink: $(D)/gstreamer $(D)/gst_plugins_base $(D)/gst_plu
# -----------------------------------------------------------------------------
#
# orc
#
ORC_VER = 0.4.28
ORC_SOURCE = orc-$(ORC_VER).tar.xz
@ -371,9 +355,6 @@ $(D)/orc: $(ARCHIVE)/$(ORC_SOURCE)
# -----------------------------------------------------------------------------
#
# libdca
#
LIBDCA_VER = 0.0.5
LIBDCA_SOURCE = libdca-$(LIBDCA_VER).tar.bz2
@ -399,9 +380,6 @@ $(D)/libdca: $(ARCHIVE)/$(LIBDCA_SOURCE)
# -----------------------------------------------------------------------------
#
# nettle
#
NETTLE_VER = 3.4
NETTLE_SOURCE = nettle-$(NETTLE_VER).tar.gz
@ -426,16 +404,11 @@ $(D)/nettle: $(D)/gmp $(ARCHIVE)/$(NETTLE_SOURCE)
# -----------------------------------------------------------------------------
#
# gmp
#
GMP_VER_MAJOR = 6.1.2
GMP_VER_MINOR =
GMP_VER = $(GMP_VER_MAJOR)$(GMP_VER_MINOR)
GMP_VER = 6.1.2
GMP_SOURCE = gmp-$(GMP_VER).tar.xz
$(ARCHIVE)/$(GMP_SOURCE):
$(WGET) ftp://ftp.gmplib.org/pub/gmp-$(GMP_VER_MAJOR)/$(GMP_SOURCE)
$(WGET) ftp://ftp.gmplib.org/pub/gmp-$(GMP_VER)/$(GMP_SOURCE)
$(D)/gmp: $(ARCHIVE)/$(GMP_SOURCE)
$(REMOVE)/gmp-$(GMP_VER_MAJOR)
@ -453,9 +426,6 @@ $(D)/gmp: $(ARCHIVE)/$(GMP_SOURCE)
# -----------------------------------------------------------------------------
#
# gnutls
#
GNUTLS_VER_MAJOR = 3.6
GNUTLS_VER_MINOR = 1
GNUTLS_VER = $(GNUTLS_VER_MAJOR).$(GNUTLS_VER_MINOR)
@ -494,9 +464,6 @@ $(D)/gnutls: $(D)/nettle $(D)/ca-bundle $(ARCHIVE)/$(GNUTLS_SOURCE)
# -----------------------------------------------------------------------------
#
# glib-networking
#
GLIB-NETWORKING_VER_MAJOR = 2.54
GLIB-NETWORKING_VER_MINOR = 1
GLIB-NETWORKING_VER = $(GLIB-NETWORKING_VER_MAJOR).$(GLIB-NETWORKING_VER_MINOR)
@ -522,9 +489,6 @@ $(D)/glib-networking: $(D)/gnutls $(D)/libglib2 $(ARCHIVE)/$(GLIB-NETWORKING_SOU
# -----------------------------------------------------------------------------
#
# libsoup
#
LIBSOUP_VER_MAJOR = 2.61
LIBSOUP_VER_MINOR = 1
LIBSOUP_VER = $(LIBSOUP_VER_MAJOR).$(LIBSOUP_VER_MINOR)
@ -555,9 +519,6 @@ $(D)/libsoup: $(D)/sqlite $(D)/libxml2 $(D)/libglib2 $(ARCHIVE)/$(LIBSOUP_SOURCE
# -----------------------------------------------------------------------------
#
# sqlite
#
SQLITE_VER = 3210000
SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VER).tar.gz

98
make/system-libs.mk

@ -77,11 +77,13 @@ $(D)/libupnp: $(ARCHIVE)/libupnp-$(LIBUPNP_VER).tar.bz2 | $(TARGET_DIR)
# -----------------------------------------------------------------------------
LIBDVBSI_PATCH = libdvbsi++-content_identifier_descriptor.patch
$(D)/libdvbsi: | $(TARGET_DIR)
$(REMOVE)/libdvbsi++
git clone git://github.com/OpenDMM/libdvbsi-.git $(BUILD_TMP)/libdvbsi++
$(CHDIR)/libdvbsi++; \
$(PATCH)/libdvbsi++-content_identifier_descriptor.patch; \
$(call apply_patches, $(LIBDVBSI_PATCH)); \
$(CONFIGURE) \
--prefix= \
--enable-shared \
@ -165,6 +167,8 @@ $(D)/libcurl: $(D)/zlib $(D)/openssl $(D)/librtmp $(D)/ca-bundle $(ARCHIVE)/curl
# -----------------------------------------------------------------------------
LIBPNG_PATCH = libpng-Disable-pngfix-and-png-fix-itxt.patch
LIBPNG_CONF =
ifneq ($(BOXSERIES), hd51)
LIBPNG_CONF = --disable-arm-neon
@ -174,7 +178,7 @@ $(D)/libpng: $(ARCHIVE)/libpng-$(LIBPNG_VER).tar.xz $(D)/zlib | $(TARGET_DIR)
$(REMOVE)/libpng-$(LIBPNG_VER)
$(UNTAR)/libpng-$(LIBPNG_VER).tar.xz
$(CHDIR)/libpng-$(LIBPNG_VER); \
$(PATCH)/libpng-Disable-pngfix-and-png-fix-itxt.patch; \
$(call apply_patches, $(LIBPNG_PATCH)); \
$(CONFIGURE) \
--prefix=$(TARGET_DIR) \
--bindir=$(HOST_DIR)/bin \
@ -190,11 +194,13 @@ $(D)/libpng: $(ARCHIVE)/libpng-$(LIBPNG_VER).tar.xz $(D)/zlib | $(TARGET_DIR)
# -----------------------------------------------------------------------------
FREETYPE_PATCH = freetype2_subpixel.patch
$(D)/freetype: $(D)/zlib $(D)/libpng $(ARCHIVE)/freetype-$(FREETYPE_VER).tar.bz2 | $(TARGET_DIR)
$(REMOVE)/freetype-$(FREETYPE_VER)
$(UNTAR)/freetype-$(FREETYPE_VER).tar.bz2
$(CHDIR)/freetype-$(FREETYPE_VER); \
$(PATCH)/freetype2_subpixel.patch; \
$(call apply_patches, $(FREETYPE_PATCH)); \
sed -i '/^FONT_MODULES += \(type1\|cid\|pfr\|type42\|pcf\|bdf\|winfonts\|cff\)/d' modules.cfg
$(CHDIR)/freetype-$(FREETYPE_VER)/builds/unix; \
libtoolize --force --copy; \
@ -244,6 +250,8 @@ $(D)/libjpeg: $(ARCHIVE)/libjpeg-turbo-$(LIBJPEG-TURBO_VER).tar.gz | $(TARGET_DI
# -----------------------------------------------------------------------------
OPENSSL_PATCH = openssl-add-ni-specific-target.patch
OPENSSLFLAGS = CC=$(TARGET)-gcc \
LD=$(TARGET)-ld \
AR="$(TARGET)-ar r" \
@ -256,7 +264,7 @@ $(D)/openssl: $(ARCHIVE)/openssl-$(OPENSSL_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/openssl-$(OPENSSL_VER)
$(UNTAR)/openssl-$(OPENSSL_VER).tar.gz
$(CHDIR)/openssl-$(OPENSSL_VER); \
$(PATCH)/openssl-add-ni-specific-target.patch; \
$(call apply_patches, $(OPENSSL_PATCH)); \
./Configure \
linux-armv4-ni \
shared \
@ -288,11 +296,13 @@ endif
# -----------------------------------------------------------------------------
LIBNCURSES_PATCH = ncurses-gcc-5.x-MKlib_gen.patch
$(D)/libncurses: $(ARCHIVE)/ncurses-$(LIBNCURSES_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/ncurses-$(LIBNCURSES_VER)
$(UNTAR)/ncurses-$(LIBNCURSES_VER).tar.gz; \
$(CHDIR)/ncurses-$(LIBNCURSES_VER); \
$(PATCH)/ncurses-gcc-5.x-MKlib_gen.patch; \
$(call apply_patches, $(LIBNCURSES_PATCH)); \
$(CONFIGURE) \
--target=$(TARGET) \
--prefix= \
@ -412,11 +422,13 @@ $(D)/libgd2: $(D)/zlib $(D)/libpng $(D)/libjpeg $(D)/freetype $(ARCHIVE)/libgd-$
# -----------------------------------------------------------------------------
LIBDPF_PATCH = libdpf-crossbuild.diff
$(D)/libdpf: $(D)/libusb_compat $(ARCHIVE)/$(LIBDPF_SOURCE) | $(TARGET_DIR)
$(REMOVE)/dpf-ax-git-$(LIBDPF_VER)
$(UNTAR)/$(LIBDPF_SOURCE)
$(CHDIR)/dpf-ax-git-$(LIBDPF_VER)/dpflib; \
$(PATCH)/libdpf-crossbuild.diff; \
$(call apply_patches, $(LIBDPF_PATCH)); \
make libdpf.a CC=$(TARGET)-gcc PREFIX=$(TARGET_DIR); \
mkdir -p $(TARGET_INCLUDE_DIR)/libdpf; \
cp dpf.h $(TARGET_INCLUDE_DIR)/libdpf/libdpf.h; \
@ -499,11 +511,13 @@ $(D)/luaexpat: $(D)/expat $(D)/lua $(ARCHIVE)/luaexpat-$(LUAEXPAT_VER).tar.gz |
# -----------------------------------------------------------------------------
LUACURL_PATCH = lua-curl-Makefile.diff
$(D)/luacurl: $(D)/libcurl $(D)/lua $(ARCHIVE)/Lua-cURL$(LUACURL_VER).tar.xz | $(TARGET_DIR)
$(REMOVE)/Lua-cURL$(LUACURL_VER)
$(UNTAR)/Lua-cURL$(LUACURL_VER).tar.xz
$(CHDIR)/Lua-cURL$(LUACURL_VER); \
$(PATCH)/lua-curl-Makefile.diff; \
$(call apply_patches, $(LUACURL_PATCH)); \
$(BUILDENV) \
CC=$(TARGET)-gcc \
LUA_CMOD=/lib/lua/$(LUA_ABIVER) \
@ -521,14 +535,16 @@ $(D)/luacurl: $(D)/libcurl $(D)/lua $(ARCHIVE)/Lua-cURL$(LUACURL_VER).tar.xz | $
# -----------------------------------------------------------------------------
LUAPOSIX_PATCH = luaposix-fix-build.patch
LUAPOSIX_PATCH += luaposix-fix-docdir-build.patch
$(D)/luaposix: $(HOST_DIR)/bin/lua-$(LUA_VER) $(D)/lua $(D)/luaexpat $(ARCHIVE)/v$(LUAPOSIX_VER).tar.gz $(ARCHIVE)/v$(SLINGSHOT_VER).tar.gz $(ARCHIVE)/gnulib-$(GNULIB_VER)-stable.tar.gz | $(TARGET_DIR)
$(REMOVE)/luaposix-$(LUAPOSIX_VER)
$(UNTAR)/v$(LUAPOSIX_VER).tar.gz
tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/slingshot --strip=1 -xf $(ARCHIVE)/v$(SLINGSHOT_VER).tar.gz
tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/gnulib --strip=1 -xf $(ARCHIVE)/gnulib-$(GNULIB_VER)-stable.tar.gz
$(CHDIR)/luaposix-$(LUAPOSIX_VER); \
$(PATCH)/luaposix-fix-build.patch; \
$(PATCH)/luaposix-fix-docdir-build.patch; \
$(call apply_patches, $(LUAPOSIX_PATCH)); \
export LUA=$(HOST_DIR)/bin/lua-$(LUA_VER); \
./bootstrap; \
autoreconf -fi; \
@ -548,12 +564,14 @@ $(D)/luaposix: $(HOST_DIR)/bin/lua-$(LUA_VER) $(D)/lua $(D)/luaexpat $(ARCHIVE)/
# -----------------------------------------------------------------------------
HOST_LUA_PATCH = lua-01-fix-coolstream-build.patch
# helper for luaposix build
$(HOST_DIR)/bin/lua-$(LUA_VER): $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/lua-$(LUA_VER)
$(UNTAR)/lua-$(LUA_VER).tar.gz
$(CHDIR)/lua-$(LUA_VER); \
$(PATCH)/lua-01-fix-coolstream-build.patch; \
$(call apply_patches, $(HOST_LUA_PATCH)); \
$(MAKE) linux
install -m 0755 -D $(BUILD_TMP)/lua-$(LUA_VER)/src/lua $@
$(REMOVE)/lua-$(LUA_VER)
@ -565,14 +583,16 @@ lua-libs: $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS) | $(TARGET_DIR)
# -----------------------------------------------------------------------------
LUA_PATCH = lua-01-fix-coolstream-build.patch
LUA_PATCH += lua-02-shared-libs-for-lua.patch
LUA_PATCH += lua-03-lua-pc.patch
LUA_PATCH += lua-04-crashfix.diff
$(D)/lua: $(D)/libncurses $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/lua-$(LUA_VER)
$(UNTAR)/lua-$(LUA_VER).tar.gz
$(CHDIR)/lua-$(LUA_VER); \
$(PATCH)/lua-01-fix-coolstream-build.patch; \
$(PATCH)/lua-02-shared-libs-for-lua.patch; \
$(PATCH)/lua-03-lua-pc.patch; \
$(PATCH)/lua-04-crashfix.diff; \
$(call apply_patches, $(LUA_PATCH)); \
sed -i 's/^V=.*/V= $(LUA_ABIVER)/' etc/lua.pc; \
sed -i 's/^R=.*/R= $(LUA_VER)/' etc/lua.pc; \
$(MAKE) linux PKG_VERSION=$(LUA_VER) CC=$(TARGET)-gcc LD=$(TARGET)-ld AR="$(TARGET)-ar rcu" RANLIB=$(TARGET)-ranlib LDFLAGS="$(TARGET_LDFLAGS)"; \
@ -588,16 +608,18 @@ $(D)/lua: $(D)/libncurses $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGET_DIR)
# -----------------------------------------------------------------------------
BLURAY_DEPS = $(D)/freetype
LIBBLURAY_PATCH = libbluray.diff
LIBBLURAY_DEPS = $(D)/freetype
ifeq ($(BOXSERIES), hd2)
BLURAY_DEPS += $(D)/libaacs $(D)/libbdplus
LIBBLURAY_DEPS += $(D)/libaacs $(D)/libbdplus
endif
$(D)/libbluray: $(BLURAY_DEPS) $(ARCHIVE)/libbluray-$(LIBBLURAY_VER).tar.bz2 | $(TARGET_DIR)
$(D)/libbluray: $(LIBBLURAY_DEPS) $(ARCHIVE)/libbluray-$(LIBBLURAY_VER).tar.bz2 | $(TARGET_DIR)
$(REMOVE)/libbluray-$(LIBBLURAY_VER)
$(UNTAR)/libbluray-$(LIBBLURAY_VER).tar.bz2
$(CHDIR)/libbluray-$(LIBBLURAY_VER); \
$(PATCH)/libbluray.diff; \
$(call apply_patches, $(LIBBLURAY_PATCH)); \
./bootstrap; \
$(CONFIGURE) \
--prefix= \
@ -829,17 +851,19 @@ $(D)/librtmp: $(D)/zlib $(D)/openssl $(SOURCE_DIR)/$(NI_RTMPDUMP) | $(TARGET_DIR
# -----------------------------------------------------------------------------
LIBTIRP_PATCH = libtirpc-0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
LIBTIRP_PATCH += libtirpc-0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch
LIBTIRP_PATCH += libtirpc-0003-Add-rpcgen-program-from-nfs-utils-sources.patch
LIBTIRP_PATCH += libtirpc-0004-Automatically-generate-XDR-header-files-from-.x-sour.patch
LIBTIRP_PATCH += libtirpc-0005-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch
LIBTIRP_PATCH += libtirpc-0006-Disable-DES-authentification-support.patch
LIBTIRP_PATCH += libtirpc-0007-include-stdint.h-for-uintptr_t.patch
$(D)/libtirpc: $(ARCHIVE)/libtirpc-$(LIBTIRPC_VER).tar.bz2 | $(TARGET_DIR)
$(REMOVE)/libtirpc-$(LIBTIRPC_VER)
$(UNTAR)/libtirpc-$(LIBTIRPC_VER).tar.bz2
$(CHDIR)/libtirpc-$(LIBTIRPC_VER); \
$(PATCH)/libtirpc-0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch; \
$(PATCH)/libtirpc-0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch; \
$(PATCH)/libtirpc-0003-Add-rpcgen-program-from-nfs-utils-sources.patch; \
$(PATCH)/libtirpc-0004-Automatically-generate-XDR-header-files-from-.x-sour.patch; \
$(PATCH)/libtirpc-0005-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch; \
$(PATCH)/libtirpc-0006-Disable-DES-authentification-support.patch; \
$(PATCH)/libtirpc-0007-include-stdint.h-for-uintptr_t.patch; \
$(call apply_patches, $(LIBTIRP_PATCH)); \
autoreconf -fi; \
$(CONFIGURE) \
--target=$(TARGET) \
@ -897,16 +921,18 @@ $(D)/libite: $(ARCHIVE)/libite-$(ITE_VER).tar.xz | $(TARGET_DIR)
# -----------------------------------------------------------------------------
LIBTIRP_PATCH = libmad-pc-fix.diff
LIBTIRP_PATCH += libmad-frame_length.diff
LIBTIRP_PATCH += libmad-mips-h-constraint-removal.patch
LIBTIRP_PATCH += libmad-remove-deprecated-cflags.patch
LIBTIRP_PATCH += libmad-thumb2-fixed-arm.patch
LIBTIRP_PATCH += libmad-thumb2-imdct-arm.patch
$(D)/libmad: $(ARCHIVE)/libmad-$(LIBMAD_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/libmad-$(LIBMAD_VER)
$(UNTAR)/libmad-$(LIBMAD_VER).tar.gz
$(CHDIR)/libmad-$(LIBMAD_VER); \
$(PATCH)/libmad-pc-fix.diff; \
$(PATCH)/libmad-frame_length.diff; \
$(PATCH)/libmad-mips-h-constraint-removal.patch; \
$(PATCH)/libmad-remove-deprecated-cflags.patch; \
$(PATCH)/libmad-thumb2-fixed-arm.patch; \
$(PATCH)/libmad-thumb2-imdct-arm.patch; \
$(call apply_patches, $(LIBTIRP_PATCH)); \
touch NEWS AUTHORS ChangeLog; \
autoreconf -fi; \
$(CONFIGURE) \
@ -983,6 +1009,8 @@ $(D)/libfribidi: $(ARCHIVE)/fribidi-$(FRIBIDI_VER).tar.bz2 | $(TARGET_DIR)
# -----------------------------------------------------------------------------
LIBFFI_PATCH = libffi-install_headers.patch
LIBFFI_CONF =
ifeq ($(BOXSERIES), hd1)
LIBFFI_CONF = --enable-static --disable-shared
@ -992,7 +1020,7 @@ $(D)/libffi: $(ARCHIVE)/libffi-$(LIBFFI_VER).tar.gz
$(REMOVE)/libffi-$(LIBFFI_VER)
$(UNTAR)/libffi-$(LIBFFI_VER).tar.gz
$(CHDIR)/libffi-$(LIBFFI_VER); \
$(PATCH)/libffi-install_headers.patch; \
$(call apply_patches, $(LIBFFI_PATCH)); \
$(CONFIGURE) \
--prefix= \
--datarootdir=/.remove \
@ -1081,12 +1109,14 @@ $(D)/libglib2: $(ARCHIVE)/glib-$(GLIB_VER).tar.xz $(D)/zlib $(LIBGLIB2_DEPS) $(D
# -----------------------------------------------------------------------------
ALSA-LIB_PATCH = alsa-lib-$(ALSA-LIB_VER)-link_fix.patch
ALSA-LIB_PATCH += alsa-lib-$(ALSA-LIB_VER).patch
$(D)/alsa-lib: $(ARCHIVE)/$(ALSA-LIB_SOURCE)
$(REMOVE)/alsa-lib-$(ALSA-LIB_VER)
$(UNTAR)/$(ALSA-LIB_SOURCE)
$(CHDIR)/alsa-lib-$(ALSA-LIB_VER); \
$(PATCH)/alsa-lib-$(ALSA-LIB_VER)-link_fix.patch; \
$(PATCH)/alsa-lib-$(ALSA-LIB_VER).patch; \
$(call apply_patches, $(ALSA-LIB_PATCH)); \
$(CONFIGURE) \
--prefix= \
--datarootdir=/.remove \

Loading…
Cancel
Save