diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-11 08:45:18 -0800 |
---|---|---|
committer | Quanxian Wang <quanxian.wang@intel.com> | 2014-09-24 10:55:15 +0800 |
commit | 70c5c501d78a6ed9edc51543a49ecd4bec093a6a (patch) | |
tree | d055d258ed568d04045f69632c07b42c992a1f73 /packaging/mesa.spec | |
parent | 01882dfbc0c1ab06ed34cefa03e92124cf059fe8 (diff) | |
download | mesa-70c5c501d78a6ed9edc51543a49ecd4bec093a6a.tar.gz mesa-70c5c501d78a6ed9edc51543a49ecd4bec093a6a.tar.bz2 mesa-70c5c501d78a6ed9edc51543a49ecd4bec093a6a.zip |
use %bcond_with wayland
Diffstat (limited to 'packaging/mesa.spec')
-rw-r--r-- | packaging/mesa.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec index 524a556bd00..0f367cb1f77 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -1,12 +1,12 @@ %define glamor 1 -%define enable_wayland 1 +%bcond_with wayland # -%define _version 9.0.git20121028 +%define _version 9.0.1 %define _name_archive MesaLib Name: mesa -Version: 9.0.git20121028 +Version: 9.0.1 Release: 0 BuildRequires: makedepend BuildRequires: autoconf >= 2.59 @@ -36,7 +36,7 @@ BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xxf86vm) -%if 0%{?enable_wayland} +%if %{with wayland} BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-server) %endif @@ -79,7 +79,7 @@ Requires: mesa-libGLESv1_CM-devel = %version Requires: mesa-libGLESv2-devel = %version Requires: mesa-libIndirectGL = %version Requires: mesa-libglapi = %version -%if 0%{?enable_wayland} +%if %{with wayland} Requires: libwayland-egl %endif Requires: libOSMesa = %version @@ -362,7 +362,7 @@ rm -f src/mesa/depend autoreconf -fi %configure --enable-gles1 \ --enable-gles2 \ -%if 0%{?enable_wayland} +%if %{with wayland} --with-egl-platforms=x11,drm,wayland \ %else --with-egl-platforms=x11,drm \ @@ -532,7 +532,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %defattr(-,root,root) %_libdir/libOSMesa.so.8* -%if 0%{?enable_wayland} +%if %{with wayland} %files -n libwayland-egl %defattr(-,root,root) %_libdir/libwayland-egl.so.1* @@ -579,7 +579,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %_libdir/libOSMesa.so %_libdir/libglapi.so %_libdir/pkgconfig/osmesa.pc -%if 0%{?enable_wayland} +%if %{with wayland} %_libdir/libwayland-egl.so %_libdir/pkgconfig/wayland-egl.pc %endif |