aboutsummaryrefslogtreecommitdiffstats
path: root/misc/astc-encoder/Makefile
blob: 1c75e4a74d5c934be0129268905222f044d4e02e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	astc-encoder
DISTVERSION=	5.1.0
CATEGORIES=	misc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Texture compressor for Adaptive Scalable Texture Compression format
WWW=		https://github.com/ARM-software/astc-encoder \
		https://developer.arm.com/Gaming%20Graphics%20and%20VR

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BROKEN_riscv64=	ld: error: lto.tmp: cannot link object files with different floating-point ABI

USES=		cmake:testing compiler:c++14-lang python:test

USE_GITHUB=	yes
GH_ACCOUNT=	ARM-software
GH_TUPLE=	google:googletest:e2239ee:googletest/Source/GoogleTest

CMAKE_ARGS=	-DPython_EXECUTABLE=${PYTHON_CMD} # only for tests
CMAKE_OFF=	ASTCENC_UNITTEST
CMAKE_TESTING_ON=	ASTCENC_UNITTEST

LDFLAGS+=	-pthread

PLIST_FILES=	bin/astcenc-native

.include <bsd.port.mk>