Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for debug symbol packages, Qt.
This would be better as two patches, but I'm not sure if it's worth the overhead to separate them. Note that I added a Recommends: for libpsmoveapiqt3. I'm not sure if that is ideal, but I didn't want to make a separate -dev package just for libpsmoveapiqt3, and Requires: was a bit limiting.
- Loading branch information
Klee Dienes
committed
Sep 26, 2013
1 parent
8fbf90b
commit 7a3b737
Showing
3 changed files
with
72 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/*/lib*apiqt.so.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
.PHONY: override_dh_auto_configure override_dh_strip override_dh_installdocs | ||
|
||
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) | ||
DEB_CMAKE_EXTRA_FLAGS += -DPSMOVE_USE_DEBUG:BOOL=YES | ||
endif | ||
|
||
DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo | ||
DEB_CMAKE_EXTRA_FLAGS += -DPSMOVE_BUILD_QT_BINDINGS:BOOL=YES | ||
|
||
DH_FLAGS = --parallel --buildsystem=cmake | ||
|
||
%: | ||
dh $@ | ||
dh $@ $(DH_FLAGS) | ||
|
||
override_dh_auto_configure: | ||
dh_auto_configure $(DH_FLAGS) -- $(DEB_CMAKE_EXTRA_FLAGS) .. | ||
|
||
override_dh_strip: | ||
dh_strip -plibpsmoveapi3 --dbg-package=libpsmoveapi3-dbg | ||
dh_strip -plibpsmoveapi-tracker3 --dbg-package=libpsmoveapi-tracker3-dbg | ||
dh_strip -plibpsmoveapiqt3 --dbg-package=libpsmoveapiqt3-dbg | ||
|
||
override_dh_installdocs: | ||
dh_installdocs --link-doc=libpsmoveapi3 |