141 lines
3.9 KiB
Bash
141 lines
3.9 KiB
Bash
# Template file for 'gtkd'
|
|
pkgname=gtkd
|
|
version=3.8.5
|
|
revision=1
|
|
wrksrc="GtkD-${version}"
|
|
build_style=gnu-makefile
|
|
make_build_args="LDFLAGS='-linker=bfd' DC=ldc2"
|
|
make_build_target="shared-libs shared-gstreamer shared-vte shared-peas shared-gtkdgl"
|
|
make_check_args="$make_build_args"
|
|
make_install_args="prefix=/usr"
|
|
make_install_target="install-shared-gstreamer install-headers-gstreamer
|
|
install-shared-gtkdgl install-headers-gtkdgl install-shared install-headers
|
|
install-shared-peas install-headers-peas install-shared-vte
|
|
install-headers-vte"
|
|
hostmakedepends="ldc pkg-config"
|
|
makedepends="gstreamer1-devel gtksourceview-devel libpeas-devel librsvg-devel
|
|
vte3-devel"
|
|
short_desc="D bindings for GTK+3 and related libraries"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://gtkd.org"
|
|
#changelog="https://gtkd.org/changelog.html"
|
|
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
|
|
checksum=10b388d4ce00854a29ea9b74ebeb632c03fe9c39daa5dafe8554005ca33c55c8
|
|
nocross="Uses host flags for cross compilations"
|
|
|
|
libpeasd_package() {
|
|
short_desc+=" - peasd library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libpeasd-3.so.*"
|
|
}
|
|
}
|
|
|
|
libpeasd-devel_package() {
|
|
depends="libpeasd-${version}_${revision} gtkd-devel-${version}_${revision}"
|
|
short_desc+=" - peasd development headers"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/peas
|
|
vmove usr/include/d/gtkd-3/peasc
|
|
vmove usr/lib/libpeasd-3.so
|
|
vmove usr/share/pkgconfig/peasd-3.pc
|
|
}
|
|
}
|
|
|
|
libgtkdgl_package() {
|
|
short_desc+=" - gtkdgl library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libgtkdgl-3.so.*"
|
|
}
|
|
}
|
|
|
|
libgtkdgl-devel_package() {
|
|
depends="libgtkdgl-${version}_${revision} gtkd-devel-${version}_${revision}"
|
|
short_desc+=" - gtkdgl development headers"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/glgtk
|
|
vmove usr/include/d/gtkd-3/glgdk
|
|
vmove usr/include/d/gtkd-3/gtkglc
|
|
vmove usr/lib/libgtkdgl-3.so
|
|
vmove usr/share/pkgconfig/gtkdgl-3.pc
|
|
}
|
|
}
|
|
|
|
libvted_package() {
|
|
short_desc+=" - vted library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libvted-3.so.*"
|
|
}
|
|
}
|
|
|
|
libvted-devel_package() {
|
|
depends="libvted-${version}_${revision} gtkd-devel-${version}_${revision}"
|
|
short_desc+=" - vted development headers"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/vte
|
|
vmove usr/include/d/gtkd-3/vtec
|
|
vmove usr/lib/libvted-3.so
|
|
vmove usr/share/pkgconfig/vted-3.pc
|
|
}
|
|
}
|
|
|
|
libgstreamerd_package() {
|
|
short_desc+=" - gstreamerd library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libgstreamerd-3.so.*"
|
|
}
|
|
}
|
|
|
|
libgstreamerd-devel_package() {
|
|
depends="libgstreamerd-${version}_${revision} gtkd-devel-${version}_${revision}"
|
|
short_desc+=" - gstreamerd development headers"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/gst
|
|
vmove usr/include/d/gtkd-3/gstinterfaces
|
|
vmove usr/include/d/gtkd-3/gstreamer
|
|
vmove usr/include/d/gtkd-3/gstreamerc
|
|
vmove usr/lib/libgstreamerd-3.so
|
|
vmove usr/share/pkgconfig/gstreamerd-3.pc
|
|
}
|
|
}
|
|
|
|
libgtkdsv_package() {
|
|
short_desc+=" - gtkdsv library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libgtkdsv-3.so.*"
|
|
}
|
|
}
|
|
|
|
libgtkdsv-devel_package() {
|
|
depends="libgtkdsv-${version}_${revision} gtkd-devel-${version}_${revision}"
|
|
short_desc+=" - gtkdsv development headers"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/gsv
|
|
vmove usr/include/d/gtkd-3/gsvc
|
|
vmove usr/lib/libgtkdsv-3.so
|
|
vmove usr/share/pkgconfig/gtkdsv-3.pc
|
|
}
|
|
}
|
|
|
|
gtkd-devel_package() {
|
|
short_desc+=" - gtkd development files"
|
|
depends="gtkd-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include/d/gtkd-3/atk
|
|
vmove usr/include/d/gtkd-3/cairo
|
|
vmove usr/include/d/gtkd-3/gdk
|
|
vmove usr/include/d/gtkd-3/gdkpixbuf
|
|
vmove usr/include/d/gtkd-3/gio
|
|
vmove usr/include/d/gtkd-3/glib
|
|
vmove usr/include/d/gtkd-3/gobject
|
|
vmove usr/include/d/gtkd-3/gthread
|
|
vmove usr/include/d/gtkd-3/gtk
|
|
vmove usr/include/d/gtkd-3/gtkc
|
|
vmove usr/include/d/gtkd-3/gtkd
|
|
vmove usr/include/d/gtkd-3/pango
|
|
vmove usr/include/d/gtkd-3/rsvg
|
|
vmove usr/lib/libgtkd-3.so
|
|
vmove usr/share/pkgconfig/gtkd-3.pc
|
|
}
|
|
}
|