Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 01:12:26 +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: r412881 - in head/multimedia: . vapoursynth-l-smash-works
Message-ID:  <201604100112.u3A1CQLd086824@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Apr 10 01:12:26 2016
New Revision: 412881
URL: https://svnweb.freebsd.org/changeset/ports/412881

Log:
  multimedia/vapoursynth-l-smash-works: add new port
  
  L-SMASH source plugin for VapourSynth.
  
  https://github.com/VFR-maniac/L-SMASH-Works/tree/master/VapourSynth

Added:
  head/multimedia/vapoursynth-l-smash-works/
  head/multimedia/vapoursynth-l-smash-works/Makefile   (contents, props changed)
  head/multimedia/vapoursynth-l-smash-works/distinfo   (contents, props changed)
  head/multimedia/vapoursynth-l-smash-works/pkg-descr   (contents, props changed)
Modified:
  head/multimedia/Makefile   (contents, props changed)

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Sun Apr 10 01:11:34 2016	(r412880)
+++ head/multimedia/Makefile	Sun Apr 10 01:12:26 2016	(r412881)
@@ -394,6 +394,7 @@
     SUBDIR += v4l_compat
     SUBDIR += vamps
     SUBDIR += vapoursynth
+    SUBDIR += vapoursynth-l-smash-works
     SUBDIR += vcdgear
     SUBDIR += vcdimager
     SUBDIR += vcdpad

Added: head/multimedia/vapoursynth-l-smash-works/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vapoursynth-l-smash-works/Makefile	Sun Apr 10 01:12:26 2016	(r412881)
@@ -0,0 +1,56 @@
+# $FreeBSD$
+
+PORTNAME=	l-smash-works
+DISTVERSION=	0.0-877 # git rev-list --count HEAD
+DISTVERSIONSUFFIX=	-g9828349
+CATEGORIES=	multimedia
+PKGNAMEPREFIX=	vapoursynth-
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	L-SMASH source plugin for VapourSynth
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
+		liblsmash.so:multimedia/l-smash
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	VFR-maniac
+GH_PROJECT=	L-SMASH-Works
+
+USES=		gmake pkgconfig shebangfix
+EXCLUDE=	VSHelper.h VSScript.h VapourSynth.h
+EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+WRKSRC_SUBDIR=	VapourSynth
+SHEBANG_FILES=	configure
+bash_CMD=	${SH}
+HAS_CONFIGURE=	yes
+CONFIGURE_ENV=	LD="${CC}" REV="${PORTVERSION:E}" \
+		HASH="${DISTVERSIONSUFFIX:S/^-g//}"
+CONFIGURE_ARGS=	--prefix="${PREFIX}" \
+		--extra-cflags="${CPPFLAGS} ${CFLAGS}" \
+		--extra-ldflags="${LDFLAGS}" \
+		--extra-libs="${LIBS}"
+MAKEFILE=	GNUmakefile
+MAKE_ARGS=	STRIP="${STRIP_CMD}"
+CPPFLAGS+=	`pkg-config vapoursynth --cflags`
+USE_LDCONFIG=	yes
+DATADIR=	${PREFIX}/lib/vapoursynth
+DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}
+PLIST_FILES=	lib/libvslsmashsource.so.${PORTVERSION:E} \
+		%%DATADIR%%/libvslsmashsource.so
+PORTDOCS=	README
+
+post-patch:
+	@${REINPLACE_CMD} -Ee '/CROSS/!s/^(CC|LD|REV|HASH)=.*/: $${&}/' \
+		-e 's/pushd/cd/; s/popd/cd -/' \
+		-e 's/-Os //; /=.*-fexcess-precision/d' \
+		${WRKSRC}/configure
+
+post-install:
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
+		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Added: head/multimedia/vapoursynth-l-smash-works/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vapoursynth-l-smash-works/distinfo	Sun Apr 10 01:12:26 2016	(r412881)
@@ -0,0 +1,2 @@
+SHA256 (VFR-maniac-L-SMASH-Works-0.0-877-g9828349_GH0.tar.gz) = ba816491d0972bf382c55de7de7fdd9a0c4643837c9dceb1f83b859a0dc1a4a9
+SIZE (VFR-maniac-L-SMASH-Works-0.0-877-g9828349_GH0.tar.gz) = 222345

Added: head/multimedia/vapoursynth-l-smash-works/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vapoursynth-l-smash-works/pkg-descr	Sun Apr 10 01:12:26 2016	(r412881)
@@ -0,0 +1,3 @@
+L-SMASH source plugin for VapourSynth.
+
+WWW: https://github.com/VFR-maniac/L-SMASH-Works/tree/master/VapourSynth



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