svn commit: r493850 - head/multimedia/Bento4
Mahdi Mokhtari
mmokhi at FreeBSD.org
Mon Feb 25 11:27:53 UTC 2019
Author: mmokhi
Date: Mon Feb 25 11:27:51 2019
New Revision: 493850
URL: https://svnweb.freebsd.org/changeset/ports/493850
Log:
multimedia/Bento4: Add missing utilities to the installed tools
Install the missing utilities (mp4dash, mp4dashclone, and mp4hls)
in an appropriate path.
Reported by: filis
Sponsored by: The FreeBSD Foundation
Modified:
head/multimedia/Bento4/Makefile
head/multimedia/Bento4/distinfo
head/multimedia/Bento4/pkg-plist
Modified: head/multimedia/Bento4/Makefile
==============================================================================
--- head/multimedia/Bento4/Makefile Mon Feb 25 10:39:22 2019 (r493849)
+++ head/multimedia/Bento4/Makefile Mon Feb 25 11:27:51 2019 (r493850)
@@ -2,8 +2,9 @@
PORTNAME= Bento4
PORTVERSION= 1.5.1
+PORTREVISION= 1
DISTVERSIONPREFIX=v
-DISTVERSIONSUFFIX=-624
+DISTVERSIONSUFFIX=-628
CATEGORIES= multimedia devel
MAINTAINER= mmokhi at FreeBSD.org
@@ -13,7 +14,10 @@ LICENSE= GPLv2
BROKEN_aarch64= fails to compile: Ap4AesBlockCipher.cpp:93:4: AP4_PLATFORM_BYTE_ORDER is not set
-USES= cmake:noninja
+RUN_DEPENDS= bash:shells/bash
+USES= cmake:noninja python shebangfix
+SHEBANG_GLOB= *.sh *.py
+SHEBANG_FILES= Source/Python/*/*
USE_GITHUB= yes
GH_ACCOUNT= axiomatic-systems
@@ -21,6 +25,10 @@ GH_ACCOUNT= axiomatic-systems
CMAKE_BUILD_TYPE= Release
INSTALL_TARGET= do-install
+post-patch:
+ @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Source/Python/wrappers/*
+ @${REINPLACE_CMD} -e 's|$$BASEDIR/..|${DATADIR}|g' ${WRKSRC}/Source/Python/wrappers/*
+
do-install:
. for prog in aac2mp4 mp42aac mp42hls mp42ts mp4compact mp4dcfpackager \
mp4decrypt mp4diff mp4dump mp4edit mp4encrypt mp4extract mp4fragment \
@@ -28,5 +36,10 @@ do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin
. endfor
${INSTALL_DATA} ${INSTALL_WRKSRC}/libap4.a ${STAGEDIR}${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${DATADIR}/utils
+ cd ${WRKSRC}/Source/Python/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils
+. for prog in mp4dash mp4dashclone mp4hls
+ ${INSTALL_SCRIPT} ${WRKSRC}/Source/Python/wrappers/${prog} ${STAGEDIR}${PREFIX}/bin
+. endfor
.include <bsd.port.mk>
Modified: head/multimedia/Bento4/distinfo
==============================================================================
--- head/multimedia/Bento4/distinfo Mon Feb 25 10:39:22 2019 (r493849)
+++ head/multimedia/Bento4/distinfo Mon Feb 25 11:27:51 2019 (r493850)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540999326
-SHA256 (axiomatic-systems-Bento4-v1.5.1-624_GH0.tar.gz) = eda725298e77df83e51793508a3a2640eabdfda1abc8aa841eca69983de83a4c
-SIZE (axiomatic-systems-Bento4-v1.5.1-624_GH0.tar.gz) = 4447043
+TIMESTAMP = 1550581644
+SHA256 (axiomatic-systems-Bento4-v1.5.1-628_GH0.tar.gz) = e6fce0b1015698ff2f4f99e81c516ec042b351de052c885da7f82aebda56b65a
+SIZE (axiomatic-systems-Bento4-v1.5.1-628_GH0.tar.gz) = 4412385
Modified: head/multimedia/Bento4/pkg-plist
==============================================================================
--- head/multimedia/Bento4/pkg-plist Mon Feb 25 10:39:22 2019 (r493849)
+++ head/multimedia/Bento4/pkg-plist Mon Feb 25 11:27:51 2019 (r493850)
@@ -3,6 +3,8 @@ bin/mp42aac
bin/mp42hls
bin/mp42ts
bin/mp4compact
+bin/mp4dash
+bin/mp4dashclone
bin/mp4dcfpackager
bin/mp4decrypt
bin/mp4diff
@@ -11,9 +13,21 @@ bin/mp4edit
bin/mp4encrypt
bin/mp4extract
bin/mp4fragment
+bin/mp4hls
bin/mp4iframeindex
bin/mp4info
bin/mp4mux
bin/mp4split
bin/mp4tag
lib/libap4.a
+%%DATADIR%%/utils/aes.py
+%%DATADIR%%/utils/check-indexes.py
+%%DATADIR%%/utils/mp4-dash-clone.py
+%%DATADIR%%/utils/mp4-dash-encode.py
+%%DATADIR%%/utils/mp4-dash.py
+%%DATADIR%%/utils/mp4-hls.py
+%%DATADIR%%/utils/mp4utils.py
+%%DATADIR%%/utils/pr-derive-key.py
+%%DATADIR%%/utils/skm.py
+%%DATADIR%%/utils/subtitles.py
+%%DATADIR%%/utils/wv-request.py
More information about the svn-ports-head
mailing list