39e6375aff
The Extensions app code is now independent enough from the rest of the code base to move it to its own subprojects, like we did for the extensions-tool. This allows for stand-alone builds of the app, which we are about to use for distributing it as flatpak. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1133
20 lines
375 B
Bash
Executable File
20 lines
375 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
cd $(dirname $0)
|
|
|
|
sed -e '/subprojects\/extensions-app/!d' \
|
|
-e 's:subprojects/extensions-app/::' ../../po/POTFILES.in > po/POTFILES.in
|
|
|
|
for l in $(<po/LINGUAS)
|
|
do
|
|
cp ../../po/$l.po po/$l.po
|
|
done
|
|
|
|
builddir=$(mktemp -d -p.)
|
|
|
|
meson $builddir
|
|
ninja -C $builddir gnome-extensions-app-pot
|
|
ninja -C $builddir gnome-extensions-app-update-po
|
|
|
|
rm -rf $builddir
|