Accepting request 287221 from home:zombah:branches:X11:XOrg
- Add subpackage libdrm_tegra0 for Nvidia Tegra chips OBS-URL: https://build.opensuse.org/request/show/287221 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=186
This commit is contained in:
19
libdrm.spec
19
libdrm.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libdrm
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -74,6 +74,7 @@ Requires: libdrm_radeon1 = %version
|
||||
%ifarch %arm
|
||||
Requires: libdrm_freedreno1 = %version
|
||||
Requires: libdrm_omap1 = %version
|
||||
Requires: libdrm_tegra0 = %version
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
Requires: libdrm_intel1 = %version
|
||||
@@ -158,6 +159,13 @@ Group: System/Libraries
|
||||
|
||||
%description -n libdrm_freedreno1
|
||||
(Upstream has not provided a description)
|
||||
|
||||
%package -n libdrm_tegra0
|
||||
Summary: Userspace interface to kernel DRM services for Nvidia Tegra chips
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdrm_tegra0
|
||||
(Upstream has not provided a description)
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@@ -171,6 +179,7 @@ autoreconf -fi
|
||||
%ifarch %arm
|
||||
--enable-omap-experimental-api \
|
||||
--enable-freedreno-experimental-api \
|
||||
--enable-tegra-experimental-api \
|
||||
%endif
|
||||
--enable-udev
|
||||
|
||||
@@ -220,6 +229,10 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%post -n libdrm_freedreno1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdrm_freedreno1 -p /sbin/ldconfig
|
||||
|
||||
%post -n libdrm_tegra0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdrm_tegra0 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files tools
|
||||
@@ -278,6 +291,10 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%files -n libdrm_freedreno1
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdrm_freedreno.so.1*
|
||||
|
||||
%files -n libdrm_tegra0
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdrm_tegra.so.0*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user