1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/movit: Update to 1.7.1

- Take maintainership
- Add support for regression tests
- Simplify PORTDOCS install
This commit is contained in:
Jason E. Hale 2024-10-31 18:36:11 -04:00
parent fc8950af90
commit a73e58c372
3 changed files with 20 additions and 63 deletions

View File

@ -1,10 +1,9 @@
PORTNAME= movit
PORTVERSION= 1.6.3
PORTREVISION= 1
PORTVERSION= 1.7.1
CATEGORIES= graphics
MASTER_SITES= http://${PORTNAME}.sesse.net/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= jhale@FreeBSD.org
COMMENT= High-performance video filters for the GPU
WWW= https://movit.sesse.net
@ -13,31 +12,34 @@ LICENSE= GPLv2+
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libfftw3.so:math/fftw3
USES= autoreconf compiler:c++11-lang gmake eigen:3,build,run libtool \
USES= autoreconf compiler:c++14-lang gmake eigen:3 libtool \
pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS TEST
.include <bsd.port.options.mk>
TEST_BUILD_DEPENDS= benchmark>0:devel/benchmark \
${NONEXISTENT}:devel/googletest:patch \
${LOCALBASE}/bin/sdl2-config:devel/sdl20
TEST_MAKE_ENV= GTEST_DIR="`${MAKE} -C ${PORTSDIR}/devel/googletest -VWRKSRC`/googletest"
TEST_ALL_TARGET_OFF= libmovit.la
TEST_TEST_TARGET= check
post-patch:
@${REINPLACE_CMD} -e '/AC_INIT/ s/git/${PORTVERSION}/' \
@${REINPLACE_CMD} -e '/AC_INIT/ s|git|${PORTVERSION}|' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/^all/ s/$$(TESTS)//' \
@${REINPLACE_CMD} -e 's|-lepoxy|@epoxy_LIBS@|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/features\.h/ d' \
${WRKSRC}/demo.cpp
post-install:
.if ${PORT_OPTIONS:MDOCS}
. for f in ${PORTDOCS}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
. endfor
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.*
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1612912411
SHA256 (movit-1.6.3.tar.gz) = eb19f109ec99d6050de5267d059c7b351d3d5e39c77d43ca348a95f474a99498
SIZE (movit-1.6.3.tar.gz) = 605922
TIMESTAMP = 1730350248
SHA256 (movit-1.7.1.tar.gz) = b33073b705f0ccb6ac4942cf51151515407b40bb4e9a2dd0228c1c2cb1fbc11a
SIZE (movit-1.7.1.tar.gz) = 606885

View File

@ -47,50 +47,5 @@ include/movit/ycbcr_input.h
lib/libmovit.a
lib/libmovit.so
lib/libmovit.so.8
lib/libmovit.so.8.0.3
lib/libmovit.so.8.0.5
libdata/pkgconfig/movit.pc
%%DATADIR%%/alpha_division_effect.frag
%%DATADIR%%/alpha_multiplication_effect.frag
%%DATADIR%%/blur_effect.frag
%%DATADIR%%/colorspace_conversion_effect.frag
%%DATADIR%%/complex_modulate_effect.frag
%%DATADIR%%/deconvolution_sharpen_effect.frag
%%DATADIR%%/deinterlace_effect.comp
%%DATADIR%%/deinterlace_effect.frag
%%DATADIR%%/dither_effect.frag
%%DATADIR%%/fft_pass_effect.frag
%%DATADIR%%/flat_input.frag
%%DATADIR%%/footer.comp
%%DATADIR%%/footer.frag
%%DATADIR%%/gamma_compression_effect.frag
%%DATADIR%%/gamma_expansion_effect.frag
%%DATADIR%%/header.130.frag
%%DATADIR%%/header.150.frag
%%DATADIR%%/header.300es.frag
%%DATADIR%%/header.comp
%%DATADIR%%/highlight_cutoff_effect.frag
%%DATADIR%%/identity.frag
%%DATADIR%%/lift_gamma_gain_effect.frag
%%DATADIR%%/luma_mix_effect.frag
%%DATADIR%%/mirror_effect.frag
%%DATADIR%%/mix_effect.frag
%%DATADIR%%/multiply_effect.frag
%%DATADIR%%/overlay_effect.frag
%%DATADIR%%/overlay_matte_effect.frag
%%DATADIR%%/padding_effect.frag
%%DATADIR%%/resample_effect.frag
%%DATADIR%%/sandbox_effect.frag
%%DATADIR%%/saturation_effect.frag
%%DATADIR%%/slice_effect.frag
%%DATADIR%%/texture1d.130.frag
%%DATADIR%%/texture1d.150.frag
%%DATADIR%%/texture1d.300es.frag
%%DATADIR%%/vignette_effect.frag
%%DATADIR%%/vs.130.vert
%%DATADIR%%/vs.150.vert
%%DATADIR%%/vs.300es.vert
%%DATADIR%%/vs.vert
%%DATADIR%%/white_balance_effect.frag
%%DATADIR%%/ycbcr_422interleaved_input.frag
%%DATADIR%%/ycbcr_conversion_effect.frag
%%DATADIR%%/ycbcr_input.frag