freebsd-ports/graphics/vapoursynth-fmtconv/Makefile
Jan Beich c377a20ad7 graphics/vapoursynth-fmtconv: unbreak on non-x86
In file included from ../../src/fmtc/Bitdepth.cpp:28:
In file included from ./../../src/fmtc/Bitdepth.h:30:
In file included from ./../../src/conc/ObjPool.h:44:
In file included from ./../../src/conc/CellPool.h:31:
./../../src/conc/AtomicInt.h:131:20: error: call to non-static member function without an object argument
                std::atomic <T>::is_lock_free,
                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./../../src/conc/CellPool.h:95:18: note: in instantiation of template class 'conc::AtomicInt<unsigned long>' requested here
                CountCells     _nbr_avail_cells;
                               ^

Obtained from:	upstream
2019-12-19 17:44:47 +00:00

47 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= fmtconv
PORTVERSION= r22
CATEGORIES= graphics
PKGNAMEPREFIX= vapoursynth-
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 3b64292dd274.patch:-p1
PATCHFILES+= 5e0340d35e4d.patch:-p1
PATCHFILES+= c62063bc34c6.patch:-p1
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Format conversion tools for Vapoursynth
LICENSE= WTFPL
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VapourSynth.h:multimedia/vapoursynth
USE_GITHUB= yes
GH_ACCOUNT= EleonoreMizo
USES= autoreconf compiler:c++11-lib gmake libtool pkgconfig
EXCLUDE= VapourSynth.h *.txt
EXTRACT_AFTER_ARGS= ${EXCLUDE:S,^,--exclude ,}
WRKSRC_SUBDIR= build/unix
PATCH_WRKSRC= ${WRKSRC:H:H}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir="${DATADIR}"
CPPFLAGS+= `pkg-config vapoursynth --cflags`
INSTALL_TARGET= install-strip
DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
PORTDATA= lib${PORTNAME}.so
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
${WRKSRC}/configure.ac
post-install:
(cd ${PATCH_WRKSRC}/doc && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>