Date: Sun, 10 Apr 2016 01:12:59 +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: r412882 - in head/graphics: . vapoursynth-waifu2x-w2xc Message-ID: <201604100112.u3A1CxVk087001@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Apr 10 01:12:58 2016 New Revision: 412882 URL: https://svnweb.freebsd.org/changeset/ports/412882 Log: graphics/vapoursynth-waifu2x-w2xc: add new port Waifu2x plugin for VapourSynth, based on libw2xc from waifu2x-converter-cpp. https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc Added: head/graphics/vapoursynth-waifu2x-w2xc/ head/graphics/vapoursynth-waifu2x-w2xc/Makefile (contents, props changed) head/graphics/vapoursynth-waifu2x-w2xc/distinfo (contents, props changed) head/graphics/vapoursynth-waifu2x-w2xc/pkg-descr (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Apr 10 01:12:26 2016 (r412881) +++ head/graphics/Makefile Sun Apr 10 01:12:58 2016 (r412882) @@ -1032,6 +1032,7 @@ SUBDIR += uniconvw SUBDIR += unpaper SUBDIR += urt + SUBDIR += vapoursynth-waifu2x-w2xc SUBDIR += variety SUBDIR += vcg SUBDIR += viewnior Added: head/graphics/vapoursynth-waifu2x-w2xc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/vapoursynth-waifu2x-w2xc/Makefile Sun Apr 10 01:12:58 2016 (r412882) @@ -0,0 +1,50 @@ +# $FreeBSD$ + +PORTNAME= waifu2x-w2xc +DISTVERSION= r5 +CATEGORIES= graphics +PKGNAMEPREFIX= vapoursynth- + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Waifu2x (waifu2x-converter-cpp) plugin for VapourSynth + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth +LIB_DEPENDS= libw2xc.so:graphics/waifu2x-converter-cpp + +USE_GITHUB= yes +GH_ACCOUNT= HomeOfVapourSynthEvolution +GH_PROJECT= VapourSynth-Waifu2x-w2xc + +USES= compiler:c++11-lib gmake localbase pkgconfig +HAS_CONFIGURE= yes +CPPFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ + -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 +CONFIGURE_ARGS= --install="${STAGEDIR}${DATADIR}" \ + --cxx="${CXX}" \ + --extra-cxxflags="${CPPFLAGS} ${CXXFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --extra-libs="${LIBS}" +MAKEFILE= GNUmakefile +MAKE_ARGS= STRIP="${STRIP_CMD}" +DATADIR= ${PREFIX}/lib/vapoursynth +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} +PLIST_FILES= %%DATADIR%%/libwaifu2x-w2xc.so +PORTDATA= models +PORTDOCS= *.md + +post-patch: + @${REINPLACE_CMD} -e 's/\*linux\*/*/' \ + -e 's/-O3 //; /=.*-mfpmath/d; /-msse/d' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} '/STRIP/s/-x //' ${WRKSRC}/${MAKEFILE} + +post-install: + (cd ${WRKSRC}/Waifu2x-w2xc && ${COPYTREE_SHARE} \ + "${PORTDATA}" ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) + +.include <bsd.port.mk> Added: head/graphics/vapoursynth-waifu2x-w2xc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/vapoursynth-waifu2x-w2xc/distinfo Sun Apr 10 01:12:58 2016 (r412882) @@ -0,0 +1,2 @@ +SHA256 (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r5_GH0.tar.gz) = 63a0b70904882dfbc12897e090a49262d549846fa0cc8de3ccd9cf2b8d76b264 +SIZE (HomeOfVapourSynthEvolution-VapourSynth-Waifu2x-w2xc-r5_GH0.tar.gz) = 21706733 Added: head/graphics/vapoursynth-waifu2x-w2xc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/vapoursynth-waifu2x-w2xc/pkg-descr Sun Apr 10 01:12:58 2016 (r412882) @@ -0,0 +1,3 @@ +Waifu2x plugin for VapourSynth, based on libw2xc from waifu2x-converter-cpp. + +WWW: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604100112.u3A1CxVk087001>