Ubuntu 21.04
glib-2.0
gobject-2.0
gstreamer-1.0(Version 1.7.9 is preferred)
autoconf
libtool
libcamhal
autoreconf --install
CPPFLAGS="-I$LIBCAMHAL_INSTALL_DIR/include/ -I$LIBCAMHAL_INSTALL_DIR/include/api \
-I$LIBCAMHAL_INSTALL_DIR/include/utils " LDFLAGS="-L$LIBCAMHAL_INSTALL_DIR/lib/" \
CFLAGS="-O2" CXXFLAGS="-O2" \
./configure ${CONFIGURE_FLAGS} --prefix=$ICAMERASRC_INSTALL_DIR DEFAULT_CAMERA=0
make clean && make -j8
make rpm (RPM package is generated in rpm/)
sudo rpm -ivh icamerasrc-*.rpm --nodeps --force