Update to 2.4.90; Switch to meson buildsystem
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
		
							parent
							
								
									86ef00152b
								
							
						
					
					
						commit
						c883cf30d9
					
				| @ -0,0 +1,54 @@ | |||||||
|  | From 1d4f23eeafb0fe97f086f19dd5588503d77dea3f Mon Sep 17 00:00:00 2001 | ||||||
|  | From: Igor Gnatenko <ignatenko@redhat.com> | ||||||
|  | Date: Sun, 18 Feb 2018 13:56:39 +0100 | ||||||
|  | Subject: [PATCH libdrm] meson: do not use cairo/valgrind if it was disabled | ||||||
|  | 
 | ||||||
|  | -Dcairo-tests=false currently results into enabling cairo support if it
 | ||||||
|  | was found. | ||||||
|  | 
 | ||||||
|  | Signed-off-by: Igor Gnatenko <ignatenko@redhat.com> | ||||||
|  | ---
 | ||||||
|  |  meson.build | 20 ++++++++++++++++---- | ||||||
|  |  1 file changed, 16 insertions(+), 4 deletions(-) | ||||||
|  | 
 | ||||||
|  | diff --git a/meson.build b/meson.build
 | ||||||
|  | index 166559e8..695f89b3 100644
 | ||||||
|  | --- a/meson.build
 | ||||||
|  | +++ b/meson.build
 | ||||||
|  | @@ -226,8 +226,20 @@ endforeach
 | ||||||
|  |   | ||||||
|  |  dep_pciaccess = dependency('pciaccess', version : '>= 0.10', required : with_intel) | ||||||
|  |  dep_cunit = dependency('cunit', version : '>= 2.1', required : false) | ||||||
|  | -dep_cairo = dependency('cairo', required : with_cairo_tests == 'true')
 | ||||||
|  | -dep_valgrind = dependency('valgrind', required : with_valgrind == 'true')
 | ||||||
|  | +if with_cairo_tests != 'false'
 | ||||||
|  | +  dep_cairo = dependency('cairo', required : with_cairo_tests == 'true')
 | ||||||
|  | +  with_cairo_tests = dep_cairo.found()
 | ||||||
|  | +else
 | ||||||
|  | +  dep_cairo = declare_dependency()
 | ||||||
|  | +  with_cairo_tests = false
 | ||||||
|  | +endif
 | ||||||
|  | +if with_valgrind != 'false'
 | ||||||
|  | +  dep_valgrind = dependency('valgrind', required : with_valgrind == 'true')
 | ||||||
|  | +  with_valgrind = dep_valgrind.found()
 | ||||||
|  | +else
 | ||||||
|  | +  dep_valgrind = declare_dependency()
 | ||||||
|  | +  with_valgrind = false
 | ||||||
|  | +endif
 | ||||||
|  |   | ||||||
|  |  with_man_pages = get_option('man-pages') | ||||||
|  |  prog_xslt = find_program('xsltproc', required : with_man_pages == 'true') | ||||||
|  | @@ -259,8 +271,8 @@ foreach t : [
 | ||||||
|  |               [with_radeon, 'RADEON'], | ||||||
|  |               [with_vc4, 'VC4'], | ||||||
|  |               [with_vmwgfx, 'VMWGFX'], | ||||||
|  | -             [dep_cairo.found(), 'CAIRO'],
 | ||||||
|  | -             [dep_valgrind.found(), 'VALGRIND'],
 | ||||||
|  | +             [with_cairo_tests, 'CAIRO'],
 | ||||||
|  | +             [with_valgrind, 'VALGRIND'],
 | ||||||
|  |              ] | ||||||
|  |    config.set10('HAVE_@0@'.format(t[1]), t[0]) | ||||||
|  |  endforeach | ||||||
|  | -- 
 | ||||||
|  | 2.16.2 | ||||||
|  | 
 | ||||||
							
								
								
									
										338
									
								
								libdrm.spec
									
									
									
									
									
								
							
							
						
						
									
										338
									
								
								libdrm.spec
									
									
									
									
									
								
							| @ -1,31 +1,85 @@ | |||||||
| %ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 | %define bcond_meson() %{lua: do | ||||||
|  |   local option = rpm.expand("%{1}") | ||||||
|  |   local with = rpm.expand("%{?with_" .. option .. "}") | ||||||
|  |   local value = (with ~= '') and "true" or "false" | ||||||
|  |   option = option:gsub('_', '-') | ||||||
|  |   print(string.format("-D%s=%s", option, value)) | ||||||
|  | end} | ||||||
|  | 
 | ||||||
|  | %bcond_without libkms | ||||||
|  | %ifarch %{ix86} x86_64 | ||||||
|  | %bcond_without intel | ||||||
|  | %else | ||||||
|  | %bcond_with    intel | ||||||
|  | %endif | ||||||
|  | %bcond_without radeon | ||||||
|  | %bcond_without amdgpu | ||||||
|  | %bcond_without nouveau | ||||||
|  | %bcond_without vmwgfx | ||||||
|  | %ifarch %{arm} | ||||||
|  | %bcond_without omap | ||||||
|  | %else | ||||||
|  | %bcond_with    omap | ||||||
|  | %endif | ||||||
|  | %ifarch %{arm} aarch64 | ||||||
|  | %bcond_without exynos | ||||||
|  | %bcond_without freedreno | ||||||
|  | %bcond_without tegra | ||||||
|  | %bcond_without vc4 | ||||||
|  | %bcond_without etnaviv | ||||||
|  | %else | ||||||
|  | %bcond_with    exynos | ||||||
|  | %bcond_with    freedreno | ||||||
|  | %bcond_with    tegra | ||||||
|  | %bcond_with    vc4 | ||||||
|  | %bcond_with    etnaviv | ||||||
|  | %endif | ||||||
|  | %bcond_with    cairo_tests | ||||||
|  | %bcond_without man_pages | ||||||
|  | %ifarch %{valgrind_arches} | ||||||
| %bcond_without valgrind | %bcond_without valgrind | ||||||
| %else | %else | ||||||
| %bcond_with valgrind | %bcond_with    valgrind | ||||||
| %endif | %endif | ||||||
|  | %bcond_with    freedreno_kgsl | ||||||
|  | %bcond_without install_test_programs | ||||||
|  | %bcond_without udev | ||||||
| 
 | 
 | ||||||
| Name:           libdrm | Name:           libdrm | ||||||
| Summary:        Direct Rendering Manager runtime library | Summary:        Direct Rendering Manager runtime library | ||||||
| Version:        2.4.89 | Version:        2.4.90 | ||||||
| Release:        3%{?dist} | Release:        1%{?dist} | ||||||
| License:        MIT | License:        MIT | ||||||
| 
 | 
 | ||||||
| URL:            https://dri.freedesktop.org | URL:            https://dri.freedesktop.org | ||||||
| Source0:        %{url}/libdrm/%{name}-%{version}.tar.bz2 | Source0:        %{url}/libdrm/%{name}-%{version}.tar.bz2 | ||||||
| Source2:        91-drm-modeset.rules | Source2:        91-drm-modeset.rules | ||||||
| 
 | 
 | ||||||
| BuildRequires:  pkgconfig automake autoconf libtool | # https://lists.freedesktop.org/archives/dri-devel/2018-February/166184.html | ||||||
| BuildRequires:  kernel-headers | Patch0001:      0001-meson-do-not-use-cairo-valgrind-if-it-was-disabled.patch | ||||||
| BuildRequires:  libxcb-devel | 
 | ||||||
| BuildRequires:  systemd-devel | BuildRequires:  meson >= 0.43 | ||||||
| Requires:       systemd | BuildRequires:  gcc | ||||||
| BuildRequires:  libatomic_ops-devel | BuildRequires:  libatomic_ops-devel | ||||||
| BuildRequires:  libpciaccess-devel | BuildRequires:  kernel-headers | ||||||
| BuildRequires:  libxslt docbook-style-xsl | %if %{with intel} | ||||||
|  | BuildRequires:  pkgconfig(pciaccess) >= 0.10 | ||||||
|  | %endif | ||||||
|  | #BuildRequires:  pkgconfig(cunit) >= 2.1 | ||||||
|  | %if %{with cairo_tests} | ||||||
|  | BuildRequires:  pkgconfig(cairo) | ||||||
|  | %endif | ||||||
|  | %if %{with man_pages} | ||||||
|  | BuildRequires:  %{_bindir}/xsltproc | ||||||
|  | BuildRequires:  %{_bindir}/sed | ||||||
|  | BuildRequires:  docbook-style-xsl | ||||||
|  | %endif | ||||||
| %if %{with valgrind} | %if %{with valgrind} | ||||||
| BuildRequires:  valgrind-devel | BuildRequires:  valgrind-devel | ||||||
| %endif | %endif | ||||||
| BuildRequires:  xorg-x11-util-macros | %if %{with udev} | ||||||
|  | BuildRequires:  pkgconfig(udev) | ||||||
|  | %endif | ||||||
| 
 | 
 | ||||||
| # hardcode the 666 instead of 660 for device nodes | # hardcode the 666 instead of 660 for device nodes | ||||||
| Patch3: libdrm-make-dri-perms-okay.patch | Patch3: libdrm-make-dri-perms-okay.patch | ||||||
| @ -45,56 +99,49 @@ Requires:       kernel-headers | |||||||
| %description devel | %description devel | ||||||
| Direct Rendering Manager development package. | Direct Rendering Manager development package. | ||||||
| 
 | 
 | ||||||
|  | %if %{with install_test_programs} | ||||||
| %package -n drm-utils | %package -n drm-utils | ||||||
| Summary:        Direct Rendering Manager utilities | Summary:        Direct Rendering Manager utilities | ||||||
| Requires:       %{name}%{?_isa} = %{version}-%{release} | Requires:       %{name}%{?_isa} = %{version}-%{release} | ||||||
| 
 | 
 | ||||||
| %description -n drm-utils | %description -n drm-utils | ||||||
| Utility programs for the kernel DRM interface.  Will void your warranty. | Utility programs for the kernel DRM interface.  Will void your warranty. | ||||||
|  | %endif | ||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
| %autosetup -p1 | %autosetup -p1 | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| autoreconf -vfi | %meson \ | ||||||
| %configure \ |   %{bcond_meson libkms}                \ | ||||||
| %if ! %{with valgrind} |   %{bcond_meson intel}                 \ | ||||||
|     --disable-valgrind \ |   %{bcond_meson radeon}                \ | ||||||
| %endif |   %{bcond_meson amdgpu}                \ | ||||||
|     --disable-vc4 \ |   %{bcond_meson nouveau}               \ | ||||||
| %ifarch %{arm} aarch64 |   %{bcond_meson vmwgfx}                \ | ||||||
|     --enable-etnaviv-experimental-api \ |   %{bcond_meson omap}                  \ | ||||||
|     --enable-exynos-experimental-api \ |   %{bcond_meson exynos}                \ | ||||||
|     --enable-tegra-experimental-api \ |   %{bcond_meson freedreno}             \ | ||||||
|     --enable-vc4 \ |   %{bcond_meson tegra}                 \ | ||||||
| %endif |   %{bcond_meson vc4}                   \ | ||||||
| %ifarch %{arm} |   %{bcond_meson etnaviv}               \ | ||||||
|     --enable-omap-experimental-api \ |   %{bcond_meson cairo_tests}           \ | ||||||
| %endif |   %{bcond_meson man_pages}             \ | ||||||
|     --enable-install-test-programs \ |   %{bcond_meson valgrind}              \ | ||||||
|     --enable-udev |   %{bcond_meson freedreno_kgsl}        \ | ||||||
| 
 |   %{bcond_meson install_test_programs} \ | ||||||
| %make_build V=1 |   %{bcond_meson udev}                  \ | ||||||
| pushd tests |   %{nil} | ||||||
| %make_build `make check-programs` V=1 | %meson_build | ||||||
| popd |  | ||||||
| 
 | 
 | ||||||
| %install | %install | ||||||
| %make_install | %meson_install | ||||||
| pushd tests | %if %{with install_test_programs} | ||||||
| mkdir -p %{buildroot}%{_bindir} | install -Dpm0755 -t %{buildroot}%{_bindir} %{_vpath_builddir}/tests/drmdevice | ||||||
| for foo in $(make check-programs) ; do | %endif | ||||||
|  libtool --mode=install install -D -p -m 0755 $foo %{buildroot}%{_bindir} | %if %{with udev} | ||||||
| done | install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2} | ||||||
| popd | %endif | ||||||
| # SUBDIRS=libdrm |  | ||||||
| mkdir -p %{buildroot}%{_udevrulesdir} |  | ||||||
| install -v -D -p -m 0644 %{SOURCE2} %{buildroot}%{_udevrulesdir} |  | ||||||
| 
 |  | ||||||
| # NOTE: We intentionally don't ship *.la files |  | ||||||
| find %{buildroot} -type f -name "*.la" -delete |  | ||||||
| 
 |  | ||||||
| rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} |  | ||||||
| 
 | 
 | ||||||
| %ldconfig_scriptlets | %ldconfig_scriptlets | ||||||
| 
 | 
 | ||||||
| @ -102,132 +149,147 @@ rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} | |||||||
| %doc README | %doc README | ||||||
| %{_libdir}/libdrm.so.2 | %{_libdir}/libdrm.so.2 | ||||||
| %{_libdir}/libdrm.so.2.4.0 | %{_libdir}/libdrm.so.2.4.0 | ||||||
| %ifarch %{ix86} x86_64 ia64 | %dir %{_datadir}/libdrm | ||||||
|  | %if %{with libkms} | ||||||
|  | %{_libdir}/libkms.so.1 | ||||||
|  | %{_libdir}/libkms.so.1.0.0 | ||||||
|  | %endif | ||||||
|  | %if %{with intel} | ||||||
| %{_libdir}/libdrm_intel.so.1 | %{_libdir}/libdrm_intel.so.1 | ||||||
| %{_libdir}/libdrm_intel.so.1.0.0 | %{_libdir}/libdrm_intel.so.1.0.0 | ||||||
| %endif | %endif | ||||||
| %ifarch %{arm} | %if %{with radeon} | ||||||
|  | %{_libdir}/libdrm_radeon.so.1 | ||||||
|  | %{_libdir}/libdrm_radeon.so.1.0.1 | ||||||
|  | %endif | ||||||
|  | %if %{with amdgpu} | ||||||
|  | %{_libdir}/libdrm_amdgpu.so.1 | ||||||
|  | %{_libdir}/libdrm_amdgpu.so.1.0.0 | ||||||
|  | %{_datadir}/libdrm/amdgpu.ids | ||||||
|  | %endif | ||||||
|  | %if %{with nouveau} | ||||||
|  | %{_libdir}/libdrm_nouveau.so.2 | ||||||
|  | %{_libdir}/libdrm_nouveau.so.2.0.0 | ||||||
|  | %endif | ||||||
|  | %if %{with omap} | ||||||
| %{_libdir}/libdrm_omap.so.1 | %{_libdir}/libdrm_omap.so.1 | ||||||
| %{_libdir}/libdrm_omap.so.1.0.0 | %{_libdir}/libdrm_omap.so.1.0.0 | ||||||
| %endif | %endif | ||||||
| %ifarch %{arm} aarch64 | %if %{with exynos} | ||||||
| %{_libdir}/libdrm_etnaviv.so.1 |  | ||||||
| %{_libdir}/libdrm_etnaviv.so.1.0.0 |  | ||||||
| %{_libdir}/libdrm_exynos.so.1 | %{_libdir}/libdrm_exynos.so.1 | ||||||
| %{_libdir}/libdrm_exynos.so.1.0.0 | %{_libdir}/libdrm_exynos.so.1.0.0 | ||||||
|  | %endif | ||||||
|  | %if %{with freedreno} | ||||||
| %{_libdir}/libdrm_freedreno.so.1 | %{_libdir}/libdrm_freedreno.so.1 | ||||||
| %{_libdir}/libdrm_freedreno.so.1.0.0 | %{_libdir}/libdrm_freedreno.so.1.0.0 | ||||||
|  | %endif | ||||||
|  | %if %{with tegra} | ||||||
| %{_libdir}/libdrm_tegra.so.0 | %{_libdir}/libdrm_tegra.so.0 | ||||||
| %{_libdir}/libdrm_tegra.so.0.0.0 | %{_libdir}/libdrm_tegra.so.0.0.0 | ||||||
| %endif | %endif | ||||||
| %{_libdir}/libdrm_radeon.so.1 | %if %{with etnaviv} | ||||||
| %{_libdir}/libdrm_radeon.so.1.0.1 | %{_libdir}/libdrm_etnaviv.so.1 | ||||||
| %{_libdir}/libdrm_amdgpu.so.1 | %{_libdir}/libdrm_etnaviv.so.1.0.0 | ||||||
| %{_libdir}/libdrm_amdgpu.so.1.0.0 | %endif | ||||||
| %{_libdir}/libdrm_nouveau.so.2 | %if %{with udev} | ||||||
| %{_libdir}/libdrm_nouveau.so.2.0.0 | %{_udevrulesdir}/91-drm-modeset.rules | ||||||
| %{_libdir}/libkms.so.1 |  | ||||||
| %{_libdir}/libkms.so.1.0.0 |  | ||||||
| %dir %{_datadir}/libdrm |  | ||||||
| %{_datadir}/libdrm/amdgpu.ids |  | ||||||
| %{_udevrulesdir}/91-drm-modeset.rules |  | ||||||
| 
 |  | ||||||
| %files -n drm-utils |  | ||||||
| %{_bindir}/drmdevice |  | ||||||
| %{_bindir}/modetest |  | ||||||
| %{_bindir}/modeprint |  | ||||||
| %{_bindir}/vbltest |  | ||||||
| %{_bindir}/kmstest |  | ||||||
| %{_bindir}/kms-steal-crtc |  | ||||||
| %{_bindir}/kms-universal-planes |  | ||||||
| %exclude %{_bindir}/drmsl |  | ||||||
| %ifarch %{arm} aarch64 |  | ||||||
| %exclude %{_bindir}/etnaviv* |  | ||||||
| %exclude %{_bindir}/exynos* |  | ||||||
| %endif | %endif | ||||||
| %exclude %{_bindir}/hash |  | ||||||
| %exclude %{_bindir}/proptest |  | ||||||
| %exclude %{_bindir}/random |  | ||||||
| 
 | 
 | ||||||
| %files devel | %files devel | ||||||
| # FIXME should be in drm/ too |  | ||||||
| %{_includedir}/xf86drm.h |  | ||||||
| %{_includedir}/xf86drmMode.h |  | ||||||
| %dir %{_includedir}/libdrm | %dir %{_includedir}/libdrm | ||||||
| %{_includedir}/libdrm/drm.h | %{_includedir}/libdrm/drm.h | ||||||
| %{_includedir}/libdrm/drm_fourcc.h | %{_includedir}/libdrm/drm_fourcc.h | ||||||
| %{_includedir}/libdrm/drm_mode.h | %{_includedir}/libdrm/drm_mode.h | ||||||
| %{_includedir}/libdrm/drm_sarea.h | %{_includedir}/libdrm/drm_sarea.h | ||||||
| %ifarch %{ix86} x86_64 ia64 |  | ||||||
| %{_includedir}/libdrm/intel_aub.h |  | ||||||
| %{_includedir}/libdrm/intel_bufmgr.h |  | ||||||
| %{_includedir}/libdrm/intel_debug.h |  | ||||||
| %endif |  | ||||||
| %ifarch %{arm} |  | ||||||
| %{_includedir}/libdrm/omap_drmif.h |  | ||||||
| %{_includedir}/omap/ |  | ||||||
| %endif |  | ||||||
| %ifarch %{arm} aarch64 |  | ||||||
| %{_includedir}/exynos/ |  | ||||||
| %{_includedir}/freedreno/ |  | ||||||
| %{_includedir}/libdrm/etnaviv_drmif.h |  | ||||||
| %{_includedir}/libdrm/exynos_drmif.h |  | ||||||
| %{_includedir}/libdrm/tegra.h |  | ||||||
| %{_includedir}/libdrm/vc4_packet.h |  | ||||||
| %{_includedir}/libdrm/vc4_qpu_defines.h |  | ||||||
| %endif |  | ||||||
| %{_includedir}/libdrm/amdgpu.h |  | ||||||
| %{_includedir}/libdrm/radeon_bo.h |  | ||||||
| %{_includedir}/libdrm/radeon_bo_gem.h |  | ||||||
| %{_includedir}/libdrm/radeon_bo_int.h |  | ||||||
| %{_includedir}/libdrm/radeon_cs.h |  | ||||||
| %{_includedir}/libdrm/radeon_cs_gem.h |  | ||||||
| %{_includedir}/libdrm/radeon_cs_int.h |  | ||||||
| %{_includedir}/libdrm/radeon_surface.h |  | ||||||
| %{_includedir}/libdrm/r600_pci_ids.h |  | ||||||
| %{_includedir}/libdrm/nouveau/ |  | ||||||
| %{_includedir}/libdrm/*_drm.h | %{_includedir}/libdrm/*_drm.h | ||||||
| %{_includedir}/libkms |  | ||||||
| %{_includedir}/libsync.h |  | ||||||
| %{_libdir}/libdrm.so | %{_libdir}/libdrm.so | ||||||
| %ifarch %{ix86} x86_64 ia64 |  | ||||||
| %{_libdir}/libdrm_intel.so |  | ||||||
| %endif |  | ||||||
| %ifarch %{arm} |  | ||||||
| %{_libdir}/libdrm_omap.so |  | ||||||
| %endif |  | ||||||
| %ifarch %{arm} aarch64 |  | ||||||
| %{_libdir}/libdrm_etnaviv.so |  | ||||||
| %{_libdir}/libdrm_exynos.so |  | ||||||
| %{_libdir}/libdrm_freedreno.so |  | ||||||
| %{_libdir}/libdrm_tegra.so |  | ||||||
| %endif |  | ||||||
| %{_libdir}/libdrm_radeon.so |  | ||||||
| %{_libdir}/libdrm_amdgpu.so |  | ||||||
| %{_libdir}/libdrm_nouveau.so |  | ||||||
| %{_libdir}/libkms.so |  | ||||||
| %{_libdir}/pkgconfig/libdrm.pc | %{_libdir}/pkgconfig/libdrm.pc | ||||||
| %ifarch %{ix86} x86_64 ia64 | %if %{with libkms} | ||||||
|  | %{_includedir}/libkms/ | ||||||
|  | %{_libdir}/libkms.so | ||||||
|  | %{_libdir}/pkgconfig/libkms.pc | ||||||
|  | %endif | ||||||
|  | %if %{with intel} | ||||||
|  | %{_includedir}/libdrm/intel_*.h | ||||||
|  | %{_libdir}/libdrm_intel.so | ||||||
| %{_libdir}/pkgconfig/libdrm_intel.pc | %{_libdir}/pkgconfig/libdrm_intel.pc | ||||||
| %endif | %endif | ||||||
| %ifarch %{arm} | %if %{with radeon} | ||||||
|  | %{_includedir}/libdrm/radeon_*.h | ||||||
|  | %{_includedir}/libdrm/r600_pci_ids.h | ||||||
|  | %{_libdir}/libdrm_radeon.so | ||||||
|  | %{_libdir}/pkgconfig/libdrm_radeon.pc | ||||||
|  | %endif | ||||||
|  | %if %{with amdgpu} | ||||||
|  | %{_includedir}/libdrm/amdgpu.h | ||||||
|  | %{_libdir}/libdrm_amdgpu.so | ||||||
|  | %{_libdir}/pkgconfig/libdrm_amdgpu.pc | ||||||
|  | %endif | ||||||
|  | %if %{with nouveau} | ||||||
|  | %{_includedir}/libdrm/nouveau/ | ||||||
|  | %{_libdir}/libdrm_nouveau.so | ||||||
|  | %{_libdir}/pkgconfig/libdrm_nouveau.pc | ||||||
|  | %endif | ||||||
|  | %if %{with omap} | ||||||
|  | %{_includedir}/libdrm/omap_*.h | ||||||
|  | %{_includedir}/omap/ | ||||||
|  | %{_libdir}/libdrm_omap.so | ||||||
| %{_libdir}/pkgconfig/libdrm_omap.pc | %{_libdir}/pkgconfig/libdrm_omap.pc | ||||||
| %endif | %endif | ||||||
| %ifarch %{arm} aarch64 | %if %{with exynos} | ||||||
| %{_libdir}/pkgconfig/libdrm_etnaviv.pc | %{_includedir}/libdrm/exynos_*.h | ||||||
|  | %{_includedir}/exynos/ | ||||||
|  | %{_libdir}/libdrm_exynos.so | ||||||
| %{_libdir}/pkgconfig/libdrm_exynos.pc | %{_libdir}/pkgconfig/libdrm_exynos.pc | ||||||
|  | %endif | ||||||
|  | %if %{with freedreno} | ||||||
|  | %{_includedir}/freedreno/ | ||||||
|  | %{_libdir}/libdrm_freedreno.so | ||||||
| %{_libdir}/pkgconfig/libdrm_freedreno.pc | %{_libdir}/pkgconfig/libdrm_freedreno.pc | ||||||
|  | %endif | ||||||
|  | %if %{with tegra} | ||||||
|  | %{_includedir}/libdrm/tegra.h | ||||||
|  | %{_libdir}/libdrm_tegra.so | ||||||
| %{_libdir}/pkgconfig/libdrm_tegra.pc | %{_libdir}/pkgconfig/libdrm_tegra.pc | ||||||
|  | %endif | ||||||
|  | %if %{with vc4} | ||||||
|  | %{_includedir}/libdrm/vc4_*.h | ||||||
| %{_libdir}/pkgconfig/libdrm_vc4.pc | %{_libdir}/pkgconfig/libdrm_vc4.pc | ||||||
| %endif | %endif | ||||||
| %{_libdir}/pkgconfig/libdrm_radeon.pc | %if %{with etnaviv} | ||||||
| %{_libdir}/pkgconfig/libdrm_amdgpu.pc | %{_includedir}/libdrm/etnaviv_*.h | ||||||
| %{_libdir}/pkgconfig/libdrm_nouveau.pc | %{_libdir}/libdrm_etnaviv.so | ||||||
| %{_libdir}/pkgconfig/libkms.pc | %{_libdir}/pkgconfig/libdrm_etnaviv.pc | ||||||
|  | %endif | ||||||
|  | %{_includedir}/libsync.h | ||||||
|  | %{_includedir}/xf86drm.h | ||||||
|  | %{_includedir}/xf86drmMode.h | ||||||
|  | %if %{with man_pages} | ||||||
| %{_mandir}/man3/drm*.3* | %{_mandir}/man3/drm*.3* | ||||||
| %{_mandir}/man7/drm*.7* | %{_mandir}/man7/drm*.7* | ||||||
|  | %endif | ||||||
|  | 
 | ||||||
|  | %if %{with install_test_programs} | ||||||
|  | %files -n drm-utils | ||||||
|  | %{_bindir}/drmdevice | ||||||
|  | %exclude %{_bindir}/etnaviv_* | ||||||
|  | %exclude %{_bindir}/exynos_* | ||||||
|  | %{_bindir}/kms-steal-crtc | ||||||
|  | %{_bindir}/kms-universal-planes | ||||||
|  | %if %{with libkms} | ||||||
|  | %{_bindir}/kmstest | ||||||
|  | %endif | ||||||
|  | %{_bindir}/modeprint | ||||||
|  | %{_bindir}/modetest | ||||||
|  | %{_bindir}/proptest | ||||||
|  | %{_bindir}/vbltest | ||||||
|  | %endif | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Sun Feb 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.90-1 | ||||||
|  | - Update to 2.4.90 | ||||||
|  | - Switch to meson buildsystem | ||||||
|  | 
 | ||||||
| * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.89-3 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.89-3 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								sources
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								sources
									
									
									
									
									
								
							| @ -1 +1 @@ | |||||||
| SHA512 (libdrm-2.4.89.tar.bz2) = 380e4e46cd3971a73264bd1b482791fab0503268adb65ac81b674df009662cfb8ef5741e362f19670b2a43b1c46f022d857706c9a4bebed2b1cddaa317b7706d | SHA512 (libdrm-2.4.90.tar.bz2) = 3d32d60c44ffdcb58667d0926e6af8d375332add1f243d8b2d37567aeef4e4b26d786294aeecf46c3dea94fc002fb73756567c457300703acfc21e32ffbd458c | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user