Commit f21fbc48 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

recipes: use the new runtime dependencies

parent 09e99e31
......@@ -11,7 +11,7 @@ class Recipe(recipe.Recipe):
url = 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.2.tar.gz'
platform_deps = {
Platform.DARWIN: ['libiconv', 'sed'],
Platform.WINDOWS: ['libiconv', 'libstdc++', 'mingw', 'winpthreads-runtime'],}
Platform.WINDOWS: ['libiconv', 'mingw-runtime'],}
configure_options = ' --disable-java --disable-csharp --disable-native-java --without-csv'
def prepare(self):
......
......@@ -8,10 +8,6 @@ class Recipe(recipe.Recipe):
configure_options = ' --enable-static'
deps = ['libffi', 'zlib']
can_use_configure_cache = False
platform_deps = {Platform.WINDOWS: ['libiconv', 'gettext'],
Platform.DARWIN: ['libiconv', 'gettext'],
Platform.IOS: ['libiconv', 'gettext'],
Platform.ANDROID: ['libiconv', 'gettext']}
def prepare(self):
......
......@@ -7,9 +7,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1Plus]
configure_options = "--disable-introspection "
deps = ['clutter', 'gstreamer', 'gst-plugins-base']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
use_system_libs = True
autoreconf = True
......
......@@ -8,9 +8,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1Plus]
configure_options = "--disable-introspection "
deps = ['json-glib', 'cairo', 'atk', 'pango', 'cogl']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
use_system_libs = True
autoreconf=True
......
......@@ -9,9 +9,6 @@ class Recipe(recipe.Recipe):
configure_options = "--disable-introspection "
use_system_libs = True
deps = [ 'pango', 'gdk-pixbuf' ]
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
autoreconf = True
files_libs = ['libcogl', 'libcogl-pango']
......
......@@ -8,7 +8,6 @@ class Recipe(recipe.Recipe):
# only libraries are Xiph.org (aka BSD-like), tools are GPLv2+ and defined below
licenses = [License.BSD_like]
deps = [ 'libogg' ]
platform_deps = { Platform.WINDOWS: ['libiconv'] }
configure_options = ' --disable-cpplibs'
files_libs = ['libFLAC']
......
......@@ -8,8 +8,6 @@ class Recipe(recipe.Recipe):
licenses = [License.MIT]
configure_options = '--disable-docs'
deps = ['expat', 'freetype', 'zlib', 'bzip2']
platform_deps = { Platform.WINDOWS: ['libiconv'],
Platform.DARWIN: ['libiconv']}
files_libs = ['libfontconfig']
files_etc = [
......@@ -36,4 +34,3 @@ class Recipe(recipe.Recipe):
continue
os.remove(os.path.join(confddir, f))
os.symlink(os.path.join(linksrc, f), os.path.join(confddir, f))
......@@ -21,3 +21,5 @@ class Recipe(recipe.Recipe):
elif self.config.target_platform == Platform.ANDROID:
self.autoreconf = True
self.autoreconf_sh = 'cd .. && ./autogen.sh --quick --skip-gnulib'
if self.config.target_platform != Platform.LINUX:
self.runtime_dep = True
......@@ -21,10 +21,6 @@ class Recipe(recipe.Recipe):
config_sh = 'sh autogen.sh'
deps = ['libffi', 'zlib']
can_use_configure_cache = False
platform_deps = {Platform.WINDOWS: ['libiconv', 'gettext'],
Platform.DARWIN: ['libiconv', 'gettext'],
Platform.IOS: ['libiconv', 'gettext'],
Platform.ANDROID: ['libiconv', 'gettext']}
files_libs = [
'libglib-2.0', 'libgio-2.0', 'libgmodule-2.0', 'libgobject-2.0',
......
......@@ -5,9 +5,6 @@ class Recipe(recipe.Recipe):
name = 'gmp'
version = '5.0.5'
licenses = [License.LGPLv3Plus]
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
files_libs = ['libgmp']
files_devel = ['include/gmp.h']
......@@ -10,6 +10,7 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1]
stype = SourceType.CUSTOM
btype = BuildType.CUSTOM
runtime_dep = True
files_stl = [
'lib/libgnustl.so']
......
......@@ -9,9 +9,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1Plus]
configure_options = '--with-included-immodules '
deps = ['glib', 'atk', 'pango', 'gdk-pixbuf', 'cairo']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
files_libs = ['libgailutil']
files_bins = ['gtk-update-icon-cache', 'gtk-query-immodules-2.0']
......
......@@ -17,3 +17,6 @@ class Recipe(recipe.Recipe):
'include/localcharset.h' ]
files_lang = ['libiconv']
def prepare(self):
if self.config.target_platform != Platform.LINUX:
self.runtime_dep = True
......@@ -6,9 +6,6 @@ class Recipe(recipe.Recipe):
version = '2.36.1'
licenses = [License.LGPLv2]
deps = ['gdk-pixbuf', 'libcroco', 'gtk+']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
configure_options = '--enable-introspection=no'
files_libs = ['librsvg-2']
......
......@@ -7,9 +7,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1Plus]
autoreconf = True
configure_options = ' --enable-static'
platform_deps = {Platform.WINDOWS: ['libiconv', 'gettext'],
Platform.DARWIN: ['libiconv', 'gettext'],
Platform.ANDROID: ['libiconv', 'gettext']}
files_libs = ['libvisual-0.4']
files_devel = ['include/libvisual-0.4', 'lib/pkgconfig/libvisual-0.4.pc']
......@@ -7,10 +7,6 @@ class Recipe(recipe.Recipe):
licenses = [License.MIT]
deps = [ 'zlib' ]
autoreconf = True
platform_deps = {
Platform.WINDOWS: ['libiconv'],
Platform.ANDROID: ['libiconv'],
}
files_libs = ['libxml2']
files_devel = ['include/libxml2', 'lib/xml2Conf.sh', 'bin/xml2-config',
'lib/pkgconfig/libxml-2.0.pc', 'bin/xmllint%(bext)s']
......
......@@ -9,9 +9,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2Plus]
configure_options = '--with-included-modules --enable-static --disable-gtk-doc'
deps = ['cairo', 'fontconfig', 'freetype', 'gtk-doc-lite']
platform_deps = {
Platform.WINDOWS: ['libstdc++'],
}
files_libs = ['libpangocairo-1.0', 'libpango-1.0', 'libpangoft2-1.0']
files_bins = ['pango-querymodules', 'pango-view']
......
......@@ -7,9 +7,6 @@ class Recipe(recipe.Recipe):
# either LGPLv2 or GPLv2 or MPLv1.1 or MIT
licenses = [License.LGPLv2]
deps = ['orc', 'glib']
platform_deps = {
Platform.WINDOWS: ['mingw'], # for libstdc++
}
can_use_configure_cache = False
autoreconf = True
......
......@@ -8,10 +8,6 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2_1Plus]
autoreconf_sh = './bootstrap'
autoreconf = True
platform_deps = {
Platform.ANDROID: ['gnustl'],
Platform.WINDOWS: ['libstdc++'],
}
files_libs = ['libSoundTouch']
files_devel = ['include/soundtouch', 'lib/pkgconfig/soundtouch.pc']
......
......@@ -6,7 +6,6 @@ class Recipe(recipe.Recipe):
name = 'wavpack'
version = '4.60.1'
licenses = [License.BSD_like]
platform_deps = { Platform.WINDOWS: ['libiconv'] }
files_libs = ['libwavpack']
files_bins = ['wavpack']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment