# Maintainer: Erich Eckner # Contributor: Byeonghoon Yoo pkgname=gdbuspp pkgver=1 pkgrel=2 pkgdesc='GDBus++ - a glib2 D-Bus wrapper for C++ ' arch=('i486' 'i686' 'pentium4' 'x86_64' 'aarch64' 'armv7h') url="https://codeberg.org/OpenVPN/${pkgname}" license=('AGPL-3.0-only') _pinned_dependencies=( 'gcc-libs=14.1.1+r309+gbb34b7eda1f' 'glibc>=2.39+r52+gf8e4623421' 'libgio-2.0.so=0' 'libglib-2.0.so=0' 'libgobject-2.0.so=0' ) depends=( 'glib2>=2.56' "${_pinned_dependencies[@]}" ) makedepends=( 'meson' ) source=( "https://swupdate.openvpn.net/community/releases/gdbuspp-${pkgver}.tar.xz" ) sha256sums=( 'e53e47f8529109e138d59ff38374818692b6fe26f2fee2d00642bba272e117a3' ) prepare() { meson subprojects download --sourcedir="gdbuspp-${pkgver}" } build() { arch-meson "gdbuspp-${pkgver}" _builddir meson compile -C _builddir } package() { meson install -C _builddir --destdir "$pkgdir" }