Accepting request 127194 from X11:XOrg
- build omap support only on %arm platform OBS-URL: https://build.opensuse.org/request/show/127194 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=68
This commit is contained in:
commit
279936f1d7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 5 12:35:11 UTC 2012 - sndirsch@suse.com
|
||||
|
||||
- build omap support only on %arm platform
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 2 08:52:51 UTC 2012 - guillaume@opensuse.org
|
||||
|
||||
|
15
libdrm.spec
15
libdrm.spec
@ -142,13 +142,14 @@ Group: System/Libraries
|
||||
%description -n libkms1
|
||||
The KMS Memory Management abstraction library.
|
||||
|
||||
%ifarch %arm
|
||||
%package -n libdrm_omap1
|
||||
Summary: Userspace interface to kernel DRM services for omap chips
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdrm_omap1
|
||||
(Upstream has not provided a description)
|
||||
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -157,7 +158,11 @@ Group: System/Libraries
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure --with-pic --enable-nouveau-experimental-api --enable-vmwgfx-experimental-api --enable-udev --enable-omap-experimental-api
|
||||
%configure --with-pic --enable-nouveau-experimental-api --enable-vmwgfx-experimental-api \
|
||||
%ifarch %arm
|
||||
--enable-omap-experimental-api \
|
||||
%endif
|
||||
--enable-udev
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} -C tests dristat drmstat
|
||||
|
||||
@ -196,9 +201,11 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%postun -n libkms1 -p /sbin/ldconfig
|
||||
|
||||
%ifarch %arm
|
||||
%post -n libdrm_omap1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdrm_omap1 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
@ -211,7 +218,9 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libdrm
|
||||
%_includedir/nouveau
|
||||
%ifarch %arm
|
||||
%_includedir/omap
|
||||
%endif
|
||||
%_includedir/xf86drm.h
|
||||
%_includedir/xf86drmMode.h
|
||||
%_libdir/libdrm*.so
|
||||
@ -246,8 +255,10 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%_libdir/libkms.so
|
||||
%_libdir/pkgconfig/libkms.pc
|
||||
|
||||
%ifarch %arm
|
||||
%files -n libdrm_omap1
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdrm_omap.so.1*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user