[mythtv] rpm build of master fails after ffmpeg refactor
Peter Bennett
pb.mythtv at gmail.com
Wed May 9 20:41:03 UTC 2018
On 05/09/2018 12:47 PM, John Pilkington wrote:
> I just realised (after a comment by Paul H) that commits to master
> hadn't stopped but are not coming through on the mailing list, so this
> is a bit late.
>
> I'm using a specfile based on one from rpmfusion. Last success was on
> 25 April. Now I see
>
> + ./configure --qmake=/usr/bin/qmake-qt5 --prefix=/usr
> --libdir=/usr/lib64 --libdir-name=lib64 --mandir=/usr/share/man
> --enable-libmp3lame --enable-libtheora --enable-libvorbis
> --enable-libx264 --enable-libxvid ' '
> Unknown option "--enable-libtheora".
>
> All those 'enables' come from a section of the specfile with this
> preamble:
>
> %build
>
> # First, we build MythTV
> pushd mythtv
>
> # Similar to 'percent' configure, but without {_target_platform} and
> # {_exec_prefix} etc... MythTV no longer accepts the parameters that the
> # configure macro passes, so we do this manually.
> ./configure \
> --qmake=%{_bindir}/qmake-qt5 \
> --prefix=%{_prefix} \
> --libdir=%{_libdir} \
> --libdir-name=%{_lib} \
> --mandir=%{_mandir} \
> <snip>
> --enable-bdjava \
> --enable-libmp3lame \
> --enable-libtheora --enable-libvorbis \
> --enable-libx264 \
> --enable-libx265 \
> --enable-libxvid \
> --enable-libvpx \
>
> and I suspect that the others would fail too. I tried
> --enable-libmyththeora, but no joy.
>
> This is pretty early in the build process and I have no doubt that
> fixing it will simply reveal the need for lots more changes; but
> perhaps someone will be able to suggest an approach?
>
> And do I need to disable plugins?
>
> John P
>
>
Hi John
Some of those options are not needed or useful for MythTV. They are
FFmpeg options that used to work since the configure was previously a
copy of FFmpeg configure with extensive changes. To see the valid MythTV
options you can run "./configure --help".
What is needed to remove the unnecessary options from rpmfusion? I am
not familiar with that so I have no understanding of the process. I can
if necessary add the ability for options that are unused by MythTV to be
passed through to the FFmpeg build, if that is useful.
Peter
More information about the mythtv-dev
mailing list