gtkd: refactor into separate libraries and add libgtkdgl.
Closes: #12950 [via git-merge-pr]
This commit is contained in:
parent
d972820a30
commit
acab33c202
7 changed files with 63 additions and 14 deletions
|
@ -2994,11 +2994,12 @@ libtermbox.so.1 termbox-1.1.0_1
|
|||
libmysofa.so.0 libmysofa-0.6_1
|
||||
libzinnia.so.0 libzinnia-0.06_1
|
||||
libdnet.so.1 libdnet-1.12_1
|
||||
libgtkd-3.so.0 gtkd-3.7.0_1
|
||||
libgtkdsv-3.so.0 gtkd-3.7.0_1
|
||||
libvted-3.so.0 gtkd-3.7.0_1
|
||||
libpeasd-3.so.0 gtkd-3.7.0_1
|
||||
libgstreamerd-3.so.0 gtkd-3.7.0_1
|
||||
libgtkd-3.so.0 gtkd-3.7.0_2
|
||||
libgtkdsv-3.so.0 libgtkdsv-3.7.0_2
|
||||
libvted-3.so.0 libvted-3.7.0_2
|
||||
libpeasd-3.so.0 libpeasd-3.7.0_2
|
||||
libgstreamerd-3.so.0 libgstreamerd-3.7.0_2
|
||||
libgtkdgl-3.so.0 libgtkdgl-3.7.0_2
|
||||
libmega.so.30300 MEGAsdk-3.3.1_1
|
||||
libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
|
||||
libgpod.so.4 libgpod-0.8.3_1
|
||||
|
|
|
@ -1,31 +1,74 @@
|
|||
# Template file for 'gtkd'
|
||||
pkgname=gtkd
|
||||
version=3.7.5
|
||||
revision=1
|
||||
revision=2
|
||||
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_build_target="shared-libs shared-gstreamer shared-vte shared-peas shared-gtkdgl"
|
||||
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"
|
||||
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="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="LGPL-3"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="http://gtkd.org"
|
||||
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
|
||||
checksum=9882ebae0ccdca7dc5850842bf547bec2cbdfa6f1b87909f84f20c59ac9da5c1
|
||||
|
||||
do_check() {
|
||||
make DC=ldc2 LDFLAGS='' test
|
||||
}
|
||||
|
||||
libpeasd_package() {
|
||||
short_desc="Peasd library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libpeasd*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libgtkdgl_package() {
|
||||
short_desc="Gtkdgl library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libgtkdgl*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libvted_package() {
|
||||
short_desc="Vted library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libvted*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libgstreamerd_package() {
|
||||
short_desc="Gstreamerd library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libgstreamerd*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libgtkdsv_package() {
|
||||
short_desc="Gtkdsv library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libgtkdsv*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
gtkd-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel librsvg-devel
|
||||
gtksourceview-devel libpeas-devel gstreamer1-devel vte3-devel"
|
||||
short_desc+=" - development files"
|
||||
depends="gtkd-${version}_${revision} libpeasd-${version}_${revision}
|
||||
libgstreamerd-${version}_${revision} libvted-${version}_${revision}
|
||||
libgtkdsv-${version}_${revision} libgtkdgl-${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/share/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/libgstreamerd
Symbolic link
1
srcpkgs/libgstreamerd
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkd
|
1
srcpkgs/libgtkdgl
Symbolic link
1
srcpkgs/libgtkdgl
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkd
|
1
srcpkgs/libgtkdsv
Symbolic link
1
srcpkgs/libgtkdsv
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkd
|
1
srcpkgs/libpeasd
Symbolic link
1
srcpkgs/libpeasd
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkd
|
1
srcpkgs/libvted
Symbolic link
1
srcpkgs/libvted
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkd
|
Loading…
Add table
Reference in a new issue