diff options
Diffstat (limited to 'src/libdvdread.mk')
-rw-r--r-- | src/libdvdread.mk | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/libdvdread.mk b/src/libdvdread.mk index 8be143e..70b9312 100644 --- a/src/libdvdread.mk +++ b/src/libdvdread.mk @@ -1,23 +1,18 @@ # This file is part of MXE. See LICENSE.md for licensing information. PKG := libdvdread -$(PKG)_WEBSITE := https://dvdnav.mplayerhq.hu/ +$(PKG)_WEBSITE := https://www.videolan.org/developers/libdvdnav.html $(PKG)_IGNORE := -$(PKG)_VERSION := 5.0.0 -$(PKG)_CHECKSUM := 66fb1a3a42aa0c56b02547f69c7eb0438c5beeaf21aee2ae2c6aa23ea8305f14 +$(PKG)_VERSION := 6.0.0 +$(PKG)_CHECKSUM := b33b1953b4860545b75f6efc06e01d9849e2ea4f797652263b0b4af6dd10f935 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 - -# Later releases seem to be hosted on VideoLAN's server -# $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE) $(PKG)_URL := https://download.videolan.org/pub/videolan/$(PKG)/$($(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 := cc libdvdcss -$(PKG)_UPDATE_GIT = $(call MXE_GET_GITHUB_SHA, mirror/libdvdread, master) - define $(PKG)_UPDATE $(WGET) -q -O- 'https://download.videolan.org/pub/videolan/libdvdread/' | \ $(SED) -n 's,.*href="\([0-9][^<]*\)/".*,\1,p' | \ @@ -27,11 +22,11 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && autoreconf -fi - cd '$(1)' && ./configure \ - $(MXE_CONFIGURE_OPTS) \ + # build and install the library + cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \ + $(MXE_CONFIGURE_OPTS) --with-libdvdcss \ --disable-apidoc - $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined - $(MAKE) -C '$(1)' -j 1 install LDFLAGS=-no-undefined + $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' LDFLAGS=-no-undefined + $(MAKE) -C '$(BUILD_DIR)' -j 1 install LDFLAGS=-no-undefined endef |