graphics/vapoursynth-waifu2x-w2xc: update to r8
Changes: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc/compare/r6...r8
This commit is contained in:
parent
1151760f65
commit
093d39d48b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520271
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= waifu2x-w2xc
|
||||
DISTVERSION= r6
|
||||
PORTREVISION= 5
|
||||
DISTVERSION= r8
|
||||
CATEGORIES= graphics
|
||||
PKGNAMEPREFIX= vapoursynth-
|
||||
|
||||
@ -19,15 +18,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= HomeOfVapourSynthEvolution
|
||||
GH_PROJECT= VapourSynth-Waifu2x-w2xc
|
||||
|
||||
USES= compiler:c++11-lib gmake localbase pkgconfig
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --install="${STAGEDIR}${DATADIR}" \
|
||||
--cxx="${CXX}" \
|
||||
--extra-cxxflags="${CPPFLAGS} ${CXXFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
--extra-libs="${LIBS}"
|
||||
MAKEFILE= GNUmakefile
|
||||
MAKE_ARGS= STRIP="${STRIP_CMD}"
|
||||
USES= compiler:c++14-lang localbase:ldflags meson pkgconfig
|
||||
DATADIR= ${PREFIX}/lib/vapoursynth
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
||||
PORTDATA= lib${PORTNAME}.so models
|
||||
@ -36,14 +27,10 @@ PORTDOCS= *.md
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/\*linux\*/*/' \
|
||||
-e 's/-O3 //; /=.*-mfpmath/d; /-msse/d' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} '/STRIP/s/-x //' ${WRKSRC}/${MAKEFILE}
|
||||
# FreeBSD i386 defaults to -march=i686 (i486 with Clang < 9)
|
||||
@${REINPLACE_CMD} '/-msse2/d' ${WRKSRC}/meson.build
|
||||
|
||||
post-install:
|
||||
(cd ${WRKSRC}/Waifu2x-w2xc && ${COPYTREE_SHARE} \
|
||||
"${PORTDATA:N*.so}" ${STAGEDIR}${DATADIR})
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
|
||||
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r6_GH0.tar.gz) = ae3ecf72aca8169977cc4427242df618967fa231b93a7e7c23557266d7544b76
|
||||
SIZE (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r6_GH0.tar.gz) = 28921662
|
||||
TIMESTAMP = 1560765788
|
||||
SHA256 (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r8_GH0.tar.gz) = 9dad7048962ce521a7722d73b4bb97a50df879958edd537129a83db4e264976f
|
||||
SIZE (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r8_GH0.tar.gz) = 24200190
|
||||
|
Loading…
Reference in New Issue
Block a user