mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
sci-electronics/kicad: Fix QA WhitespaceFound
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -90,7 +90,7 @@ src_prepare() {
|
||||
done
|
||||
# cmakelists does not respect our build dir variables, so make it point to the right location
|
||||
sed "s|\${CMAKE_BINARY_DIR}|${WORKDIR}/${P}_build|g" -i ${PN}-i18n/CMakeLists.txt || die "sed failed"
|
||||
# we also make from the master project so the source dir is understood incorretly, replace that too
|
||||
# we also make from the master project so the source dir is understood incorretly, replace that too
|
||||
sed "s|\${CMAKE_SOURCE_DIR}/\${LANG}|\${CMAKE_SOURCE_DIR}/${PN}-i18n/\${LANG}|g" -i ${PN}-i18n/CMakeLists.txt || die "sed failed"
|
||||
# add the translations directory to cmake as a subproject to build
|
||||
sed "/add_subdirectory( bitmaps_png )/a add_subdirectory( ${PN}-i18n )" -i CMakeLists.txt || die "sed failed"
|
||||
@@ -103,7 +103,7 @@ src_prepare() {
|
||||
# install demos into the examples folder too
|
||||
sed -e 's:${KICAD_DATA}/demos:${KICAD_DOCS}/examples:' -i CMakeLists.txt || die "sed failed"
|
||||
else
|
||||
# remove additional demos/examples as its not strictly required to run the binaries
|
||||
# remove additional demos/examples as its not strictly required to run the binaries
|
||||
sed -e '/add_subdirectory( demos )/d' -i CMakeLists.txt || die "sed failed"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user