]> git.pld-linux.org Git - packages/weston.git/commitdiff
- disable libunwind usage on x32 auto/th/weston-1.7.0-2
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 3 Apr 2015 21:25:08 +0000 (23:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 3 Apr 2015 21:25:08 +0000 (23:25 +0200)
- rel 2

weston.spec

index e007c013cd69a69e1e3d74af4d7655cec4215a4a..078ea43a59f8bef381c35814a0f5b0450012dfac 100644 (file)
@@ -5,17 +5,22 @@
 %bcond_without wayland         # wayland (nested) compositor
 %bcond_without x11             # X11 compositor
 %bcond_without libinput        # libinput backend
+%bcond_without libunwind       # libunwind usage for backtraces
 %bcond_without vaapi           # vaapi recorder
 %bcond_without wlaunch         # weston launch
 %bcond_without xwayland        # X server launcher
 %bcond_without sclients        # simple clients
 %bcond_without clients         # non-simple + full GL clients
-#
+
+%ifarch x32
+%undefine      with_libunwind
+%endif
+
 Summary:       Weston - Wayland demos
 Summary(pl.UTF-8):     Weston - programy demonstracyjne dla protokołu Wayland
 Name:          weston
 Version:       1.7.0
-Release:       1
+Release:       2
 License:       MIT
 Group:         Applications
 Source0:       http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -37,7 +42,7 @@ BuildRequires:        lcms2-devel >= 2
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libtool >= 2:2.2
-BuildRequires: libunwind-devel
+%{?with_libunwind:BuildRequires:       libunwind-devel}
 BuildRequires: libwebp-devel
 BuildRequires: pixman-devel >= 0.26
 BuildRequires: pkgconfig
@@ -142,6 +147,7 @@ Pliki nagłówkowe do tworzenia wtyczek dla Westona.
        %{!?with_clients:--disable-clients} \
        %{!?with_drm:--disable-drm-compositor} \
        %{?with_libinput:--enable-libinput-backend} \
+       %{!?with_libunwind:--disable-libunwind} \
        %{?with_rdp:--enable-rdp-compositor} \
        %{!?with_sclients:--disable-simple-clients} \
        --disable-setuid-install \
This page took 0.176986 seconds and 4 git commands to generate.