git: 5a29e56fee6f - main - multimedia/Bento4: Fix packaging

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 21:51:05 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a29e56fee6ff5e9e599b513b969e44c78d5b12e

commit 5a29e56fee6ff5e9e599b513b969e44c78d5b12e
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-02-13 21:05:44 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-02-13 21:39:30 +0000

    multimedia/Bento4: Fix packaging
    
    Add missing header files required by multimedia/kodi-addon-inputstream.adaptive
    Bump portrevision
    
    PR:             269415
    Reported by:    debdrup
---
 multimedia/Bento4/Makefile  |   5 +-
 multimedia/Bento4/pkg-plist | 145 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 149 insertions(+), 1 deletion(-)

diff --git a/multimedia/Bento4/Makefile b/multimedia/Bento4/Makefile
index 628d33b0e100..d75de31da77f 100644
--- a/multimedia/Bento4/Makefile
+++ b/multimedia/Bento4/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	Bento4
 PORTVERSION=	1.6.0
 DISTVERSIONPREFIX=v
 DISTVERSIONSUFFIX=-639
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia devel
 
 MAINTAINER=	rodrigo@FreeBSD.org
@@ -42,5 +42,8 @@ do-install:
 .	for prog in mp4dash mp4dashclone mp4hls
 	${INSTALL_SCRIPT} ${WRKSRC}/Source/Python/wrappers/${prog} ${STAGEDIR}${PREFIX}/bin
 .	endfor
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/Bento4
+	@${FIND} -s ${WRKSRC} -type f -name "*.h" -type f \
+		-exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/Bento4 ';'
 
 .include <bsd.port.mk>
diff --git a/multimedia/Bento4/pkg-plist b/multimedia/Bento4/pkg-plist
index f77c391c5254..ef0899d2756c 100644
--- a/multimedia/Bento4/pkg-plist
+++ b/multimedia/Bento4/pkg-plist
@@ -20,6 +20,151 @@ bin/mp4mux
 bin/mp4split
 bin/mp4tag
 lib/libap4.a
