Merge pull request #2839 from alihanozturk/master

gst-python3:fix py version gstreamermm-next:add patch
This commit is contained in:
Alihan Öztürk
2017-02-17 14:43:37 +02:00
committed by GitHub
3 changed files with 19 additions and 1 deletions
@@ -0,0 +1,15 @@
Author: Marcin Kolny <marcin.kolny@gmail.com>
Description: Fix warnings
Origin: https://git.gnome.org/browse/gstreamermm/commit/gstreamer/gstreamermm/check.cc?id=c5006faf05bc4b46767d30f42bcb6157836b7540
Last-update: 2016-09-25
--- a/gstreamer/gstreamermm/check.cc
+++ b/gstreamer/gstreamermm/check.cc
@@ -54,7 +54,7 @@
element = ElementFactory::create_element (factory, factory);
- ThrowIf (element, "Could not create a '" + factory + "' element");
+ ThrowIf (!!element, "Could not create a '" + factory + "' element");
CheckRefCount (element->gobj(), factory, 1);
return element;
@@ -18,6 +18,9 @@
<Dependency>gstreamer-next-devel</Dependency>
<Dependency>gst-plugins-base-next-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">03-fix-ftbfs.patch</Patch>
</Patches>
</Source>
<Package>
@@ -10,7 +10,7 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("PYTHON", "/usr/bin/python3.4")
shelltools.export("PYTHON", "/usr/bin/python3.6")
autotools.autoreconf("-vfi")
autotools.configure("--disable-static")