diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2017-01-03 00:38:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-03 00:38:03 (GMT) |
commit | 3daffe5a7cb256373ba97d8c3bb9304bfba6705f (patch) | |
tree | 7f7011caaed4c04d922785a1224b2ea928f4a8af /src | |
parent | d309c9912107b235395fa3551225a4dc95809342 (diff) | |
parent | 762e39b5a594400a28a00310218f6f154bf4a407 (diff) | |
download | mxe-3daffe5a7cb256373ba97d8c3bb9304bfba6705f.zip mxe-3daffe5a7cb256373ba97d8c3bb9304bfba6705f.tar.gz mxe-3daffe5a7cb256373ba97d8c3bb9304bfba6705f.tar.bz2 |
Merge pull request #1623 from pavelvat/add-package-gst-libav
add package gst-libav
Diffstat (limited to 'src')
-rw-r--r-- | src/gst-libav.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gst-libav.mk b/src/gst-libav.mk new file mode 100644 index 0000000..50ef469 --- /dev/null +++ b/src/gst-libav.mk @@ -0,0 +1,25 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := gst-libav +$(PKG)_WEBSITE := https://gstreamer.freedesktop.org/modules/gst-libav.html +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.6.2 +$(PKG)_CHECKSUM := 2597acc00171006d49f0d300440a87df51b113d557466e532153abc740db3469 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc gst-plugins-base + +$(PKG)_UPDATE = $(subst gstreamer/refs,gst-libav/refs,$(gstreamer_UPDATE)) + +define $(PKG)_BUILD + cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ + $(MXE_CONFIGURE_OPTS) + $(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), + mv -vf '$(PREFIX)/$(TARGET)/lib/gstreamer-1.0/'*.dll '$(PREFIX)/$(TARGET)/bin/' + ) +endef |