+include/Bento4/Ap4.h
+include/Bento4/Ap48bdlAtom.h
+include/Bento4/Ap4Ac3Parser.h
+include/Bento4/Ap4Ac4Parser.h
+include/Bento4/Ap4Ac4Utils.h
+include/Bento4/Ap4AdtsParser.h
+include/Bento4/Ap4AesBlockCipher.h
+include/Bento4/Ap4AinfAtom.h
+include/Bento4/Ap4Array.h
+include/Bento4/Ap4Atom.h
+include/Bento4/Ap4AtomFactory.h
+include/Bento4/Ap4AtomSampleTable.h
+include/Bento4/Ap4AtomixAdapters.h
+include/Bento4/Ap4Av1cAtom.h
+include/Bento4/Ap4AvcParser.h
+include/Bento4/Ap4AvccAtom.h
+include/Bento4/Ap4BitStream.h
+include/Bento4/Ap4BlocAtom.h
+include/Bento4/Ap4ByteStream.h
+include/Bento4/Ap4Co64Atom.h
+include/Bento4/Ap4Command.h
+include/Bento4/Ap4CommandFactory.h
+include/Bento4/Ap4CommonEncryption.h
+include/Bento4/Ap4Config.h
+include/Bento4/Ap4Constants.h
+include/Bento4/Ap4ContainerAtom.h
+include/Bento4/Ap4CttsAtom.h
+include/Bento4/Ap4Dac3Atom.h
+include/Bento4/Ap4Dac4Atom.h
+include/Bento4/Ap4DataBuffer.h
+include/Bento4/Ap4Debug.h
+include/Bento4/Ap4Dec3Atom.h
+include/Bento4/Ap4DecoderConfigDescriptor.h
+include/Bento4/Ap4DecoderSpecificInfoDescriptor.h
+include/Bento4/Ap4Descriptor.h
+include/Bento4/Ap4DescriptorFactory.h
+include/Bento4/Ap4DrefAtom.h
+include/Bento4/Ap4DvccAtom.h
+include/Bento4/Ap4DynamicCast.h
+include/Bento4/Ap4Eac3Parser.h
+include/Bento4/Ap4ElstAtom.h
+include/Bento4/Ap4EsDescriptor.h
+include/Bento4/Ap4EsdsAtom.h
+include/Bento4/Ap4Expandable.h
+include/Bento4/Ap4File.h
+include/Bento4/Ap4FileByteStream.h
+include/Bento4/Ap4FileCopier.h
+include/Bento4/Ap4FileWriter.h
+include/Bento4/Ap4FragmentSampleTable.h
+include/Bento4/Ap4FrmaAtom.h
+include/Bento4/Ap4FtypAtom.h
+include/Bento4/Ap4GrpiAtom.h
+include/Bento4/Ap4HdlrAtom.h
+include/Bento4/Ap4HevcParser.h
+include/Bento4/Ap4HintTrackReader.h
+include/Bento4/Ap4Hmac.h
+include/Bento4/Ap4HmhdAtom.h
+include/Bento4/Ap4HvccAtom.h
+include/Bento4/Ap4IkmsAtom.h
+include/Bento4/Ap4Interfaces.h
+include/Bento4/Ap4IodsAtom.h
+include/Bento4/Ap4Ipmp.h
+include/Bento4/Ap4IproAtom.h
+include/Bento4/Ap4IsfmAtom.h
+include/Bento4/Ap4IsltAtom.h
+include/Bento4/Ap4IsmaCryp.h
+include/Bento4/Ap4KeyWrap.h
+include/Bento4/Ap4LinearReader.h
+include/Bento4/Ap4List.h
+include/Bento4/Ap4Marlin.h
+include/Bento4/Ap4MdhdAtom.h
+include/Bento4/Ap4MehdAtom.h
+include/Bento4/Ap4MetaData.h
+include/Bento4/Ap4MfhdAtom.h
+include/Bento4/Ap4MfroAtom.h
+include/Bento4/Ap4MoovAtom.h
+include/Bento4/Ap4Movie.h
+include/Bento4/Ap4MovieFragment.h
+include/Bento4/Ap4Mp4AudioInfo.h
+include/Bento4/Ap4Mpeg2Ts.h
+include/Bento4/Ap4MvhdAtom.h
+include/Bento4/Ap4NalParser.h
+include/Bento4/Ap4NeptuneAdapters.h
+include/Bento4/Ap4NmhdAtom.h
+include/Bento4/Ap4ObjectDescriptor.h
+include/Bento4/Ap4OdafAtom.h
+include/Bento4/Ap4OddaAtom.h
+include/Bento4/Ap4OdheAtom.h
+include/Bento4/Ap4OhdrAtom.h
+include/Bento4/Ap4OmaDcf.h
+include/Bento4/Ap4PdinAtom.h
+include/Bento4/Ap4Piff.h
+include/Bento4/Ap4Processor.h
+include/Bento4/Ap4Protection.h
+include/Bento4/Ap4PsshAtom.h
+include/Bento4/Ap4Results.h
+include/Bento4/Ap4RtpAtom.h
+include/Bento4/Ap4RtpHint.h
+include/Bento4/Ap4SLConfigDescriptor.h
+include/Bento4/Ap4SaioAtom.h
+include/Bento4/Ap4SaizAtom.h
+include/Bento4/Ap4Sample.h
+include/Bento4/Ap4SampleDescription.h
+include/Bento4/Ap4SampleEntry.h
+include/Bento4/Ap4SampleSource.h
+include/Bento4/Ap4SampleTable.h
+include/Bento4/Ap4SbgpAtom.h
+include/Bento4/Ap4SchmAtom.h
+include/Bento4/Ap4SdpAtom.h
+include/Bento4/Ap4SegmentBuilder.h
+include/Bento4/Ap4SencAtom.h
+include/Bento4/Ap4SgpdAtom.h
+include/Bento4/Ap4SidxAtom.h
+include/Bento4/Ap4SmhdAtom.h
+include/Bento4/Ap4StcoAtom.h
+include/Bento4/Ap4SthdAtom.h
+include/Bento4/Ap4StreamCipher.h
+include/Bento4/Ap4String.h
+include/Bento4/Ap4StscAtom.h
+include/Bento4/Ap4StsdAtom.h
+include/Bento4/Ap4StssAtom.h
+include/Bento4/Ap4StszAtom.h
+include/Bento4/Ap4SttsAtom.h
+include/Bento4/Ap4Stz2Atom.h
+include/Bento4/Ap4SyntheticSampleTable.h
+include/Bento4/Ap4TencAtom.h
+include/Bento4/Ap4TfdtAtom.h
+include/Bento4/Ap4TfhdAtom.h
+include/Bento4/Ap4TfraAtom.h
+include/Bento4/Ap4TimsAtom.h
+include/Bento4/Ap4TkhdAtom.h
+include/Bento4/Ap4Track.h
+include/Bento4/Ap4TrakAtom.h
+include/Bento4/Ap4TrefTypeAtom.h
+include/Bento4/Ap4TrexAtom.h
+include/Bento4/Ap4TrunAtom.h
+include/Bento4/Ap4Types.h
+include/Bento4/Ap4UrlAtom.h
+include/Bento4/Ap4Utils.h
+include/Bento4/Ap4UuidAtom.h
+include/Bento4/Ap4Version.h
+include/Bento4/Ap4VmhdAtom.h
+include/Bento4/Ap4VpccAtom.h
+include/Bento4/Bento4C.h
+@dir include/Bento4
 %%DATADIR%%/utils/aes.py
 %%DATADIR%%/utils/check-indexes.py
 %%DATADIR%%/utils/mp4-dash-clone.py