mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-02 12:01:32 -05:00
While we don't need any of the modules (the png loader is compiled in), gdk-pixbuf refused to operate without a loaders.cache file, which only gets created when installing modules :( Closes: #2523 Approved by: alexlarsson
19 lines
583 B
Bash
Executable File
19 lines
583 B
Bash
Executable File
#!/usr/bin/bash
|
|
# Install build dependencies, run unit tests and installed tests.
|
|
|
|
set -xeuo pipefail
|
|
|
|
dn=$(dirname $0)
|
|
. ${dn}/libbuild.sh
|
|
|
|
pkg_install sudo which attr fuse bison \
|
|
libubsan libasan libtsan clang python2 \
|
|
elfutils git gettext-devel libappstream-glib-devel hicolor-icon-theme \
|
|
dconf-devel \
|
|
/usr/bin/{update-mime-database,update-desktop-database,gtk-update-icon-cache}
|
|
pkg_install_testing ostree-devel ostree
|
|
pkg_install gdk-pixbuf2-modules # needed to make icon validation work
|
|
pkg_install_builddeps flatpak
|
|
|
|
build --enable-gtk-doc ${CONFIGOPTS:-}
|