void-packages/srcpkgs/gtkd/template

32 lines
1.2 KiB
Bash
Raw Normal View History

# Template file for 'gtkd'
pkgname=gtkd
version=3.7.0
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=326c7639c7e91306c5a802d821a81c617004145f66ef08a5153810488655a994
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
}
}