Bug#952869: synthv1 FTCBFS: hard codes the build architecture strip
Source: synthv1
Version: 0.9.12-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
synthv1 fails to cross build from source, because two of the embedded
qmake project files hard code the build architecture strip instead of
using QMAKE_STRIP. The attached patch fixes that. Please consider
applying it.
In general, I'd recommend against such stripping during a Debian package
build as that tends to also break DEB_BUILD_OPTIONS=nostrip and
generation of -dbgsym packages.
Helmut
--- synthv1-0.9.12.orig/src/src_jack.pro
+++ synthv1-0.9.12/src/src_jack.pro
@@ -79,7 +79,7 @@
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-preset.svg
- CONFIG(release, debug|release):QMAKE_POST_LINK += strip -v $(TARGET)
+ CONFIG(release, debug|release):QMAKE_POST_LINK += $${QMAKE_STRIP} -v $(TARGET)
}
QT += widgets xml
--- synthv1-0.9.12.orig/src/src_lv2.pro
+++ synthv1-0.9.12/src/src_lv2.pro
@@ -66,7 +66,7 @@
$${TARGET_LV2UI}.ttl \
$${NAME}.lv2/manifest.ttl
- CONFIG(release, debug|release)::QMAKE_POST_LINK += strip -v $(TARGET);
+ CONFIG(release, debug|release)::QMAKE_POST_LINK += $${QMAKE_STRIP} -v $(TARGET);
QMAKE_POST_LINK += $${QMAKE_COPY} -vp $(TARGET) $${TARGET_LV2}.so
QMAKE_CLEAN += $${TARGET_LV2}.so
Reply to: