summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qt-creator/qt-creator-9999.ebuild')
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index e4e0e8391798..02b286a21404 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -26,7 +26,7 @@ else
[[ ${QTC_PV} == ${PV} ]] && QTC_REL=official || QTC_REL=development
SRC_URI="
https://download.qt.io/${QTC_REL}_releases/qtcreator/$(ver_cut 1-2)/${PV/_/-}/${QTC_P}.tar.xz
- https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
+ https://dev.gentoo.org/~ionen/distfiles/${QTC_P}-vendor.tar.xz
"
S=${WORKDIR}/${QTC_P}
KEYWORDS="~amd64"
@@ -112,7 +112,7 @@ pkg_setup() {
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
- cd "${S}/src/libs/gocmdbridge/server" || die
+ cd -- "${S}"/src/libs/gocmdbridge/server || die
edo go mod vendor
else
default
@@ -126,6 +126,9 @@ src_prepare() {
sed -e "/_IDE_DOC_PATH/s/qtcreator/${PF}/" \
-i cmake/QtCreatorAPIInternal.cmake || die
+ # avoid stripping for Go, use sed to avoid rebases as may be there forever
+ sed -i 's/-s -w //' src/libs/gocmdbridge/server/CMakeLists.txt || die
+
if use plugin-dev; then #928423
# cmake --install --component integrates poorly with the cmake
# eclass and the install targets are otherwise missing, so strip