summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-02-23 22:12:39 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-02-23 22:40:09 (GMT)
commit8f98170ec77aede6b0f4c1f93ed3ae93dd72768e (patch)
tree7d756166cd55ccf61c42a120ff3813c01748eb8e
parent88cde28994c3279f753a15e66d10323078104eb9 (diff)
downloadmxe-8f98170ec77aede6b0f4c1f93ed3ae93dd72768e.zip
mxe-8f98170ec77aede6b0f4c1f93ed3ae93dd72768e.tar.gz
mxe-8f98170ec77aede6b0f4c1f93ed3ae93dd72768e.tar.bz2
libbluray: update and fix update script
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/ffmpeg-1-libbluray-pkg-config.patch16
-rw-r--r--src/ffmpeg.mk3
-rw-r--r--src/libbluray-2-freetype2.patch15
-rw-r--r--src/libbluray.mk6
4 files changed, 21 insertions, 19 deletions
diff --git a/src/ffmpeg-1-libbluray-pkg-config.patch b/src/ffmpeg-1-libbluray-pkg-config.patch
new file mode 100644
index 0000000..d1b37be
--- /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 34fcd2e..2fe4936 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 40bfdfc..0000000
--- 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 <ft2build.h>
- #include FT_FREETYPE_H
--#include <freetype/ftsynth.h>
-+#include <freetype2/ftsynth.h>
- #endif
-
- #include "textst_render.h"
diff --git a/src/libbluray.mk b/src/libbluray.mk
index aad903c..d8aeb69 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