From 9a577c6d88d4dc59579d2450dd5e6f84f0293265 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 10 Feb 2012 00:17:19 +0100 Subject: [PATCH] elementary: install uncompiled data/ into $docdir when cross compiling --- e17/elementary/elementary.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/e17/elementary/elementary.conf b/e17/elementary/elementary.conf index d6572bab5..2c38cb83b 100644 --- a/e17/elementary/elementary.conf +++ b/e17/elementary/elementary.conf @@ -13,3 +13,18 @@ # --- SDE-COPYRIGHT-NOTE-END --- var_append extraconfopt ' ' '--with-eet-eet=eet' + +if atstage cross; then + # we don't have edje_cc here, so pass this ball to runtime + install_raw_themes() { + local ext= f= d="$root$docdir" + for ext in desktop edc gif jpg png; do + find data/ -type f -name *.$ext | while read f; do + mkdir -p "$d/${f%/*}" + cp "$f" "$d/$f" + done + done + } + + hook_add postmake 5 'install_raw_themes' +fi