2017-11-01 14:03:44 +01:00
|
|
|
# Template file for 'gtkd'
|
|
|
|
pkgname=gtkd
|
2017-12-18 04:18:53 +01:00
|
|
|
version=3.7.3
|
2018-01-14 06:43:25 +01:00
|
|
|
revision=2
|
2017-11-01 14:03:44 +01:00
|
|
|
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"
|
2017-12-18 04:18:53 +01:00
|
|
|
checksum=aabffb3456eacdba6e8df0bf1da3be9543e1c9cd0880f6f76c613aa6af0c20de
|
2017-11-01 14:03:44 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|