package: add gst-ffmpeg
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 7 Oct 2010 13:55:08 +0000 (15:55 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 7 Oct 2010 13:55:08 +0000 (15:55 +0200)
ffmpeg plugin for gstreamer.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/multimedia/Config.in
package/multimedia/gst-ffmpeg/Config.in [new file with mode: 0644]
package/multimedia/gst-ffmpeg/gst-ffmpeg.mk [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index c96bc4dbb67f9403d2bfb3aaca155247e3584597..41406b8fea5f8c623b3d29241fc5f18c19e80c39 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -21,7 +21,7 @@
 
        Alpha, Cris, IA64 and Sparc64 architecture support removed.
 
-       New packages: libmpeg2, librsvg, xz
+       New packages: gst-ffmpeg, libmpeg2, librsvg, xz
 
        Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf,
        automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa,
index 91def57ae903df368e04787c3fab88ac601b6096..da50dbb12a09c4fb4ec3c5e0f486643879183ad3 100644 (file)
@@ -5,6 +5,7 @@ source "package/multimedia/aumix/Config.in"
 source "package/multimedia/flac/Config.in"
 source "package/multimedia/ffmpeg/Config.in"
 source "package/multimedia/gstreamer/Config.in"
+source "package/multimedia/gst-ffmpeg/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
diff --git a/package/multimedia/gst-ffmpeg/Config.in b/package/multimedia/gst-ffmpeg/Config.in
new file mode 100644 (file)
index 0000000..f5d01b9
--- /dev/null
@@ -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 (file)
index 0000000..557c146
--- /dev/null
@@ -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))