gtkd: rebuild against ldc-1.13.0_1

This commit is contained in:
Rasmus Thomsen 2018-12-30 15:13:48 +01:00 committed by Helmut Pozimski
parent 4b52c44077
commit ed6eca83fd

View file

@ -1,9 +1,18 @@
# Template file for 'gtkd'
pkgname=gtkd
version=3.8.4
revision=1
revision=2
wrksrc="GtkD-${version}"
build_style=gnu-makefile
# The compiler used is ldc2 and our LDFLAGS make it fail to compile
# so we define LDFLAGS to an empty string
make_build_args="LDFLAGS='' DC=ldc2"
make_build_target="shared-libs shared-gstreamer shared-vte shared-peas shared-gtkdgl"
make_install_args="prefix=/usr"
make_install_target="install-shared-gstreamer install-headers-gstreamer
install-shared-gtkdgl install-headers-gtkdgl install-shared install-headers
install-shared-peas install-headers-peas install-shared-vte
install-headers-vte"
hostmakedepends="ldc pkg-config"
makedepends="gstreamer1-devel gtksourceview-devel libpeas-devel librsvg-devel
vte3-devel"
@ -14,15 +23,6 @@ homepage="https://gtkd.org"
#changelog="https://gtkd.org/changelog.html"
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
checksum=5eddf26a999a0783a1518fe897925f8aff27005c7c72e84700668459f2d415c0
make_build_args="LDFLAGS='' DC=ldc2"
# The compiler used is ldc2 and our LDFLAGS make it fail to compile
# so we define LDFLAGS to an empty string
make_build_target="shared-libs shared-gstreamer shared-vte shared-peas shared-gtkdgl"
make_install_args="prefix=/usr"
make_install_target="install-shared-gstreamer install-headers-gstreamer
install-shared-gtkdgl install-headers-gtkdgl install-shared install-headers
install-shared-peas install-headers-peas install-shared-vte
install-headers-vte"
do_check() {
make DC=ldc2 LDFLAGS='' test