glib-devel: switch to python3.
This commit is contained in:
parent
b1c052253b
commit
f67f8b823e
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'glib'
|
# Template build file for 'glib'
|
||||||
pkgname=glib
|
pkgname=glib
|
||||||
version=2.56.0
|
version=2.56.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libelf --disable-fam --with-pcre=system --enable-static"
|
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"
|
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel elfutils-devel libmount-devel"
|
||||||
short_desc="The GNU library of C routines"
|
short_desc="The GNU library of C routines"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -37,9 +37,10 @@ libglib-devel_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
glib-devel_package() {
|
glib-devel_package() {
|
||||||
depends="python perl libglib-devel>=${version}_${revision}"
|
depends="python3 perl libglib-devel>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pycompile_dirs="/usr/share/glib-2.0"
|
pycompile_dirs="/usr/share/glib-2.0"
|
||||||
|
python_version=3
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/glib-compile-resources
|
vmove usr/bin/glib-compile-resources
|
||||||
vmove usr/bin/glib-genmarshal
|
vmove usr/bin/glib-genmarshal
|
||||||
|
|
Loading…
Reference in New Issue