vala: remove valadoc subpackage

This commit is contained in:
Cameron Nemo 2019-04-02 21:35:47 -07:00 committed by Johannes
parent b3f34fa32a
commit 7953e010b7
5 changed files with 5 additions and 79 deletions

View file

@ -2924,7 +2924,6 @@ libsysprof-ui-2.so sysprof-3.24.1_1
libmozjs-52.so mozjs52-52.3.0_1
libmozjs-52.so.0 mozjs52-52.3.0_1
libvala-0.44.so.0 libvala-0.44.0_1
libvaladoc-0.44.so.0 libvala-0.44.0_1
libvalaccodegen.so libvala-0.44.0_1
libphodav-2.0.so.0 phodav-2.2_1
libgfshare.so.2 libgfshare-2.0.0_1

View file

@ -1,36 +0,0 @@
This check is broken in cross, see https://gitlab.gnome.org/GNOME/vala/issues/775
We are sure that we have cgraph, so just hack around this for now.
diff --git configure.ac configure.ac
index 16ebd1f..df789b9 100644
--- configure.ac
+++ configure.ac
@@ -164,25 +164,8 @@ if test x$enable_valadoc = xyes; then
cgraph_tmp_CFLAGS="$CFLAGS"
LIBADD="$LIBADD $LIBGVC_LIBS"
CFLAGS="$CFLAGS $LIBGVC_CFLAGS"
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([
- #include <gvc.h>
- int main(void) {
- #ifdef WITH_CGRAPH
- return 0;
- #else
- return -1;
- #endif
- }
- ])], [
- AC_MSG_RESULT([yes])
- VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
- have_cgraph=yes
- ], [
- AC_MSG_RESULT([no])
- have_cgraph=no
- ]
- )
+ VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
+ have_cgraph=yes
LIBADD="$cgraph_tmp_LIBADD"
CFLAGS="$cgraph_tmp_CFLAGS"
fi

View file

@ -1,10 +1,12 @@
# Template file for 'vala'
pkgname=vala
# Should be kept in sync with 'valadoc' (shared distfiles)
version=0.44.2
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="flex libxslt pkg-config automake libtool"
makedepends="libfl-devel libglib-devel graphviz-devel"
configure_args="--disable-valadoc"
hostmakedepends="flex libxslt pkg-config"
makedepends="libfl-devel libglib-devel"
checkdepends="dbus libgirepository-devel"
short_desc="Compiler for the GObject type system"
maintainer="Enno Boland <gottox@voidlinux.org>"
@ -15,17 +17,6 @@ distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
checksum=67d9bb4656d8fe04bcfc1ed7ff35d191df425923de46c921ae3c3d996eee8040
shlib_provides="libvalaccodegen.so"
# for valadoc
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" vala"
else
make_build_args="VALAC="${XBPS_BUILDDIR}/${pkgname}-${version}/compiler/valac""
fi
pre_configure() {
autoreconf -if
}
post_install() {
# remove the /usr/bin prefix from the vapigen variable
# so the package that use it fall into our wrapper.
@ -42,32 +33,6 @@ libvala_package() {
}
}
valadoc_package() {
short_desc+=" - valadoc shared library"
pkg_install() {
vmove usr/bin/valadoc
vmove "usr/bin/valadoc-*"
vmove "usr/lib/libvaladoc-*.so.*"
vmove usr/lib/valadoc
vmove usr/share/valadoc
vmove usr/share/man/man1/valadoc.1
vmove "usr/share/man/man1/valadoc-*.1"
}
}
valadoc-devel_package() {
depends="valadoc-${version}_${revision}
vala-devel-${version}_${revision}"
short_desc+=" - valadoc development files"
pkg_install() {
vmove "usr/include/valadoc-*"
vmove "usr/lib/libvaladoc-*.so"
vmove "usr/lib/pkgconfig/valadoc-*.pc"
vmove "usr/share/vala/vapi/valadoc-*.deps"
vmove "usr/share/vala/vapi/valadoc-*.vapi"
}
}
vala-devel_package() {
depends="libglib-devel vala-${version}_${revision}"
short_desc+=" - vala development files"

View file

@ -1 +0,0 @@
vala

View file

@ -1 +0,0 @@
vala