summaryrefslogtreecommitdiffstats
path: root/src/libdvdread.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-04-11 22:40:29 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-04-11 22:41:17 (GMT)
commit7ed32e3b5cf41f5e8939d36113a84bf280104ad4 (patch)
tree67a67cdafdc00a357db0e9ca37feeab9fd49c0c8 /src/libdvdread.mk
parentc155dd7c8dadc0c27e0b47fc6aec65dfa013717f (diff)
downloadmxe-7ed32e3b5cf41f5e8939d36113a84bf280104ad4.zip
mxe-7ed32e3b5cf41f5e8939d36113a84bf280104ad4.tar.gz
mxe-7ed32e3b5cf41f5e8939d36113a84bf280104ad4.tar.bz2
Update libdvdnav and libdvdread
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/libdvdread.mk')
-rw-r--r--src/libdvdread.mk26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/libdvdread.mk b/src/libdvdread.mk
index fe08a2a..2e6485c 100644
--- a/src/libdvdread.mk
+++ b/src/libdvdread.mk
@@ -3,30 +3,28 @@
PKG := libdvdread
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 7c74365
-$(PKG)_CHECKSUM := 99b12a4147064df85a7e5d6b0f00c00342c520a4
-$(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
-# Use Git snapshot for now because of its crash and assertion fixes
-# Commented out until new version based on Git is released
-# $(PKG)_VERSION := 4.2.1
-# $(PKG)_CHECKSUM :=
-# $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
-# $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
-# $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE)
+$(PKG)_VERSION := 4.9.9
+$(PKG)_CHECKSUM := 5536084fc7cd9a5d9fff9f91bfe7bf3e4cf3700e
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
+$(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE)
+# $(PKG)_VERSION := 7c74365
+# $(PKG)_CHECKSUM := 99b12a4147064df85a7e5d6b0f00c00342c520a4
+# $(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION)
+# $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+# $(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
# libdvdread supports libdvdcss either by dynamic loading (dlfcn-win32) or
# directly linking to libdvdcss. We directly links to the library here.
$(PKG)_DEPS := gcc libdvdcss
-define $(PKG)_UPDATE
+define $(PKG)_UPDATE_GIT
$(WGET) -q -O- 'https://github.com/mirror/libdvdread/commits/master' | \
$(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
head -1
endef
-define $(PKG)_UPDATE_RELEASE
+define $(PKG)_UPDATE
$(WGET) -q -O- 'https://dvdnav.mplayerhq.hu/releases/' | \
$(SED) -n 's,.*libdvdread-\([0-9][^<]*\)\.tar.*,\1,p' | \
grep -v 'alpha\|beta\|rc' | \