void-packages/srcpkgs/gtkd/template
2018-02-28 23:54:25 -05:00

31 lines
1.2 KiB
Bash

# Template file for 'gtkd'
pkgname=gtkd
version=3.7.4
revision=1
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=cf97661a93a90dc2f79db24318cd8bfb1836be263f3851456d39f3c1254f1c26
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
}
}