aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-26 11:41:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-26 11:41:54 +0000
commit5b611b5b6fa64ffad666ddeb6e88decc2913d276 (patch)
tree05ee6533c1ba09f4bc43212ef753ad8493e7871b /multimedia
parentc98adfc849ed49482422d6aff4a4718d36a53863 (diff)
multimedia/vapoursynth: unbreak on non-x86
Notes
Notes: svn path=/head/; revision=524171
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffms2/Makefile6
-rw-r--r--multimedia/vapoursynth-l-smash-works/Makefile6
-rw-r--r--multimedia/vapoursynth/Makefile6
-rw-r--r--multimedia/vapoursynth/distinfo4
4 files changed, 7 insertions, 15 deletions
diff --git a/multimedia/ffms2/Makefile b/multimedia/ffms2/Makefile
index 6b5c4d29efa1..be78467208aa 100644
--- a/multimedia/ffms2/Makefile
+++ b/multimedia/ffms2/Makefile
@@ -11,24 +11,18 @@ COMMENT= FFmpeg-based source library and VapourSynth plugin
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
-.endif
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
USE_GITHUB= yes
GH_ACCOUNT= FFMS
USES= compiler:c++11-lib gmake libtool pathfix pkgconfig
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
-.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags`
-.endif
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth
diff --git a/multimedia/vapoursynth-l-smash-works/Makefile b/multimedia/vapoursynth-l-smash-works/Makefile
index 0b35b3a2533d..0e8171ea1b90 100644
--- a/multimedia/vapoursynth-l-smash-works/Makefile
+++ b/multimedia/vapoursynth-l-smash-works/Makefile
@@ -12,9 +12,7 @@ COMMENT= L-SMASH source plugin for VapourSynth
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
-.endif
BUILD_DEPENDS+= ffmpeg>=3.2,1:multimedia/ffmpeg
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
liblsmash.so:multimedia/l-smash
@@ -24,10 +22,8 @@ GH_ACCOUNT= VFR-maniac
GH_PROJECT= L-SMASH-Works
USES= gmake pkgconfig shebangfix
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
-.endif
WRKSRC_SUBDIR= VapourSynth
SHEBANG_FILES= configure
bash_CMD= ${SH}
@@ -40,9 +36,7 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \
--extra-libs="${LIBS}"
MAKEFILE= GNUmakefile
MAKE_ARGS= STRIP="${STRIP_CMD}"
-.if ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386
CPPFLAGS+= `pkg-config vapoursynth --cflags`
-.endif
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile
index 5334d5cdd1d7..65f3056c9bc5 100644
--- a/multimedia/vapoursynth/Makefile
+++ b/multimedia/vapoursynth/Makefile
@@ -4,14 +4,14 @@ PORTNAME= vapoursynth
DISTVERSION= R48
CATEGORIES= multimedia
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= a9b657d8b014.patch:-p1 4d4f8cbf272c.patch:-p1
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Video processing framework with simplicity in mind
LICENSE= LGPL21+
-ONLY_FOR_ARCHS= amd64 i386
-ONLY_FOR_ARCHS_REASON= https://github.com/vapoursynth/vapoursynth/issues/509
-
USE_GITHUB= yes
USES= autoreconf gmake libtool localbase pathfix pkgconfig
diff --git a/multimedia/vapoursynth/distinfo b/multimedia/vapoursynth/distinfo
index 939c2a45eae8..d83340773c7f 100644
--- a/multimedia/vapoursynth/distinfo
+++ b/multimedia/vapoursynth/distinfo
@@ -1,3 +1,7 @@
TIMESTAMP = 1571984167
SHA256 (vapoursynth-vapoursynth-R48_GH0.tar.gz) = 3e98d134e16af894cf7040e4383e4ef753cafede34d5d77c42a2bb89790c50a8
SIZE (vapoursynth-vapoursynth-R48_GH0.tar.gz) = 611523
+SHA256 (a9b657d8b014.patch) = 95e5f2ec7b3c2d4c252721ee986f4c91fe7ab12a35c3de6ce13dede6543cb9c1
+SIZE (a9b657d8b014.patch) = 2712
+SHA256 (4d4f8cbf272c.patch) = b217e1d5d0278b65a1169d386a34d7882db05652585723194496de081281381e
+SIZE (4d4f8cbf272c.patch) = 654