media-gfx/darktable: squash -Werror in rawspeed

Darktable as a whole only enables -Werror by default while building in a
Git working tree, rawspeed however has a separate option to control this
which is on by default.

Closes: https://bugs.gentoo.org/886265
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2023-02-28 09:56:44 +00:00
parent 59a00a9ded
commit a756e1d067

View File

@@ -25,7 +25,10 @@ else
SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
doc? (
https://docs.darktable.org/usermanual/${DOC_PV}/en/${PN}_user_manual.pdf -> ${PN}-usermanual-${DOC_PV}.en.pdf
l10n_uk? ( https://docs.darktable.org/usermanual/${DOC_PV}/uk/${PN}_user_manual.pdf -> ${PN}-usermanual-${DOC_PV}.uk.pdf )
l10n_uk? (
https://docs.darktable.org/usermanual/${DOC_PV}/uk/${PN}_user_manual.pdf
-> ${PN}-usermanual-${DOC_PV}.uk.pdf
)
)"
KEYWORDS="~amd64 ~arm64 -x86"
@@ -136,6 +139,7 @@ src_configure() {
-DCUSTOM_CFLAGS=ON
-DDONT_USE_INTERNAL_LUA=ON
-DRAWSPEED_ENABLE_LTO=$(usex lto)
-DRAWSPEED_ENABLE_WERROR=OFF
-DTESTBUILD_OPENCL_PROGRAMS=OFF
-DUSE_AVIF=$(usex avif)
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)