debian: Fix multiarch location of typelib file, don't strip debug symbols.
Michael Webster
7 years ago
debian/gir1.2-xapp-1.0.install
less
more
0 | |
usr/lib/girepository-1.0/XApp-1.0.typelib
|
|
0 |
DEB_PKG_CONFIG_LIBDIR/girepository-1.0/XApp-1.0.typelib⏎
|
1 | 1 |
|
2 | 2 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
3 | 3 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
4 |
|
|
5 |
DEB_PKG_CONFIG_LIBDIR=$(shell pkg-config gobject-introspection-1.0 --variable libdir | sed -e 's/.//')
|
4 | 6 |
|
5 | 7 |
%:
|
6 | 8 |
dh $@ --parallel --with=autoreconf,gir,gnome,python2
|
|
9 | 11 |
dh_gnome_clean --no-control
|
10 | 12 |
|
11 | 13 |
override_dh_auto_configure:
|
12 | |
dh_auto_configure -- \
|
13 | |
--enable-introspection
|
|
14 |
dh_auto_configure
|
|
15 |
--enable-introspection
|
14 | 16 |
|
15 | |
override_dh_auto_install:
|
16 | |
dh_auto_install -- typelibdir="/usr/lib/girepository-1.0"
|
|
17 |
override_dh_strip:
|
|
18 |
dh_strip --dbg-package=libxapp-dbg
|
17 | 19 |
|
18 | 20 |
override_dh_install:
|
|
21 |
sed 's@DEB_PKG_CONFIG_LIBDIR@${DEB_PKG_CONFIG_LIBDIR}@' debian/gir1.2-xapp-1.0.install.in > debian/gir1.2-xapp-1.0.install
|
19 | 22 |
dh_install --list-missing
|