blob: 94ad6095a2ae97580938cab6c38d82a58177a258 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/bash
fetch_source() {
:
}
build() {
:
}
post_copy() {
# little Workaround, as under e.g. 64bit Suse the binary is called
# pango-querymodules-64, not pango-querymodules.
which pango-querymodules 2>/dev/null 1>&2
ERR=$?
if [[ "$ERR" -eq 0 ]]; then
PANGO_QUERYMODULES_ARCH=pango-querymodules
else
which pango-querymodules-64 2>/dev/null 1>&2
ERR=$?
if [[ "$ERR" -eq 0 ]]; then
PANGO_QUERYMODULES_ARCH=pango-querymodules-64
else
pwarning "Could not find either pango-querymodules or pango-querymodules-64!"
pwarning "Newer pango versions (1.37) deprecated this tool. Most likely all is fine."
return 0
fi
fi
[ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango"
$PANGO_QUERYMODULES_ARCH > "$TARGET_BUILD_DIR/etc/pango/pango.modules"
}
|