summaryrefslogtreecommitdiff
path: root/recipes/gst-transcoder.recipe
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2017-10-31 16:14:01 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-02 20:57:55 +0530
commitdf124b0bb1214b84e1aa2dd194fe01fa2edd1d35 (patch)
tree458e341d208940368218b1d14bdcb3de5d8d1853 /recipes/gst-transcoder.recipe
parent7002852583626883132ac7078b523eb32f9bc53c (diff)
Meson: Port gst-transcoder recipe
https://bugzilla.gnome.org/show_bug.cgi?id=789316
Diffstat (limited to 'recipes/gst-transcoder.recipe')
-rw-r--r--recipes/gst-transcoder.recipe16
1 files changed, 2 insertions, 14 deletions
diff --git a/recipes/gst-transcoder.recipe b/recipes/gst-transcoder.recipe
index 3f72c987..718e2dcb 100644
--- a/recipes/gst-transcoder.recipe
+++ b/recipes/gst-transcoder.recipe
@@ -8,7 +8,8 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2Plus]
remotes = {'origin': 'https://github.com/pitivi/gst-transcoder.git'}
commit = 'origin/master'
- deps = ['gstreamer-1.0', 'gst-plugins-base-1.0']
+ deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'gobject-introspection']
+ btype = BuildType.MESON
files_libs = ['libgsttranscoder-1.0']
@@ -29,16 +30,3 @@ class Recipe(recipe.Recipe):
]
files_bins = ['gst-transcoder-1.0']
- btype = BuildType.MAKEFILE
-
- config_sh = './configure'
- configure_tpl = "%(config-sh)s --prefix %(prefix)s %(options)s"
-
- def prepare(self):
- # --libdir is relative in meson
- libdir = self.config.libdir.replace(
- os.path.join(os.path.commonprefix([
- to_unixpath(self.config.prefix),
- to_unixpath(self.config.libdir)]), ''), '')
-
- self.configure_options = ' --libdir=%s/ ' % libdir