From 3ec27b417bfd5acc06de1ffce1d7cde7993e2b88 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Fri, 11 Apr 2014 22:35:38 +0200 Subject: [PATCH 3/6] arch: support gtk and glib recipies --- recipes/glib.recipe | 3 +++ recipes/gtk.recipe | 2 ++ 2 files changed, 5 insertions(+) diff --git a/recipes/glib.recipe b/recipes/glib.recipe index 58768ee..020e393 100644 --- a/recipes/glib.recipe +++ b/recipes/glib.recipe @@ -161,6 +161,9 @@ class Recipe(recipe.Recipe): elif self.config.target_distro == Distro.SUSE: if self.config.target_arch == Architecture.X86_64: path1 = '/usr/lib64/gio/modules/' + # Arch + elif self.config.target_distro == Distro.ARCH: + path1 = '/usr/lib/gio/modules/' elif self.config.target_distro == Distro.NONE: if self.config.target_distro_version == DistroVersion.NONE_UCLIBC: self.deps += ('gettext', 'libiconv') diff --git a/recipes/gtk.recipe b/recipes/gtk.recipe index 081cb7b..d50fd32 100644 --- a/recipes/gtk.recipe +++ b/recipes/gtk.recipe @@ -126,6 +126,8 @@ class Recipe(recipe.Recipe): elif self.config.target_distro == Distro.SUSE: if self.config.target_arch == Architecture.X86_64: mod_path1 = '/usr/lib64/gtk-2.0' + elif self.config.target_distro == Distro.ARCH: + mod_path1 = '/usr/lib/gtk-2.0' else: raise FatalError(_("Add specific for other Linux distributions here")) self._set_flags(mod_path1, mod_path2, themes_path) -- 2.0.0