From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Cc: buildroot@buildroot.org,
"Miquèl Raynal" <miquel.raynal@bootlin.com>,
"Mahyar Koshkouei" <mahyar.koshkouei@gmail.com>,
"Eric Le Bihan" <eric.le.bihan.dev@free.fr>
Subject: Re: [Buildroot] [PATCH] package/mpv: use meson instead of waf
Date: Thu, 26 Dec 2024 16:39:03 +0100 [thread overview]
Message-ID: <20241226163903.19f35469@windsurf> (raw)
In-Reply-To: <20241221-fix_mpv-v1-1-d7ba39606571@bootlin.com>
Hello Thomas,
On Sat, 21 Dec 2024 18:19:21 +0100
Thomas Bonnefille <thomas.bonnefille@bootlin.com> wrote:
> Waf has been entirely removed from mpv since commit f2cce5f [1] in favor
> of meson.
>
> This commit is a rework of mpv makefile to use meson.
>
> Note that the meson package compilation itself supports the
> static/dynamic compilation setting.
>
> Fixes:
> https://autobuild.buildroot.org/results/68d42441fc0da34e1bf2a4247726f5f4ec3b8e77/
>
> [1]: https://github.com/mpv-player/mpv/commit/f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77
This commit log needs to be extended with some details of since when
this starting happening, due to which commit (now that you have found
this information).
> # Some of these options need testing and/or tweaks
> MPV_CONF_OPTS = \
> --prefix=/usr \
--prefix /usr is already passed by meson-package, so keeping it here is
not needed.
> ifeq ($(BR2_REPRODUCIBLE),y)
> -MPV_CONF_OPTS += --disable-build-date
> -endif
> -
> -ifeq ($(BR2_STATIC_LIBS),y)
> -MPV_CONF_OPTS += --disable-libmpv-shared --enable-libmpv-static
> -else
> -MPV_CONF_OPTS += --enable-libmpv-shared --disable-libmpv-static
Did you test a build of mpv with BR2_STATIC_LIBS=y after your change?
> ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> MPV_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic"
> endif
Did you check that this still has the desired effect after the
conversion to meson?
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-12-26 15:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 17:19 [Buildroot] [PATCH] package/mpv: use meson instead of waf Thomas Bonnefille via buildroot
2024-12-22 15:18 ` Thomas Petazzoni via buildroot
2024-12-22 18:25 ` Thomas Bonnefille
2024-12-26 15:01 ` Thomas Petazzoni via buildroot
2024-12-26 20:36 ` Thomas Bonnefille
2024-12-26 20:46 ` Thomas Petazzoni via buildroot
2024-12-26 15:39 ` Thomas Petazzoni via buildroot [this message]
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=20241226163903.19f35469@windsurf \
--to=buildroot@buildroot.org \
--cc=eric.le.bihan.dev@free.fr \
--cc=mahyar.koshkouei@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=thomas.bonnefille@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
/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