[Pkg-sdl-commits] [SCM] Debian packaging of SDL2 branch, master, updated. debian/1.3.0_20111204-1-45-g9989127
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sun Jan 20 01:59:07 UTC 2013
The following commit has been merged in the master branch:
commit d4aae1285db6f4ad81334a68a584e906b117c103
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Sat Jan 19 22:30:22 2013 +0000
Add link to shared library to address lintian warning
W: libsdl2-2.0-0: dev-pkg-without-shlib-symlink usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.0.0 usr/lib/x86_64-linux-gnu/libSDL2-2.0.so
diff --git a/debian/rules b/debian/rules
index baded95..81eb4ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
SHLIBVER = 2.0~20130103
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
confflags = --disable-rpath --enable-sdl-dlopen --disable-loadso \
--disable-video-ggi --disable-video-svga --disable-video-aalib \
@@ -60,6 +61,11 @@ override_dh_installexamples:
dh_installexamples -plibsdl2-dev debian/examples.tar.gz
dh_installexamples --remaining-packages
+override_dh_link:
+ # to address lintian warning
+ # W: libsdl2-2.0-0: dev-pkg-without-shlib-symlink usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.0.0 usr/lib/x86_64-linux-gnu/libSDL2-2.0.so
+ dh_link -plibsdl2-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so
+
override_dh_strip:
dh_strip --dbg-package=libsdl2-dbg
--
Debian packaging of SDL2
More information about the pkg-sdl-commits
mailing list