2016-01-20 17:01:53 +01:00
|
|
|
From a9af1af5f1f9aa9fdea9e73135a92f053478f849 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Stefan Dirsch <sndirsch@suse.de>
|
|
|
|
Date: Wed, 20 Jan 2016 16:10:15 +0100
|
|
|
|
Subject: [PATCH] VDPAU/XVMC libs: Replace hardlinks with copies
|
|
|
|
|
|
|
|
Since these are packaged separately in (open)SUSE anyway, one can use
|
|
|
|
copies as well. This makes debug packages possible again. (bnc #962609)
|
|
|
|
|
|
|
|
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
|
|
|
|
---
|
|
|
|
src/gallium/targets/vdpau/Makefile.am | 4 ++--
|
|
|
|
src/gallium/targets/xvmc/Makefile.am | 2 +-
|
|
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
2018-05-22 10:42:37 +02:00
|
|
|
Index: mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- mesa-18.1.0.orig/src/gallium/targets/vdpau/Makefile.am
|
|
|
|
+++ mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
|
|
|
|
@@ -91,7 +91,7 @@ all-local: $(vdpau_LTLIBRARIES)
|
2016-01-20 17:01:53 +01:00
|
|
|
j=libvdpau_gallium.$(LIB_EXT); \
|
|
|
|
k=libvdpau_$${i}.$(LIB_EXT); \
|
|
|
|
l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
|
|
|
|
- ln -f .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
|
|
|
|
+ cp -a .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
|
|
|
|
$${link_dir}/$${l}; \
|
|
|
|
ln -sf $${l} \
|
|
|
|
$${link_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
|
2018-05-22 10:42:37 +02:00
|
|
|
@@ -116,7 +116,7 @@ install-data-hook:
|
2016-01-20 17:01:53 +01:00
|
|
|
j=libvdpau_gallium.$(LIB_EXT); \
|
|
|
|
k=libvdpau_$${i}.$(LIB_EXT); \
|
|
|
|
l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
|
|
|
|
- ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
|
|
|
|
+ cp -a $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
|
|
|
|
$${dest_dir}/$${l}; \
|
|
|
|
ln -sf $${l} \
|
|
|
|
$${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
|
2018-05-22 10:42:37 +02:00
|
|
|
Index: mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- mesa-18.1.0.orig/src/gallium/targets/xvmc/Makefile.am
|
|
|
|
+++ mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
|
|
|
|
@@ -75,7 +75,7 @@ install-data-hook:
|
2016-01-20 17:01:53 +01:00
|
|
|
j=libXvMCgallium.$(LIB_EXT); \
|
|
|
|
k=libXvMC$${i}.$(LIB_EXT); \
|
|
|
|
l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0; \
|
|
|
|
- ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \
|
|
|
|
+ cp -a $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \
|
|
|
|
$${dest_dir}/$${l}; \
|
|
|
|
ln -sf $${l} \
|
|
|
|
$${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \
|