annotate src/of-video.mk @ 4073:03ed5810b068

of-video: add video package * src/of-video.mk: new file * src/of-video-1-fixes.patch: new file * Makefile.in: add of-video to forge packages * index.html: add of-video package
author John Donoghue
date Wed, 06 Jan 2016 15:59:32 -0500
parents
children ab391f476b81
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4073
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
3
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
4 PKG := of-video
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
6 $(PKG)_VERSION := 1.2.1
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
7 $(PKG)_CHECKSUM := dbefd278e272fcd9a79d2edc4b00df37735b103a
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR := video-$($(PKG)_VERSION)
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS := ffmpeg
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
13
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
14
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
15 ifeq ($(MXE_SYSTEM),mingw)
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
16 $(PKG)_OPTIONS := ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
17 else
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
18 $(PKG)_OPTIONS :=
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
19 endif
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
20
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
21 define $(PKG)_UPDATE
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
22 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
23 $(SED) -n 's,.*title="video-\([0-9][^"]*\).tar.gz".*,\1,p' | \
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
24 head -1
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
25 endef
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
26
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
27 define $(PKG)_BUILD
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
28 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS))
03ed5810b068 of-video: add video package
John Donoghue
parents:
diff changeset
29 endef