Lines 34-42
Link Here
|
34 |
pkg_setup() { |
|
|
35 |
if has_version ">=dev-lang/lua-5.1.3-r1" && ! built_with_use dev-lang/lua deprecated ; then |
36 |
eerror "Re-emerge dev-lang/lua with 'depercated' USE flag" |
37 |
eerror "Check your USE flags, re-emerge the dependencies and then" |
38 |
eerror "emerge this package." |
39 |
die |
40 |
fi |
41 |
} |
42 |
|
Lines 63-81
Link Here
|
63 |
## if it is not working nice way, we'll do it ugly way |
54 |
|
64 |
if use nls ; then |
|
|
65 |
PD="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PF}" |
66 |
if ! [ -d ${PD}/image//usr/share/games/locale ] ; then |
67 |
mkdir -p ${PD}/image//usr/share/locale/ \ |
68 |
|| die "lang mkdir failed" |
69 |
fi |
70 |
cd ${S}/po |
71 |
for i in `ls -c1 |grep "\.gmo$"` ; do |
72 |
BASE=$(echo ${i} |sed 's/\.gmo$//g') |
73 |
if ! [ -d ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES ] ; then |
74 |
mkdir -p ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES \ |
75 |
|| die "lang mkdir failed" |
76 |
fi |
77 |
msgfmt -v -o ${BASE}.mo ${BASE}.po |
78 |
mv ${BASE}.gmo ${PD}/image//usr/share/locale/${BASE}/LC_MESSAGES/xmoto.mo \ |
79 |
|| die "unable to copy lang files" |
80 |
done; |
81 |
fi |
82 |
-- |
Line 100
Link Here
|
100 |
elog "http://wiki.xmoto.tuxfamily.org/index.php?title=Inkscape-0.4.0" |
73 |
elog "http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Tutorial" |
101 |
-- |
|
|