glib-devel: switch to python3.

This commit is contained in:
Leah Neukirchen 2018-04-05 15:58:26 +02:00
parent b1c052253b
commit f67f8b823e
1 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template build file for 'glib'
pkgname=glib
version=2.56.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-libelf --disable-fam --with-pcre=system --enable-static"
hostmakedepends="automake libtool pkg-config perl python libxslt docbook-xsl"
hostmakedepends="automake libtool pkg-config perl python3 libxslt docbook-xsl"
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel elfutils-devel libmount-devel"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -37,9 +37,10 @@ libglib-devel_package() {
}
}
glib-devel_package() {
depends="python perl libglib-devel>=${version}_${revision}"
depends="python3 perl libglib-devel>=${version}_${revision}"
short_desc+=" - development files"
pycompile_dirs="/usr/share/glib-2.0"
python_version=3
pkg_install() {
vmove usr/bin/glib-compile-resources
vmove usr/bin/glib-genmarshal