Accepting request 213933 from home:a_faerber:branches:X11:XOrg

Add subpackage libdrm_freedreno1 for Qualcomm Adreno (Snapdragon)

OBS-URL: https://build.opensuse.org/request/show/213933
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=159
This commit is contained in:
2014-01-15 11:53:49 +00:00
committed by Git OBS Bridge
parent 158555476d
commit bc1f4e3c75
3 changed files with 24 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,8 @@
-------------------------------------------------------------------
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

@@ -150,6 +150,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 +170,7 @@ autoreconf -fi
%configure --with-pic \
%ifarch %arm
--enable-omap-experimental-api \
--enable-freedreno-experimental-api \
%endif
--enable-udev
@@ -208,6 +216,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 +234,7 @@ rm -f "%buildroot/%_libdir"/*.la
%_includedir/libdrm
%ifarch %arm
%_includedir/omap
%_includedir/freedreno
%endif
%_includedir/xf86drm.h
%_includedir/xf86drmMode.h
@@ -262,6 +275,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