enable freedreno support on ARM

This commit is contained in:
Peter Robinson 2013-04-21 12:46:11 +01:00
parent 0242fb7b44
commit 4b17da70eb

View File

@ -3,7 +3,7 @@
Summary: Direct Rendering Manager runtime library Summary: Direct Rendering Manager runtime library
Name: libdrm Name: libdrm
Version: 2.4.44 Version: 2.4.44
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://dri.sourceforge.net URL: http://dri.sourceforge.net
@ -70,8 +70,9 @@ Utility programs for the kernel DRM interface. Will void your warranty.
autoreconf -v --install || exit 1 autoreconf -v --install || exit 1
%configure \ %configure \
%ifarch %{arm} %ifarch %{arm}
--enable-omap-experimental-api \
--enable-exynos-experimental-api \ --enable-exynos-experimental-api \
--enable-freedreno-experimental-api \
--enable-omap-experimental-api \
%endif %endif
--enable-udev --enable-udev
make %{?_smp_mflags} make %{?_smp_mflags}
@ -113,6 +114,8 @@ done
%ifarch %{arm} %ifarch %{arm}
%{_libdir}/libdrm_exynos.so.1 %{_libdir}/libdrm_exynos.so.1
%{_libdir}/libdrm_exynos.so.1.0.0 %{_libdir}/libdrm_exynos.so.1.0.0
%{_libdir}/libdrm_freedreno.so.1
%{_libdir}/libdrm_freedreno.so.1.0.0
%{_libdir}/libdrm_omap.so.1 %{_libdir}/libdrm_omap.so.1
%{_libdir}/libdrm_omap.so.1.0.0 %{_libdir}/libdrm_omap.so.1.0.0
%endif %endif
@ -159,8 +162,9 @@ done
%endif %endif
%ifarch %{arm} %ifarch %{arm}
%{_includedir}/libdrm/exynos_drmif.h %{_includedir}/libdrm/exynos_drmif.h
%{_includedir}/exynos/
%{_includedir}/libdrm/omap_drmif.h %{_includedir}/libdrm/omap_drmif.h
%{_includedir}/exynos/
%{_includedir}/freedreno/
%{_includedir}/omap/ %{_includedir}/omap/
%endif %endif
%{_includedir}/libdrm/radeon_bo.h %{_includedir}/libdrm/radeon_bo.h
@ -181,6 +185,7 @@ done
%ifarch %{arm} %ifarch %{arm}
%{_libdir}/libdrm_exynos.so %{_libdir}/libdrm_exynos.so
%{_libdir}/libdrm_omap.so %{_libdir}/libdrm_omap.so
%{_libdir}/libdrm_freedreno.so
%endif %endif
%{_libdir}/libdrm_radeon.so %{_libdir}/libdrm_radeon.so
%{_libdir}/libdrm_nouveau.so %{_libdir}/libdrm_nouveau.so
@ -191,6 +196,7 @@ done
%endif %endif
%ifarch %{arm} %ifarch %{arm}
%{_libdir}/pkgconfig/libdrm_exynos.pc %{_libdir}/pkgconfig/libdrm_exynos.pc
%{_libdir}/pkgconfig/libdrm_freedreno.pc
%{_libdir}/pkgconfig/libdrm_omap.pc %{_libdir}/pkgconfig/libdrm_omap.pc
%endif %endif
%{_libdir}/pkgconfig/libdrm_radeon.pc %{_libdir}/pkgconfig/libdrm_radeon.pc
@ -200,6 +206,9 @@ done
%{_mandir}/man7/drm*.7* %{_mandir}/man7/drm*.7*
%changelog %changelog
* Sun Apr 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.44-2
- enable freedreno support on ARM
* Fri Apr 19 2013 Jerome Glisse <jglisse@redhat.com> 2.4.44-1 * Fri Apr 19 2013 Jerome Glisse <jglisse@redhat.com> 2.4.44-1
- libdrm 2.4.44 - libdrm 2.4.44