cgif is packaged for Homebrew and several Linux distributions already:
sudo apt-get install libcgif0
for development files
sudo apt-get install libcgif-dev
$ brew install cgif
$ sudo yum install libcgif
for development files
$ sudo yum install libcgif-devel
- C compiler (e.g. gcc, clang)
- meson build system
$ git clone https://github.com/dloebl/cgif
$ cd cgif/
set the prefix of your choice:
$ meson setup --prefix=/usr build
compile & install cgif as shared library:
$ meson install -C build