diff options
author | gigas002 | 2023-12-27 00:38:22 +0900 |
---|---|---|
committer | gigas002 | 2023-12-27 00:38:22 +0900 |
commit | 41a8453df1d5dc61da96b38dfb550ec210604e4b (patch) | |
tree | bc443eda3d6ff50baa2f53e5755b23da122470de | |
parent | 09694f3eeae5694f96d9ffef045122b1393896c2 (diff) | |
download | aur-41a8453df1d5dc61da96b38dfb550ec210604e4b.tar.gz |
Add ccache dependency to speed up the building time
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = vcmi pkgdesc = Open-source engine for Heroes of Might and Magic III pkgver = 1.4.2 - pkgrel = 1 + pkgrel = 2 url = http://vcmi.eu install = vcmi.install arch = i686 @@ -14,6 +14,7 @@ pkgbase = vcmi makedepends = boost makedepends = cmake makedepends = git + makedepends = ccache depends = boost-libs depends = ffmpeg depends = sdl2_image @@ -4,7 +4,7 @@ pkgname=vcmi pkgver=1.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="Open-source engine for Heroes of Might and Magic III" arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') url="http://vcmi.eu" @@ -12,7 +12,7 @@ license=('GPL2') depends=('boost-libs' 'ffmpeg' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'qt5-base' 'qt5-tools' 'libxkbcommon-x11' 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme' 'tbb' 'fuzzylite' 'luajit') -makedepends=('boost' 'cmake' 'git') +makedepends=('boost' 'cmake' 'git' 'ccache') optdepends=('innoextract: required by vcmibuilder' 'unshield: required by vcmibuilder' 'unzip: required by vcmibuilder') provides=('vcmi') conflicts=('vcmi') @@ -34,7 +34,9 @@ build() { -DENABLE_TEST=OFF \ -DFORCE_BUNDLED_FL=OFF \ -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_POLICY_DEFAULT_CMP0074=NEW + -DCMAKE_POLICY_DEFAULT_CMP0074=NEW \ + -DCMAKE_CXX_COMPILER_LAUNCHER='ccache' \ + -DCMAKE_C_COMPILER_LAUNCHER='ccache' make } |