gplugin/gplugin

Add gir targets to the dependencies sources attribute and other meson cleanups.

Adding the gir targs to the dependency object of the library allows us to be
able to use the dependency in a gnome.generate_gir for a library that consumes
our api regardless of if it's a system install or a subproject.

Testing Done:
Modified the gplugin subproject in pidgin and used these changes to verify that it fixed the current build issues over there.

Reviewed at https://reviews.imfreedom.org/r/939/
environment:
- BUILD_NUMBER
- REPOSITORY=gplugin/builders
- REGISTRY=docker.io
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
- DOCS_BUILD_IMAGE=${REGISTRY}/${REPOSITORY}:debian-bookworm-amd64
tasks:
clean:
type: convey/clean
files:
- alpine-edge-amd64
- debian-bullseye-amd64
- debian-bullseye-arm64
- debian-bullseye-armhf
- debian-bookworm-amd64
- dist
- fedora-34-amd64
- fedora-rawhide-amd64
- i18n
- mingw-w64-i686
- mingw-w64-x86_64
- opensuse-tumbleweed-amd64
- pvs-studio
- scanbuild
- ubuntu-hirsute-amd64
- valgrind
# docs
- gplugin-docs
- gplugin-gtk-docs
import:
type: docker/import
files: .:.
import-artifacts:
type: docker/import
files: ${DISTRO}-${VERSION}-${ARCH}
build:
type: docker/run
image: ${REGISTRY}/${REPOSITORY}:${TARGET}
export:
type: docker/export
files: ${TARGET}
login:
type: docker/login
server: ${REGISTRY}
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_PASSWORD}
logout:
type: docker/logout
server: ${REGISTRY}
docs-clean:
type: convey/clean
files:
- gplugin-docs
- gplugin-gtk-docs
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
script:
- set -ex
- meson build-docs
- ninja -C build-docs doc
docs-export:
type: docker/export
files:
- build-docs/gplugin/reference/gplugin:gplugin-docs
- build-docs/gplugin-gtk/reference/gplugin-gtk:gplugin-gtk-docs
plans:
clean:
stages:
- tasks: clean
alpine-edge-amd64:
environment: TARGET=alpine-edge-amd64
stages:
- tasks: [import, build, export]
clang-format:
environment: TARGET=clang-format
stages:
- tasks: [import, build]
debian-bookworm-amd64:
environment: TARGET=debian-bookworm-amd64
stages:
- tasks: [import, build, export]
debian-bullseye-amd64:
environment: TARGET=debian-bullseye-amd64
stages:
- tasks: [import, build, export]
debian-bullseye-arm64:
environment: TARGET=debian-bullseye-arm64
stages:
- tasks: [import, build, export]
debian-bullseye-armhf:
environment: TARGET=debian-bullseye-armhf
stages:
- tasks: [import, build, export]
dist:
environment: TARGET=dist
stages:
- tasks: [import, build, export]
docs:
stages:
- tasks: [docs-clean, import, docs-build, docs-export]
fedora-34-amd64:
environment: TARGET=fedora-34-amd64
stages:
- tasks: [import, build, export]
fedora-rawhide-amd64:
environment: TARGET=fedora-rawhide-amd64
stages:
- tasks: [import, build, export]
i18n:
environment: TARGET=i18n
stages:
- tasks: [import, build, export]
mingw-w64-i686:
environment: [TARGET=mingw-w64-i686, PKGBUILD_DIR=mingw-cross]
stages:
- tasks: [import, build, export]
mingw-w64-x86_64:
environment: [TARGET=mingw-w64-x86_64, PKGBUILD_DIR=mingw-cross]
stages:
- tasks: [import, build, export]
opensuse-tumbleweed-amd64:
environment: TARGET=opensuse-tumbleweed-amd64
stages:
- tasks: [import, build, export]
pvs-studio:
environment:
- TARGET=pvs-studio
- PVS_STUDIO_USERNAME
- PVS_STUDIO_KEY
- PVS_IGNORED_CODES=V568
stages:
- tasks: [import, build]
- tasks: [export]
run: always
scanbuild:
environment: TARGET=scanbuild
stages:
- tasks: [import, build]
- tasks: [export]
run: always
simple:
environment: TARGET=simple
stages:
- tasks: [import, build]
ubuntu-hirsute-amd64:
environment: TARGET=ubuntu-hirsute-amd64
stages:
- tasks: [import, build, export]
valgrind:
environment: TARGET=valgrind
stages:
- tasks: [import, build]
- tasks: [export]
run: always
meta-plans:
all:
plans:
- alpine-edge-amd64
- debian-bullseye-amd64
- debian-bookworm-amd64
- dist
- fedora-34-amd64
- fedora-rawhide-amd64
- mingw-w64-i686
- mingw-w64-x86_64
- opensuse-tumbleweed-amd64
- ubuntu-hirsute-amd64
tools:
plans:
- clang-format
- i18n
- pvs-studio
- scanbuild
- valgrind
- simple
qemu-user-static:
plans:
- debian-bullseye-arm64
- debian-bullseye-armhf