Accepting request 213993 from X11:XOrg

Make libdrm-devel require the new libdrm_freedreno1. With this change, xf86-video-freedreno is ready to be copypac'ed from the same repository. (forwarded request 213992 from a_faerber)

OBS-URL: https://build.opensuse.org/request/show/213993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=91
This commit is contained in:
Stephan Kulow
2014-01-17 10:04:12 +00:00
committed by Git OBS Bridge
3 changed files with 30 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
libdrm2
libdrm_freedreno1
libdrm_intel1
libdrm_nouveau2
libdrm_omap1
@@ -6,6 +7,7 @@ libdrm_radeon1
libdrm-devel
requires -libdrm-<targettype>
requires "libdrm2-<targettype> = <version>"
targetarch arm requires "libdrm_freedreno1-<targettype> = <version>"
requires "libdrm_intel1-<targettype> = <version>"
requires "libdrm_nouveau2-<targettype> = <version>"
targetarch arm requires "libdrm_omap1-<targettype> = <version>"

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jan 15 13:15:05 UTC 2014 - afaerber@suse.de
- Make libdrm-devel depend on libdrm_freedreno1 on arm
-------------------------------------------------------------------
Wed Jan 15 02:03:29 UTC 2014 - afaerber@suse.de
- Add subpackage for freedreno (Qualcomm Adreno)
-------------------------------------------------------------------
Wed Jan 8 22:19:21 UTC 2014 - tobias.johannes.klausmann@mni.thm.de

View File

@@ -72,6 +72,7 @@ Requires: libdrm2 = %version
Requires: libdrm_nouveau2 = %version
Requires: libdrm_radeon1 = %version
%ifarch %arm
Requires: libdrm_freedreno1 = %version
Requires: libdrm_omap1 = %version
%endif
%ifarch %ix86 x86_64
@@ -150,6 +151,13 @@ Group: System/Libraries
%description -n libdrm_omap1
(Upstream has not provided a description)
%package -n libdrm_freedreno1
Summary: Userspace interface to kernel DRM services for Qualcomm Adreno chips
Group: System/Libraries
%description -n libdrm_freedreno1
(Upstream has not provided a description)
%endif
%prep
@@ -163,6 +171,7 @@ autoreconf -fi
%configure --with-pic \
%ifarch %arm
--enable-omap-experimental-api \
--enable-freedreno-experimental-api \
%endif
--enable-udev
@@ -208,6 +217,10 @@ rm -f "%buildroot/%_libdir"/*.la
%post -n libdrm_omap1 -p /sbin/ldconfig
%postun -n libdrm_omap1 -p /sbin/ldconfig
%post -n libdrm_freedreno1 -p /sbin/ldconfig
%postun -n libdrm_freedreno1 -p /sbin/ldconfig
%endif
%files tools
@@ -222,6 +235,7 @@ rm -f "%buildroot/%_libdir"/*.la
%_includedir/libdrm
%ifarch %arm
%_includedir/omap
%_includedir/freedreno
%endif
%_includedir/xf86drm.h
%_includedir/xf86drmMode.h
@@ -262,6 +276,10 @@ rm -f "%buildroot/%_libdir"/*.la
%files -n libdrm_omap1
%defattr(-,root,root)
%_libdir/libdrm_omap.so.1*
%files -n libdrm_freedreno1
%defattr(-,root,root)
%_libdir/libdrm_freedreno.so.1*
%endif
%changelog