diff --git a/src/ffmpeg-1-libbluray-pkg-config.patch b/src/ffmpeg-1-libbluray-pkg-config.patch new file mode 100644 index 00000000..d1b37be8 --- /dev/null +++ b/src/ffmpeg-1-libbluray-pkg-config.patch @@ -0,0 +1,16 @@ +This file is part of MXE. +See index.html for further information. + +diff --git a/configure b/configure +index f831999..40c0a19 100755 +--- a/configure ++++ b/configure +@@ -4273,7 +4273,7 @@ enabled ladspa && { check_header ladspa.h || die "ERROR: ladspa.h hea + enabled libiec61883 && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883 + enabled libaacplus && require "libaacplus >= 2.0.0" aacplus.h aacplusEncOpen -laacplus + enabled libass && require_pkg_config libass ass/ass.h ass_library_init +-enabled libbluray && require libbluray libbluray/bluray.h bd_open -lbluray ++enabled libbluray && require_pkg_config libbluray libbluray/bluray.h bd_open + enabled libcelt && require libcelt celt/celt.h celt_decode -lcelt0 && + { check_lib celt/celt.h celt_decoder_create_custom -lcelt0 || + die "ERROR: libcelt must be installed and version must be >= 0.11.0."; } diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index 34fcd2e1..2fe4936d 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -9,7 +9,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.ffmpeg.org/releases/$($(PKG)_FILE) $(PKG)_URL_2 := http://launchpad.net/ffmpeg/main/$($(PKG)_VERSION)/+download/$($(PKG)_FILE) -$(PKG)_DEPS := gcc bzip2 gnutls lame libass libvpx opencore-amr opus sdl speex theora vo-aacenc vo-amrwbenc vorbis x264 xvidcore zlib +$(PKG)_DEPS := gcc bzip2 gnutls lame libass libbluray libvpx opencore-amr opus sdl speex theora vo-aacenc vo-amrwbenc vorbis x264 xvidcore zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.ffmpeg.org/download.html' | \ @@ -41,6 +41,7 @@ define $(PKG)_BUILD --enable-avisynth \ --enable-gnutls \ --enable-libass \ + --enable-libbluray \ --enable-libmp3lame \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ diff --git a/src/libbluray-2-freetype2.patch b/src/libbluray-2-freetype2.patch deleted file mode 100644 index 40bfdfcc..00000000 --- a/src/libbluray-2-freetype2.patch +++ /dev/null @@ -1,15 +0,0 @@ -This file is part of MXE. -See index.html for further information. - -diff -ur libbluray-0.4.0.orig/src/libbluray/decoders/textst_render.c libbluray-0.4.0/src/libbluray/decoders/textst_render.c ---- libbluray-0.4.0.orig/src/libbluray/decoders/textst_render.c 2013-12-26 17:53:01.000000000 +1100 -+++ libbluray-0.4.0/src/libbluray/decoders/textst_render.c 2013-12-26 17:54:24.000000000 +1100 -@@ -30,7 +30,7 @@ - #ifdef HAVE_FT2 - #include - #include FT_FREETYPE_H --#include -+#include - #endif - - #include "textst_render.h" diff --git a/src/libbluray.mk b/src/libbluray.mk index aad903c9..d8aeb695 100644 --- a/src/libbluray.mk +++ b/src/libbluray.mk @@ -3,15 +3,15 @@ PKG := libbluray $(PKG)_IGNORE := -$(PKG)_VERSION := 0.4.0 -$(PKG)_CHECKSUM := 39984aae77efde2e0917ed7e183ebf612813d7f3 +$(PKG)_VERSION := 0.5.0 +$(PKG)_CHECKSUM := 1a9c61daefc31438f9165e7681c563d0524b2d3e $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 $(PKG)_URL := ftp://ftp.videolan.org/pub/videolan/libbluray/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc freetype libxml2 define $(PKG)_UPDATE - $(WGET) -q -O- 'ftp://ftp.videolan.org/pub/videolan/libbluray/last/' | \ + $(WGET) -q -O- 'http://www.videolan.org/developers/libbluray.html' | \ $(SED) -n 's,.*libbluray-\([0-9][^<]*\)\.tar.*,\1,p' | \ head -1 endef