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
This commit is contained in:
parent
63678d6478
commit
d2816f8759
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493850
@ -2,8 +2,9 @@
|
||||
|
||||
PORTNAME= Bento4
|
||||
PORTVERSION= 1.5.1
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSIONSUFFIX=-624
|
||||
DISTVERSIONSUFFIX=-628
|
||||
CATEGORIES= multimedia devel
|
||||
|
||||
MAINTAINER= mmokhi@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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user