In order to compile GPaste from git on ubuntu, you will need:

appstream-util
autoconf
build-essential
git-core
gnome-control-center-dev
intltool
libclutter-1.0-dev
libdbus-1-dev
libgirepository1.0-dev
libgtk-3-dev
libtool
libxml2-dev
pkg-config
valac
