Mesa (master): targets/vdpau: Add uninstall hooks to handle megadriver hardlinks.

Matt Turner mattst88 at kemper.freedesktop.org
Thu Dec 18 02:13:21 UTC 2014


Module: Mesa
Branch: master
Commit: ed1ac1d57473335508e503d786ff1443c56f0bac
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed1ac1d57473335508e503d786ff1443c56f0bac

Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Dec 17 12:40:30 2014 -0800

targets/vdpau: Add uninstall hooks to handle megadriver hardlinks.

---

 src/gallium/targets/vdpau/Makefile.am |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
index 6ac4905..32b3401 100644
--- a/src/gallium/targets/vdpau/Makefile.am
+++ b/src/gallium/targets/vdpau/Makefile.am
@@ -119,3 +119,8 @@ install-data-hook:
 		       $${dest_dir}/$${k};				\
 	done;								\
 	$(RM) -f $${dest_dir}/libvdpau_gallium.*
+
+uninstall-hook:
+	for i in $(TARGET_DRIVERS); do					\
+		$(RM) $(DESTDIR)$(vdpaudir)/libvdpau_$${i}.so{,.$(VDPAU_MAJOR){,.$(VDPAU_MINOR){,.0}}}; \
+	done;




More information about the mesa-commit mailing list