void-packages/srcpkgs/gtkd/template
maxice8 c60cc056f0 gtkd: rebuild against libdruntime-ldc.so
Closes: #10797 [via git-merge-pr]
2018-01-20 20:34:01 +01:00

31 lines
1.2 KiB
Bash

# Template file for 'gtkd'
pkgname=gtkd
version=3.7.3
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"
make_install_args="prefix=/usr"
make_install_target="install-shared install-shared-gstreamer install-shared-vte install-shared-peas
install-headers install-headers-gstreamer install-headers-vte install-headers-peas"
hostmakedepends="pkg-config ldc"
makedepends="gtk+3-devel librsvg-devel gtksourceview-devel libpeas-devel gstreamer1-devel vte-devel"
short_desc="D bindings for GTK+3 and related libraries"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-3"
homepage="http://gtkd.org"
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
checksum=aabffb3456eacdba6e8df0bf1da3be9543e1c9cd0880f6f76c613aa6af0c20de
gtkd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel librsvg-devel
gtksourceview-devel libpeas-devel gstreamer1-devel vte-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
}
}