diff options
Diffstat (limited to 'community/gir-to-d/APKBUILD')
-rw-r--r-- | community/gir-to-d/APKBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/gir-to-d/APKBUILD b/community/gir-to-d/APKBUILD index 27d6e8d3f6a..4084e37597a 100644 --- a/community/gir-to-d/APKBUILD +++ b/community/gir-to-d/APKBUILD @@ -1,24 +1,28 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gir-to-d -pkgver=0.22.0 -pkgrel=0 +pkgver=0.23.1 +pkgrel=4 pkgdesc="Create D bindings from GObject introspection files" url="https://github.com/gtkd-developers/gir-to-d" -# gdc is broken on 32bit arches +# limited by ldc arch="aarch64 x86_64" license="LGPL-3.0-or-later" -makedepends="meson gcc-gdc" +makedepends="meson ldc" options="!check" # no tests source="https://github.com/gtkd-developers/gir-to-d/archive/v$pkgver/gir-to-d-$pkgver.tar.gz" build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output + # Pass --allinst to ldc to work around an undefined reference build issue + # https://github.com/ldc-developers/ldc/issues/4000 + LDFLAGS= abuild-meson -Dd_args="--allinst" . output + meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } -sha512sums="18a06884153c4ec7c028a2ad492bf272500e3e4079ae7c3eba6188f7681377edde2fe0cbcacedaa757aa6ed5bcf5f1ba2d201093d6f31111692a0162b44c77d6 gir-to-d-0.22.0.tar.gz" +sha512sums=" +d1cfb906cd094acdf134a9a748fbd71fdbd4a26ce4d1696be356eb0c1c12edf4a96c73b7ca79da46c36f7e0ee15645991364b2bb2e1cbc46e8023233d4327060 gir-to-d-0.23.1.tar.gz +" |