Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/tvheadend: add various options to disable optional components
Date: Sat, 3 Apr 2021 17:33:39 +0200	[thread overview]
Message-ID: <20210403153339.GB2252@scaer> (raw)
In-Reply-To: <7odmjhxhtj.ln2@ID-313208.user.individual.net>

Bernd, All,

On 2021-04-03 17:21 +0200, Bernd Kuhls spake thusly:
> Am Sat, 03 Apr 2021 14:22:19 +0200 schrieb Yann E. MORIN:
> >> +config BR2_PACKAGE_TVHEADEND_IPTV
> >> +	bool "IPTV support"
> >> +	default y
> >> +	select BR2_PACKAGE_FFMPEG_FFMPEG if BR2_PACKAGE_FFMPEG
> > Here, ffmpeg is not mandatory, but see below...
> 
> Technically yes, the ffmpeg binary is not mandatory.
> 
> But practically it is needed because many lists of legal public streams 
> use /usr/bin/ffmpeg to pipe the stream to tvheadend, like
> https://github.com/jnk22/kodinerds-iptv/tree/master/iptv/pipe
> 
> This patch makes sure that, when ffmpeg is enabled, it also provides
> /usr/bin/ffmpeg, this will avoid problems like this:
> https://github.com/LibreELEC/LibreELEC.tv/pull/3163#issuecomment-446242298
> 
> So I would like to keep the select ...

OK, but then, does it make sense to not have ffmpeg at all. I.e. how
valid is it to have BR2_PACKAGE_TVHEADEND_IPTV without the ffmpeg
package?

I think forcing ffmpeg (the package) *and* ffmpeg (the program) is the
best solution, as I suggested previously.

Regards,
Yann E. MORIN.

> >> +TVHEADEND_DEPENDENCIES += ffmpeg
> > 
> > Here, you are making ffmpeg mandatory, but nothing ensures it is
> > enabled...
> 
> but will remove the dependency, which is obviously wrong here.
> 
> Thanks for noticing.
> 
> Regards, Bernd
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2021-04-03 15:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-03  9:49 [Buildroot] [PATCH 1/1] package/tvheadend: add various options to disable optional components Bernd Kuhls
2021-04-03 12:22 ` Yann E. MORIN
2021-04-03 15:21   ` Bernd Kuhls
2021-04-03 15:33     ` Yann E. MORIN [this message]
2021-04-03 16:02       ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210403153339.GB2252@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox