aboutsummaryrefslogtreecommitdiffstats
path: root/package/multimedia/gst-ffmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/gst-ffmpeg')
-rw-r--r--package/multimedia/gst-ffmpeg/Config.in16
-rw-r--r--package/multimedia/gst-ffmpeg/gst-ffmpeg.mk18
2 files changed, 34 insertions, 0 deletions
diff --git a/package/multimedia/gst-ffmpeg/Config.in b/package/multimedia/gst-ffmpeg/Config.in
new file mode 100644
index 000000000..f5d01b980
--- /dev/null
+++ b/package/multimedia/gst-ffmpeg/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_GST_FFMPEG
+ bool "gst-ffmpeg"
+ depends on BR2_PACKAGE_GSTREAMER
+ select BR2_PACKAGE_GST_PLUGINS_BASE
+ select BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_FFMPEG_GPL
+ select BR2_PACKAGE_FFMPEG_POSTPROC
+ select BR2_PACKAGE_FFMPEG_SWSCALE
+ depends on BR2_LARGEFILE
+ help
+ GStreamer plugin using FFmpeg.
+
+ http://gstreamer.freedesktop.org/
+
+comment "gst-ffmpeg requires a toolchain with LARGEFILE support"
+ depends on !BR2_LARGEFILE
diff --git a/package/multimedia/gst-ffmpeg/gst-ffmpeg.mk b/package/multimedia/gst-ffmpeg/gst-ffmpeg.mk
new file mode 100644
index 000000000..557c1465f
--- /dev/null
+++ b/package/multimedia/gst-ffmpeg/gst-ffmpeg.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# gst-ffmpeg
+#
+#############################################################
+GST_FFMPEG_VERSION = 0.10.9
+GST_FFMPEG_SOURCE = gst-ffmpeg-$(GST_FFMPEG_VERSION).tar.bz2
+GST_FFMPEG_SITE = http://gstreamer.freedesktop.org/src/gst-ffmpeg
+GST_FFMPEG_INSTALL_STAGING = YES
+GST_FFMPEG_LIBTOOL_PATCH = NO
+GST_FFMPEG_DEPENDENCIES = gstreamer gst-plugins-base ffmpeg
+GST_FFMPEG_CONF_OPT = --with-system-ffmpeg
+
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+GST_FFMPEG_DEPENDENCIES += bzip2
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,gst-ffmpeg))