From bc1f4e3c7596b90a6144a5ede705b2329a3ea3424b36953a9c9b07032e734c34 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 15 Jan 2014 11:53:49 +0000 Subject: [PATCH 1/2] 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 --- baselibs.conf | 2 ++ libdrm.changes | 5 +++++ libdrm.spec | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/baselibs.conf b/baselibs.conf index efe09dc..bd5d067 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,5 @@ libdrm2 +libdrm_freedreno1 libdrm_intel1 libdrm_nouveau2 libdrm_omap1 @@ -6,6 +7,7 @@ libdrm_radeon1 libdrm-devel requires -libdrm- requires "libdrm2- = " + targetarch arm requires "libdrm_freedreno1- = " requires "libdrm_intel1- = " requires "libdrm_nouveau2- = " targetarch arm requires "libdrm_omap1- = " diff --git a/libdrm.changes b/libdrm.changes index 94ede0e..99ec3ca 100644 --- a/libdrm.changes +++ b/libdrm.changes @@ -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 diff --git a/libdrm.spec b/libdrm.spec index 5fe360a..31c2343 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -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 From 6dfe935365998cbee3e847837b9edec596fa4493437b5492e9a244c6a38c3867 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 15 Jan 2014 14:00:51 +0000 Subject: [PATCH 2/2] Accepting request 213992 from home:a_faerber:branches: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. OBS-URL: https://build.opensuse.org/request/show/213992 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=160 --- libdrm.changes | 5 +++++ libdrm.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libdrm.changes b/libdrm.changes index 99ec3ca..3d235e3 100644 --- a/libdrm.changes +++ b/libdrm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/libdrm.spec b/libdrm.spec index 31c2343..4361c3d 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -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