1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/multimedia/kvazaar/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

54 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= kvazaar
DISTVERSIONPREFIX= v
DISTVERSION?= 1.1.0
PORTREVISION?= 2
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= H.265/HEVC encoder implemented in C
LICENSE= LGPL21+
USE_GITHUB= yes
GH_ACCOUNT= ultravideo
GH_TUPLE= silentbicycle:greatest:v1.0.0:greatest/greatest
CONFLICTS_INSTALL?= ${PORTNAME}-devel
USES= autoreconf compiler:c11 libtool pathfix
GNU_CONFIGURE= yes
TEST_TARGET= check
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= ASM CRYPTOPP
OPTIONS_DEFAULT=ASM
ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}}
ASM_BUILD_DEPENDS_amd64=yasm:devel/yasm
ASM_BUILD_DEPENDS_i386= yasm:devel/yasm
ASM_CONFIGURE_ENABLE= asm
CRYPTOPP_DESC= Selective encryption via Crypto++ library
CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp
CRYPTOPP_USES= localbase
CRYPTOPP_CONFIGURE_ENV= cryptopp_CFLAGS=" " cryptopp_LIBS="-lcryptopp"
CRYPTOPP_CONFIGURE_WITH=cryptopp
post-patch:
@${REINPLACE_CMD} 's/x86_64/&|amd64/' ${WRKSRC}/configure.ac
post-patch-CRYPTOPP-on:
# XXX Force C++ linking to avoid error with Clang
@${ECHO_CMD} nodist_EXTRA_kvazaar_tests_SOURCES \
= dummy.cpp >>${WRKSRC}/tests/Makefile.am
pre-install: do-test
.include <bsd.port.mk>
# XXX beefy5 (fails) vs. beefy4 (succeeds). Missed CPUID check?
do-test: .IGNORE