47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Template file for 'vala'
|
|
pkgname=vala
|
|
version=0.42.3
|
|
revision=1
|
|
patch_args="-Np1"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-graphviz"
|
|
hostmakedepends="flex libxslt pkg-config automake libtool"
|
|
makedepends="libfl-devel libglib-devel"
|
|
checkdepends="dbus libgirepository-devel"
|
|
short_desc="Compiler for the GObject type system"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/Vala"
|
|
changelog="https://gitlab.gnome.org/GNOME/vala/raw/0.42/NEWS"
|
|
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
|
|
checksum=5fc73dd1e683dc7391bb96d02b2f671aa8289411a48611a05265629e0048587d
|
|
|
|
# for valadoc
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" vala"
|
|
else
|
|
make_build_args="VALAC="${XBPS_BUILDDIR}/${pkgname}-${version}/compiler/valac""
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libvala_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
}
|
|
}
|
|
|
|
vala-devel_package() {
|
|
depends="libglib-devel vala>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/aclocal
|
|
vmove usr/share/devhelp
|
|
}
|
|
}
|