32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'gtkd'
|
|
pkgname=gtkd
|
|
version=3.7.5
|
|
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 vte3-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=9882ebae0ccdca7dc5850842bf547bec2cbdfa6f1b87909f84f20c59ac9da5c1
|
|
|
|
gtkd-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel librsvg-devel
|
|
gtksourceview-devel libpeas-devel gstreamer1-devel vte3-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/pkgconfig
|
|
}
|
|
}
|