Accepting request 225976 from home:Guillaume_G:branches:X11:XOrg

Add subpackage for Exynos (ARM)

OBS-URL: https://build.opensuse.org/request/show/225976
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=166
This commit is contained in:
2014-03-14 15:45:18 +00:00
committed by Git OBS Bridge
parent b77a71904a
commit 702cd3b5c9
2 changed files with 23 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 12 16:22:55 UTC 2014 - guillaume@opensuse.org
- Add subpackage for Exynos (ARM)
-------------------------------------------------------------------
Sun Feb 16 15:16:40 UTC 2014 - afaerber@suse.de

View File

@@ -73,6 +73,7 @@ Requires: libdrm2 = %version
Requires: libdrm_nouveau2 = %version
Requires: libdrm_radeon1 = %version
%ifarch %arm
Requires: libdrm_exynos1 = %version
Requires: libdrm_freedreno1 = %version
Requires: libdrm_omap1 = %version
%endif
@@ -159,6 +160,13 @@ Group: System/Libraries
%description -n libdrm_freedreno1
(Upstream has not provided a description)
%package -n libdrm_exynos1
Summary: Userspace interface to kernel DRM services for exynos chips
Group: System/Libraries
%description -n libdrm_exynos1
(Upstream has not provided a description)
%endif
%prep
@@ -174,6 +182,7 @@ autoreconf -fi
%ifarch %arm
--enable-omap-experimental-api \
--enable-freedreno-experimental-api \
--enable-exynos-experimental-api \
%endif
--enable-udev
@@ -223,6 +232,10 @@ rm -f "%buildroot/%_libdir"/*.la
%post -n libdrm_freedreno1 -p /sbin/ldconfig
%postun -n libdrm_freedreno1 -p /sbin/ldconfig
%post -n libdrm_exynos1 -p /sbin/ldconfig
%postun -n libdrm_exynos1 -p /sbin/ldconfig
%endif
%files tools
@@ -238,6 +251,7 @@ rm -f "%buildroot/%_libdir"/*.la
%ifarch %arm
%_includedir/omap
%_includedir/freedreno
%_includedir/exynos
%endif
%_includedir/xf86drm.h
%_includedir/xf86drmMode.h
@@ -282,6 +296,10 @@ rm -f "%buildroot/%_libdir"/*.la
%files -n libdrm_freedreno1
%defattr(-,root,root)
%_libdir/libdrm_freedreno.so.1*
%files -n libdrm_exynos1
%defattr(-,root,root)
%_libdir/libdrm_exynos.so.1*
%endif
%changelog