Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 16:45:07 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520271 - head/graphics/vapoursynth-waifu2x-w2xc
Message-ID:  <201912161645.xBGGj7p1024500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec 16 16:45:06 2019
New Revision: 520271
URL: https://svnweb.freebsd.org/changeset/ports/520271

Log:
  graphics/vapoursynth-waifu2x-w2xc: update to r8
  
  Changes:	https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc/compare/r6...r8

Modified:
  head/graphics/vapoursynth-waifu2x-w2xc/Makefile   (contents, props changed)
  head/graphics/vapoursynth-waifu2x-w2xc/distinfo   (contents, props changed)

Modified: head/graphics/vapoursynth-waifu2x-w2xc/Makefile
==============================================================================
--- head/graphics/vapoursynth-waifu2x-w2xc/Makefile	Mon Dec 16 16:44:57 2019	(r520270)
+++ head/graphics/vapoursynth-waifu2x-w2xc/Makefile	Mon Dec 16 16:45:06 2019	(r520271)
@@ -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})
 

Modified: head/graphics/vapoursynth-waifu2x-w2xc/distinfo
==============================================================================
--- head/graphics/vapoursynth-waifu2x-w2xc/distinfo	Mon Dec 16 16:44:57 2019	(r520270)
+++ head/graphics/vapoursynth-waifu2x-w2xc/distinfo	Mon Dec 16 16:45:06 2019	(r520271)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912161645.xBGGj7p1024500>