Mercurial > mxe-octave
annotate src/of-video.mk @ 4659:073464b5e319
build-flex: allow build to work on systems without flex
* build-flex-1-fixes.patch: Also patch generated scan.c file so that
build will succeed on systems that don't have flex installed.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Apr 2018 17:37:58 -0400 |
parents | 7d1e45c2f175 |
children | 9320395c7286 |
rev | line source |
---|---|
4073 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := of-video | |
5 $(PKG)_IGNORE := | |
4390 | 6 $(PKG)_VERSION := 1.2.4 |
7 $(PKG)_CHECKSUM := b1d00052c7ea6633ba24ad21e851cda18159d4f1 | |
4073 | 8 $(PKG)_REMOTE_SUBDIR := |
9 $(PKG)_SUBDIR := video-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
12 $(PKG)_DEPS := ffmpeg | |
13 | |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4390
diff
changeset
|
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4390
diff
changeset
|
15 $(PKG)_DEPS += $(OCTAVE_TARGET) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4390
diff
changeset
|
16 endif |
4073 | 17 |
18 ifeq ($(MXE_SYSTEM),mingw) | |
19 $(PKG)_OPTIONS := ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes | |
20 else | |
21 $(PKG)_OPTIONS := | |
22 endif | |
23 | |
24 define $(PKG)_UPDATE | |
4543
7d1e45c2f175
update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents:
4449
diff
changeset
|
25 $(OCTAVE_FORGE_PKG_UPDATE) |
4073 | 26 endef |
27 | |
28 define $(PKG)_BUILD | |
29 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS)) | |
30 endef |