1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/multimedia/gmmlib/Makefile

41 lines
1.5 KiB
Makefile

PORTNAME= gmmlib
DISTVERSIONPREFIX= intel-${PORTNAME}-
DISTVERSION= 21.2.1
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= f17dd87c7f57.patch:-p1 # https://github.com/intel/gmmlib/pull/67
PATCHFILES+= 7171f6d818fc.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 6fc5091d3329.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 8b172b9ff4ea.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 53c731fbe8be.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 0a8db9639503.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= a512c6b7b1a2.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 6af9ac5b3f49.patch:-p1 # https://github.com/intel/gmmlib/pull/68
PATCHFILES+= 7b4f7fe0fa59.patch:-p1 # https://github.com/intel/gmmlib/pull/68
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Intel Graphics Memory Management Library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported
USES= cmake:testing compiler:c++11-lib
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
CMAKE_OFF+= ${CMAKE_TESTING_ON}
CMAKE_TESTING_ON= RUN_TEST_SUITE # XXX Unbundle googletest
CMAKE_TESTING_TARGET= Run_ULT
CMAKE_ARGS= -DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DGMMLIB_MARCH:STRING="${CPUTYPE}"
post-install:
# Clean up after PATTERN-based install
@${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete
.include <bsd.port.mk>