svn commit: r412882 - in head/graphics: . vapoursynth-waifu2x-w2xc
Jan Beich
jbeich at FreeBSD.org
Sun Apr 10 01:13:00 UTC 2016
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 at 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
More information about the svn-ports-all
mailing list