diff options
Diffstat (limited to 'src/gstreamer.mk')
-rw-r--r-- | src/gstreamer.mk | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/gstreamer.mk b/src/gstreamer.mk index 7f83d4f..ea059c7 100644 --- a/src/gstreamer.mk +++ b/src/gstreamer.mk @@ -1,10 +1,10 @@ # This file is part of MXE. See LICENSE.md for licensing information. PKG := gstreamer -$(PKG)_WEBSITE := https://gstreamer.freedesktop.org/ +$(PKG)_WEBSITE := https://gstreamer.freedesktop.org/modules/gstreamer.html $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.2 -$(PKG)_CHECKSUM := 5896716bd8e089dba452932a2eff2bb6f6c9d58ff64a96635d157f1ffaf8feb2 +$(PKG)_VERSION := 1.12.2 +$(PKG)_CHECKSUM := 9fde3f39a2ea984f9e07ce09250285ce91f6e3619d186889f75b5154ecf994ba $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE) @@ -12,24 +12,23 @@ $(PKG)_DEPS := gcc glib libxml2 pthreads define $(PKG)_UPDATE $(WGET) -q -O- 'https://cgit.freedesktop.org/gstreamer/gstreamer/refs/tags' | \ - $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9]\.[02468]\.[0-9][^']*\\)'.*,\\1,p" | \ + $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9]\..[02468]\.[0-9][^']*\\)'.*,\\1,p" | \ $(SORT) -Vr | \ head -1 endef define $(PKG)_BUILD - $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' '$(1)'/gst/Makefile.in - $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' '$(1)'/gst/Makefile.in - cd '$(1)' && ./configure \ + cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ $(MXE_CONFIGURE_OPTS) \ --disable-debug \ --disable-check \ --disable-tests \ --disable-examples \ - --mandir='$(1)/sink' \ - --docdir='$(1)/sink' \ - --with-html-dir='$(1)/sink' - $(MAKE) -C '$(1)' -j '$(JOBS)' install + --mandir='$(BUILD_DIR)/sink' \ + --docdir='$(BUILD_DIR)/sink' \ + --with-html-dir='$(BUILD_DIR)/sink' + $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) + $(MAKE) -C '$(BUILD_DIR)' -j 1 install # some .dlls are installed to lib - no obvious way to change $(if $(BUILD_SHARED), |