wayland: use --with-host-scanner instead of modifying Makefile.in
more robust to use upstream supported options than modifying the build system.
This commit is contained in:
parent
fddeec8117
commit
07a6e57247
|
@ -4,7 +4,7 @@ version=1.15.0
|
||||||
revision=4
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-documentation --disable-static"
|
configure_args="--disable-documentation --disable-static"
|
||||||
hostmakedepends="automake flex libtool pkg-config"
|
hostmakedepends="flex pkg-config"
|
||||||
makedepends="expat-devel libffi-devel libfl-devel libxml2-devel"
|
makedepends="expat-devel libffi-devel libfl-devel libxml2-devel"
|
||||||
short_desc="Wayland protocol compositor"
|
short_desc="Wayland protocol compositor"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -13,20 +13,13 @@ homepage="https://wayland.freedesktop.org/"
|
||||||
distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
|
distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
|
||||||
checksum=eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0
|
checksum=eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" wayland-devel"
|
hostmakedepends+=" wayland-devel"
|
||||||
post_configure() {
|
configure_args+=" --with-host-scanner"
|
||||||
# Use host wayland-scanner
|
|
||||||
sed -e '/$(AM_V_GEN)/s,$(wayland_scanner),wayland-scanner,g' -i Makefile.in
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wayland-devel_package() {
|
wayland-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue