SHA256
1
0
forked from pool/weston

Accepting request 246666 from home:XRevan86

OBS-URL: https://build.opensuse.org/request/show/246666
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=33
This commit is contained in:
Jan Engelhardt 2014-08-27 16:32:46 +00:00 committed by Git OBS Bridge
parent 36b46f6520
commit 409715cf5f

View File

@ -58,7 +58,6 @@ BuildRequires: pkgconfig(libdrm) >= 2.4.30
BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(libsystemd-login) >= 198 BuildRequires: pkgconfig(libsystemd-login) >= 198
BuildRequires: pkgconfig(libudev) >= 136 BuildRequires: pkgconfig(libudev) >= 136
BuildRequires: pkgconfig(libunwind)
BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(mtdev) >= 1.1.0 BuildRequires: pkgconfig(mtdev) >= 1.1.0
BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(pixman-1)
@ -107,7 +106,7 @@ if [ ! -e configure ]; then
fi fi
# Ensure people will use pkgconfig to locate headers. # Ensure people will use pkgconfig to locate headers.
%configure --disable-static --includedir="%_includedir/pkg/%name" \ %configure --disable-static --includedir="%_includedir/pkg/%name" \
--disable-setuid-install --disable-rpi-compositor --disable-setuid-install --disable-libunwind
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -116,12 +115,11 @@ find "%buildroot" -type f -name "*.la" -delete -print
%check %check
%if !0%{?qemu_user_space_build} %if !0%{?qemu_user_space_build}
export BACKEND=headless-backend.so
export XDG_RUNTIME_DIR="$PWD/xdg" export XDG_RUNTIME_DIR="$PWD/xdg"
mkdir -pm go-rwx "$XDG_RUNTIME_DIR" mkdir -pm go-rwx "$XDG_RUNTIME_DIR"
if ! make check; then if ! make BACKEND=headless-backend.so check; then
cat test-suite.log cat test-suite.log
# make check can not pass completely with headless backend. # make check can not pass completely without an actual screen.
#exit 1 #exit 1
fi fi
%endif %endif