[Pkg-sdl-commits] [SCM] Debian packaging of SDL2_image branch, master, updated. upstream/2.0.0_rc1-6-gccbd350

Felix Geyer fgeyer at debian.org
Sun Jun 2 16:10:51 UTC 2013


The following commit has been merged in the master branch:
commit 7eedaae87c15c5807bc7a3d04f8ff6aeff5292c9
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Jun 2 17:32:18 2013 +0200

    Fix lintian warning dev-pkg-without-shlib-symlink.

diff --git a/debian/rules b/debian/rules
index d9a0b77..0e3b0d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 export DEB_CFLAGS_MAINT_APPEND  = -pipe -Wall
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 SHLIBVER = 2.0.0~rc1
 
 # features -- disable building as plugins, otherwise dh_shlibs
@@ -26,6 +28,11 @@ override_dh_install:
 override_dh_installchangelogs:
 	dh_installchangelogs -- CHANGES.txt
 
+override_dh_link:
+	# fix lintian warning dev-pkg-without-shlib-symlink
+	dh_link -plibsdl2-image-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_image-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_image-2.0.so
+	dh_link --remaining-packages
+
 override_dh_strip:
 	dh_strip --dbg-package=libsdl2-image-dbg
 

-- 
Debian packaging of SDL2_image



More information about the pkg-sdl-commits mailing list