diff options
author | Pavel Vatagin <pavelvat@gmail.com> | 2017-01-02 19:59:52 (GMT) |
---|---|---|
committer | Pavel Vatagin <pavelvat@gmail.com> | 2017-01-02 22:13:14 (GMT) |
commit | 762e39b5a594400a28a00310218f6f154bf4a407 (patch) | |
tree | 4633c739f7a4c94d70d8ab844183f106dbaaa061 /src | |
parent | e134a77279b36e6dccfc644c53c3cecf542c0d62 (diff) | |
download | mxe-762e39b5a594400a28a00310218f6f154bf4a407.zip mxe-762e39b5a594400a28a00310218f6f154bf4a407.tar.gz mxe-762e39b5a594400a28a00310218f6f154bf4a407.tar.bz2 |
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 |