Skip to content

Commit

Permalink
kicad-library: Use /usr/bin/cmake.exe in package_footprints
Browse files Browse the repository at this point in the history
Also, add 'mingw32' and 'clang32' to mingw_arch.
  • Loading branch information
stahta01 committed Oct 26, 2023
1 parent 68a382d commit f871907
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mingw-w64-kicad-library/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}-footprints"
"${MINGW_PACKAGE_PREFIX}-${_realname}-packages3D"
"${MINGW_PACKAGE_PREFIX}-${_realname}-meta")
pkgver=7.0.8
pkgrel=1
pkgrel=2
pkgdesc="Support libraries for KiCad (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64') # 'mingw32' 'clang32')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'mingw32' 'clang32')
url='https://www.kicad.org/'
license=("spdx:GPL-3.0-or-later")
groups=("${MINGW_PACKAGE_PREFIX}-eda")
depends=()
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
'cmake'
"${MINGW_PACKAGE_PREFIX}-ninja")
options=('!strip')
source=("https://gitlab.com/kicad/libraries/kicad-footprints/-/archive/${pkgver}/kicad-footprints-${pkgver}.tar.bz2"
Expand Down Expand Up @@ -61,7 +62,8 @@ package_footprints() {

cd "${srcdir}/build-footprints-${MSYSTEM}"

DESTDIR="${pkgdir}" "${MINGW_PREFIX}"/bin/cmake.exe --install .
# MINGW32 and CLANG32 errors out using "${MINGW_PREFIX}"/bin/cmake.exe
DESTDIR="${pkgdir}" /usr/bin/cmake.exe --install .
}

package_symbols() {
Expand Down

0 comments on commit f871907

Please sign in to comment.