Skip to contentSkip to conversation

ffmpeg: remove example source code from target

PATCH New Danomi Manchego 2 participants 2 messages Feb 16, 2017 – Feb 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffmpeg: remove example source code from target

There does not appear to be a way to configure the example code installation, so this mod gets rid of it with a post-install hook.

---
 package/ffmpeg/ffmpeg.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/ffmpeg/ffmpeg.mk +5 -0
index 6540d41..45bda35 100644
@@ -496,4 +496,9 @@ define FFMPEG_CONFIGURE_CMDS
 	)
 endef
 
+define FFMPEG_REMOVE_EXAMPLE_SRC_FILES
+	rm -rf $(TARGET_DIR)/usr/share/ffmpeg/examples
+endef
+FFMPEG_POST_INSTALL_TARGET_HOOKS += FFMPEG_REMOVE_EXAMPLE_SRC_FILES
+
 $(eval $(autotools-package))
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ffmpeg: remove example source code from target

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Danomi" == Danomi Manchego <[email protected]> writes:

There does not appear to be a way to configure the example code installation, so this mod gets rid of it with a post-install hook.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard