Manual tweak misc/edfbrowser
[dports.git] / misc / astc-encoder / Makefile
1 PORTNAME=       astc-encoder
2 DISTVERSION=    4.5.0
3 CATEGORIES=     misc
4
5 MAINTAINER=     yuri@FreeBSD.org
6 COMMENT=        Texture compressor for Adaptive Scalable Texture Compression format
7 WWW=            https://github.com/ARM-software/astc-encoder
8
9 LICENSE=        APACHE20
10 LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
11
12 BROKEN_riscv64= ld: error: lto.tmp: cannot link object files with different floating-point ABI
13
14 USES=           cmake:testing compiler:c++14-lang python:test
15
16 USE_GITHUB=     yes
17 GH_ACCOUNT=     ARM-software
18 GH_TUPLE=       google:googletest:e2239ee:googletest/Source/GoogleTest
19
20 CMAKE_ARGS=     -DPython_EXECUTABLE=${PYTHON_CMD} # only for tests
21 CMAKE_OFF=      ASTCENC_UNITTEST
22 CMAKE_TESTING_ON=       ASTCENC_UNITTEST
23
24 LDFLAGS+=       -pthread
25
26 PLIST_FILES=    bin/astcenc-native
27
28 .include <bsd.port.mk>