Updated packaging scripts for dbgsym packages
This commit is contained in:
@@ -8,6 +8,7 @@ Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
Section: utils
|
||||
|
||||
@@ -8,6 +8,7 @@ Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
Section: utils
|
||||
|
||||
@@ -8,6 +8,7 @@ Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
Section: utils
|
||||
|
||||
@@ -3,7 +3,7 @@ Upstream-Name: clang-uml
|
||||
Source: https://github.com/bkryza/clang-uml
|
||||
|
||||
Files: *
|
||||
Copyright: 2021-2022 Bartek Kryza <bkryza@gmail.com>
|
||||
Copyright: 2021-2023 Bartek Kryza <bkryza@gmail.com>
|
||||
License: apache
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -7,8 +7,14 @@ export CLANGUML_GIT_BRANCH={{GIT_BRANCH}}
|
||||
export CLANGUML_GIT_COMMIT={{GIT_COMMIT}}
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr -DGIT_VERSION={{VERSION}}
|
||||
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-stringop-overflow" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DGIT_VERSION={{VERSION}} \
|
||||
-DBUILD_TESTS=OFF
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbgsym-migration='clang-uml-dbg (<<0.3.0-1~)'
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
Reference in New Issue
Block a user