diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2010-06-14 21:41:43 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-06-14 23:39:15 +0200 |
commit | 5253efadb0f5ba7e3bc3c339a1fa2a83df86ac7e (patch) | |
tree | f93d7c71df04ab836691a98247324b434835f7d2 /package/multimedia/ffmpeg/ffmpeg.mk | |
parent | 13293407c988c5c5fdcf0ffacf4e29f8462e2b64 (diff) | |
download | buildroot-novena-5253efadb0f5ba7e3bc3c339a1fa2a83df86ac7e.tar.gz buildroot-novena-5253efadb0f5ba7e3bc3c339a1fa2a83df86ac7e.zip |
ffmpeg: add commandline programs
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/ffmpeg/ffmpeg.mk')
-rw-r--r-- | package/multimedia/ffmpeg/ffmpeg.mk | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/package/multimedia/ffmpeg/ffmpeg.mk b/package/multimedia/ffmpeg/ffmpeg.mk index 618a3c40c..1f9f47295 100644 --- a/package/multimedia/ffmpeg/ffmpeg.mk +++ b/package/multimedia/ffmpeg/ffmpeg.mk @@ -12,9 +12,6 @@ FFMPEG_INSTALL_TARGET = YES FFMPEG_CONF_OPT = \ --prefix=/usr \ --enable-shared \ - --disable-ffmpeg \ - --disable-ffplay \ - --disable-ffserver \ --disable-avfilter \ --disable-postproc \ --disable-swscale \ @@ -32,6 +29,26 @@ else FFMPEG_CONF_OPT += --disable-nonfree endif +ifeq ($(BR2_PACKAGE_FFMPEG_FFMPEG),y) +FFMPEG_CONF_OPT += --enable-ffmpeg +else +FFMPEG_CONF_OPT += --disable-ffmpeg +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_FFPLAY),y) +FFMPEG_DEPENDENCIES += sdl +FFMPEG_CONF_OPT += --enable-ffplay +FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config +else +FFMPEG_CONF_OPT += --disable-ffplay +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_FFSERVER),y) +FFMPEG_CONF_OPT += --enable-ffserver +else +FFMPEG_CONF_OPT += --disable-ffserver +endif + ifeq ($(BR2_PTHREADS_NONE),y) FFMPEG_CONF_OPT += --disable-pthreads else |