mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
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
This commit is contained in:
parent
e1d1c63cd0
commit
cd04fc6782
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412881
@ -394,6 +394,7 @@
|
||||
SUBDIR += v4l_compat
|
||||
SUBDIR += vamps
|
||||
SUBDIR += vapoursynth
|
||||
SUBDIR += vapoursynth-l-smash-works
|
||||
SUBDIR += vcdgear
|
||||
SUBDIR += vcdimager
|
||||
SUBDIR += vcdpad
|
||||
|
56
multimedia/vapoursynth-l-smash-works/Makefile
Normal file
56
multimedia/vapoursynth-l-smash-works/Makefile
Normal file
@ -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>
|
2
multimedia/vapoursynth-l-smash-works/distinfo
Normal file
2
multimedia/vapoursynth-l-smash-works/distinfo
Normal file
@ -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
|
3
multimedia/vapoursynth-l-smash-works/pkg-descr
Normal file
3
multimedia/vapoursynth-l-smash-works/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
L-SMASH source plugin for VapourSynth.
|
||||
|
||||
WWW: https://github.com/VFR-maniac/L-SMASH-Works/tree/master/VapourSynth
|
Loading…
Reference in New Issue
Block a user