summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-ugly-1.0.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-09-01 15:43:34 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-09-01 15:48:41 +0530
commit3ff65b61caaaa7d74e5c5ca6d74c41040b093120 (patch)
tree2c2c03846f06313dc191b4dc80301de75e842852 /recipes/gst-plugins-ugly-1.0.recipe
parentdd317a9727755400cac327c65969b70e07401526 (diff)
Port all gstreamer recipes to Meson
Tested on: Fedora 28, macOS, cross-win32, cross-win64, cross-android-universal, cross-ios-universal, Windows.
Diffstat (limited to 'recipes/gst-plugins-ugly-1.0.recipe')
-rw-r--r--recipes/gst-plugins-ugly-1.0.recipe9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/gst-plugins-ugly-1.0.recipe b/recipes/gst-plugins-ugly-1.0.recipe
index 039a4e14..d6a5b5d8 100644
--- a/recipes/gst-plugins-ugly-1.0.recipe
+++ b/recipes/gst-plugins-ugly-1.0.recipe
@@ -3,7 +3,10 @@
class Recipe(custom.GStreamer):
name = 'gst-plugins-ugly-1.0'
- config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
+ btype = BuildType.MESON
+ meson_options = {'examples': 'disabled', 'gtk_doc': 'disabled', 'a52dec': 'enabled',
+ 'dvdread': 'enabled', 'amrnb': 'enabled', 'amrwbdec': 'enabled',
+ 'x264': 'enabled'}
configure_options = "--enable-static --disable-examples --disable-iec958 --disable-mpegstream \
--disable-cdio --disable-sidplay --disable-gtk-doc --disable-fatal-warnings "
remotes = {'origin': 'https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly'}
@@ -46,11 +49,11 @@ class Recipe(custom.GStreamer):
def prepare(self):
if self.config.target_platform in [ Platform.ANDROID, Platform.IOS ]:
- for d in ['libdvdread']:
- self.deps.remove(d)
+ self.deps.remove('libdvdread')
self.files_plugins_dvd.remove('lib/gstreamer-1.0/libgstdvdread%(mext)s')
self.files_plugins_dvd_devel.remove('lib/gstreamer-1.0/libgstdvdread.la')
self.files_plugins_dvd_devel.remove('lib/gstreamer-1.0/libgstdvdread.a')
+ self.meson_options['dvdread'] = 'disabled'
if self.config.variants.nodebug:
self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME')