Skip to contentSkip to conversation

ffmpeg: fix build for ffplay

PATCH New Phil Eichinger 2 participants 2 messages Dec 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffmpeg: fix build for ffplay

Upstream has dropped SDL support for ffplay in favor of SDL2. This results in silently not building ffplay even if it is selected in Buildroot config.

---
 package/ffmpeg/Config.in | 2 +-
 package/ffmpeg/ffmpeg.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/ffmpeg/Config.in +1 -1
index e813595..075ac12 100644
@@ -41,7 +41,7 @@ config BR2_PACKAGE_FFMPEG_FFMPEG
 config BR2_PACKAGE_FFMPEG_FFPLAY
 	bool "Build ffplay"
 	select BR2_PACKAGE_FFMPEG_SWSCALE
-	select BR2_PACKAGE_SDL
+	select BR2_PACKAGE_SDL2
 	help
 	  FFplay is a very simple and portable media player using the
 	  FFmpeg libraries and the SDL library.
package/ffmpeg/ffmpeg.mk +2 -2
index 699de2a..a681192 100644
@@ -80,9 +80,9 @@ FFMPEG_CONF_OPTS += --disable-ffmpeg
 endif
 
 ifeq ($(BR2_PACKAGE_FFMPEG_FFPLAY),y)
-FFMPEG_DEPENDENCIES += sdl
+FFMPEG_DEPENDENCIES += sdl2
 FFMPEG_CONF_OPTS += --enable-ffplay
-FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
+FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl2-config
 else
 FFMPEG_CONF_OPTS += --disable-ffplay
 endif
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 ffmpeg: fix build for ffplay

Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Phil" == Phil Eichinger <[email protected]> writes:

Upstream has dropped SDL support for ffplay in favor of SDL2. This results in silently not building ffplay even if it is selected in Buildroot config.

---
 package/ffmpeg/Config.in | 2 +-
 package/ffmpeg/ffmpeg.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/ffmpeg/Config.in +0 -0
index e813595..075ac12 100644

package/ffmpeg/Config.in config BR2_PACKAGE_FFMPEG_FFMPEG · line 44

Quoted 5 lines
package/ffmpeg/Config.in +1 -1
@@ -41,7 +41,7 @@ config BR2_PACKAGE_FFMPEG_FFMPEG
 config BR2_PACKAGE_FFMPEG_FFPLAY
 	bool "Build ffplay"
 	select BR2_PACKAGE_FFMPEG_SWSCALE
-	select BR2_PACKAGE_SDL
+	select BR2_PACKAGE_SDL2

You forgot to propagate the !static dependency of sdl2. Committed after fixing that, thanks.

Signature · 1 line
Bye, Peter Korsgaard