There is no reason to do all that just to build a package for mod_av. You can use the source repo and a few make commands off the regular makefiles to build just that module.
> On Jun 12, 2020, at 9:05 PM, Richard Chan <shihping.chan@gmail.com> wrote:
>
> Hello list,
>
> Background: my most desired module for CentOS 7 is mod_av.so
>
> 1. I am announcing a gist-repo, for doing an out-of-repo package for mod_av.so for CentOS 7, based on the official freeswitch-devel.
>
> 2. mod_av.so is not packaged as CentOS 7 does not have ffmpeg. You need to wrangle your own ffmpeg-devel, e.g. from RPMFusion
>
> 3. With ffmpeg-devel installed and this gist repo, you can package mod_av.so without rebuilding the gigantic FreeSWITCH src.rpm.
>
> Essentially, all the libtool (gcc, ld) statements for mod_av.so have been extracted from a full build and put inside this Makefile. The compiler and linker flags are consistent with those from the FreeSWITCH spec file.
>
> 4. IMPORTANT: this gist repo does not distribute source. You must still obtain avcodec.c avformat.c mod_av.c mod_av.h from the tarball or src.rpm.
>
> All comments welcome.
>
> Cheers
> SP
>
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com