Browse Source

elementary: install uncompiled data/ into $docdir when cross compiling

user/chris/next/xorg
Alejandro Mery 13 years ago
parent
commit
9a577c6d88
  1. 15
      e17/elementary/elementary.conf

15
e17/elementary/elementary.conf

@ -13,3 +13,18 @@
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
var_append extraconfopt ' ' '--with-eet-eet=eet' 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

Loading…
Cancel
Save