mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 06:14:18 +02:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gir-to-d
|
|
pkgver=0.23.4
|
|
pkgrel=1
|
|
pkgdesc="Create D bindings from GObject introspection files"
|
|
url="https://github.com/gtkd-developers/gir-to-d"
|
|
# limited by ldc
|
|
arch="aarch64 x86_64 loongarch64"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="meson ldc"
|
|
options="!check" # no tests
|
|
source="
|
|
https://github.com/gtkd-developers/gir-to-d/archive/$pkgver/gir-to-d-$pkgver.tar.gz
|
|
add-main-context-pusher.patch
|
|
"
|
|
|
|
build() {
|
|
# 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="
|
|
2f35445f3f59c24990c1c76fd4e7cebe1c7bdbf6596d48d316507423af7234bbfd6b61d163aec64f6ceea6d738a8eb7e71097abff8b40c072e4f9cee83a70716 gir-to-d-0.23.4.tar.gz
|
|
0df0def246e355099f05f34ac0efba205933c1db969ffd13098f89126ffea157a1fedbb67a94b23d19670ac409b1b53f93e4a8fdaf73d8316390c2542d0d5db4 add-main-context-pusher.patch
|
|
"
|