graphics/xsane: Cleanup RUN_DEPENDS=BUILD_DEPENDS antipattern

Section 5.10.2 of the Porter's handbook states that setting
RUN_DEPENDS=${BUILD_DEPENDS} directly is an antipattern and gives
guidance on how to avoid it.

PR:	283227
This commit is contained in:
Siva Mahadevan 2025-04-16 20:56:40 +03:00 committed by Vladimir Druzenko
parent 98de9ddd99
commit 32685f33bf

View file

@ -10,12 +10,13 @@ WWW= https://gitlab.com/sane-project/frontend/xsane
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/xsane.COPYING
BUILD_DEPENDS= scanimage:graphics/sane-backends
BR_DEPENDS= scanimage:graphics/sane-backends
BUILD_DEPENDS= ${BR_DEPENDS}
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libfreetype.so:print/freetype2 \
liblcms.so:graphics/lcms
RUN_DEPENDS:= ${BUILD_DEPENDS}
RUN_DEPENDS= ${BR_DEPENDS}
USES= gmake gnome jpeg localbase:ldflags pkgconfig
USE_GITLAB= yes