|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
# Template file for 'gtkd'
|
|
|
|
|
pkgname=gtkd
|
|
|
|
|
version=3.8.2
|
|
|
|
|
revision=2
|
|
|
|
|
version=3.8.3
|
|
|
|
|
revision=1
|
|
|
|
|
wrksrc="GtkD-${version}"
|
|
|
|
|
build_style=gnu-makefile
|
|
|
|
|
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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
|
|
|
license="LGPL-3.0-or-later"
|
|
|
|
|
homepage="http://gtkd.org"
|
|
|
|
|
homepage="https://gtkd.org"
|
|
|
|
|
#changelog="https://gtkd.org/changelog.html"
|
|
|
|
|
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
|
|
|
|
|
checksum=680582e27fcc28dbc894d4aefc5e73bcdd0911c6e31ade229de0ecf7050184ee
|
|
|
|
|
checksum=7e0b2a10a4908b183ba842d54e9b1dc0761dcf316b65766f430010fe3bb95593
|
|
|
|
|
make_build_args="LDFLAGS='' DC=ldc2"
|
|
|
|
|
# The compiler used is ldc2 and our LDFLAGS make it fail to compile
|
|
|
|
|
# so we define LDFLAGS to an empty string
|
|
|
|
@ -23,53 +24,125 @@ make_install_target="install-shared-gstreamer install-headers-gstreamer
|
|
|
|
|
install-shared-peas install-headers-peas install-shared-vte
|
|
|
|
|
install-headers-vte"
|
|
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
|
*-musl) broken="ldc is broken" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
|
make DC=ldc2 LDFLAGS='' test
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
libpeasd_package() {
|
|
|
|
|
short_desc="Peasd library"
|
|
|
|
|
short_desc+=" - peasd library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/libpeasd*.so.*"
|
|
|
|
|
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"
|
|
|
|
|
short_desc+=" - gtkdgl library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/libgtkdgl*.so.*"
|
|
|
|
|
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"
|
|
|
|
|
short_desc+=" - vted library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/libvted*.so.*"
|
|
|
|
|
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"
|
|
|
|
|
short_desc+=" - gstreamerd library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/libgstreamerd*.so.*"
|
|
|
|
|
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"
|
|
|
|
|
short_desc+=" - gtkdsv library"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove "usr/lib/libgtkdsv*.so.*"
|
|
|
|
|
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+=" - development files"
|
|
|
|
|
depends="gtkd-${version}_${revision} libpeasd-${version}_${revision}
|
|
|
|
|
libgstreamerd-${version}_${revision} libvted-${version}_${revision}
|
|
|
|
|
libgtkdsv-${version}_${revision} libgtkdgl-${version}_${revision}"
|
|
|
|
|
short_desc+=" - gtkd development files"
|
|
|
|
|
depends="gtkd-${version}_${revision}"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove usr/include
|
|
|
|
|
vmove usr/share/pkgconfig
|
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|