wayland: avoid conflict with libwayland-egl/MesaLib-devel

This just a temporary workaround:
"libwayland-egl is now part of libwayland, and will presumably be removed
from mesa in the not too distant future."

See https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html.
This commit is contained in:
Alessio Sergi 2018-05-07 19:57:25 +02:00
parent 66f7041349
commit 8f823d2c52

View file

@ -1,7 +1,7 @@
# Template file for 'wayland'. # Template file for 'wayland'.
pkgname=wayland pkgname=wayland
version=1.15.0 version=1.15.0
revision=2 revision=3
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="automake flex libtool pkg-config"
@ -17,8 +17,10 @@ pre_configure() {
autoreconf -fi autoreconf -fi
} }
post_install() { post_install() {
# avoid conflict with libGLs libwayland-egl # avoid conflict with libGLs libwayland-egl/MesaLib-devel
rm $DESTDIR/usr/lib/libwayland-egl.so.* rm -f ${DESTDIR}/usr/lib/libwayland-egl.so*
rm -f ${DESTDIR}/usr/lib/pkgconfig/wayland-egl.pc
vlicense COPYING vlicense COPYING
} }
@ -36,7 +38,8 @@ wayland-devel_package() {
pkg_install() { pkg_install() {
vmove usr/bin vmove usr/bin
vmove usr/include vmove usr/include
vmove usr/share vmove usr/share/aclocal
vmove usr/share/wayland
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }