Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
Mesa
u_st-va-hardlink-driver-instances-to-gallium_dr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch of Package Mesa
From 8974248c4147e57552dc21c6d16e4d1817d34fad Mon Sep 17 00:00:00 2001 From: Jimmy Berry <jimmy@boombatower.com> Date: Sat, 19 Dec 2015 22:49:10 -0600 Subject: [Mesa-dev] [PATCH] st/va: hardlink driver instances to gallium_drv_video.so Removes the need to set LIBVA_DRIVER_NAME=gallium for supported targets and is consistent with vdpau and general gallium drivers. Signed-off-by: Jimmy Berry <jimmy@boombatower.com> --- src/gallium/targets/va/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/gallium/targets/va/Makefile.am b/src/gallium/targets/va/Makefile.am index 733e7ac..2cab898 100644 --- a/src/gallium/targets/va/Makefile.am +++ b/src/gallium/targets/va/Makefile.am @@ -64,3 +64,17 @@ if HAVE_MESA_LLVM gallium_drv_video_la_LIBADD += $(LLVM_LIBS) gallium_drv_video_la_LDFLAGS += $(LLVM_LDFLAGS) endif + +# hardlink each megadriver instance, but don't actually have +# gallium_drv_video.so in the set of final installed files. +install-data-hook: + for i in $(TARGET_DRIVERS); do \ + ln -f $(DESTDIR)$(vadir)/gallium_drv_video.so \ + $(DESTDIR)$(vadir)/$${i}_drv_video.so; \ + done; \ + $(RM) $(DESTDIR)$(vadir)/gallium_drv_video.* + +uninstall-hook: + for i in $(TARGET_DRIVERS); do \ + $(RM) $(DESTDIR)$(vadir)/$${i}_drv_video.so; \ + done; -- 2.6.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor