diff options
author | Daniel Bermond | 2023-06-21 21:27:28 -0300 |
---|---|---|
committer | Daniel Bermond | 2023-06-21 21:27:28 -0300 |
commit | b21513658b0e592eb0c6b4cbf716dab462617346 (patch) | |
tree | 9559159508cf08931e09fe9146943663e73f56b4 | |
parent | ead88815cea1c994589db59130f2819b9d4f3ff7 (diff) | |
download | aur-b21513658b0e592eb0c6b4cbf716dab462617346.tar.gz |
Update cmake commands
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 6 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = astc-encoder-git pkgdesc = A tool for compressing and decompressing images using the ASTC texture compression standard (git version) - pkgver = 4.4.0.r3.gc9217e1 + pkgver = 4.5.0.r0.g770ef22 pkgrel = 1 url = https://github.com/ARM-software/astc-encoder/ arch = x86_64 @@ -2,7 +2,7 @@ # Contributor: Dario Ostuni <another.code.996@gmail.com> pkgname=astc-encoder-git -pkgver=4.4.0.r3.gc9217e1 +pkgver=4.5.0.r0.g770ef22 pkgrel=1 pkgdesc='A tool for compressing and decompressing images using the ASTC texture compression standard (git version)' arch=('x86_64') @@ -32,11 +32,10 @@ build() { -G 'Unix Makefiles' \ -DCMAKE_BUILD_TYPE:STRING='None' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ - -DSHAREDLIB:BOOL='ON' \ - -DISA_AVX2:BOOL='ON' \ - -DISA_SSE41:BOOL='ON' \ - -DISA_SSE2:BOOL='ON' \ - -DUNITTEST:BOOL='ON' \ + -DASTCENC_SHAREDLIB:BOOL='ON' \ + -DASTCENC_ISA_AVX2:BOOL='ON' \ + -DASTCENC_ISA_SSE41:BOOL='ON' \ + -DASTCENC_ISA_SSE2:BOOL='ON' \ -Wno-dev cmake --build build } @@ -50,5 +49,4 @@ package() { install -D -m644 astc-encoder/Source/astcenc.h -t "${pkgdir}/usr/include" ln -s astcenc-sse2 "${pkgdir}/usr/bin/astcenc" ln -s libastcenc-sse2-shared.so "${pkgdir}/usr/lib/libastcenc.so" - rm "${pkgdir}/usr/bin"/test-unit* } |