treewide: fix incorrect *_BUILD_DEPENDS

Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer
2018-01-07 23:21:07 +01:00
parent bb089121b3
commit 00fce347a5
65 changed files with 13 additions and 100 deletions
-6
View File
@@ -215,12 +215,6 @@ PKG_CONFIG_DEPENDS:= \
$(patsubst %,CONFIG_FFMPEG_CUSTOM_PARSER_%,$(FFMPEG_CUSTOM_PARSERS)) \
$(patsubst %,CONFIG_FFMPEG_CUSTOM_PROTOCOL_%,$(FFMPEG_CUSTOM_PROTOCOLS))
PKG_BUILD_DEPENDS:= \
PACKAGE_shine:shine \
PACKAGE_libx264:libx264 \
PACKAGE_lame-lib:lame-lib \
PACKAGE_libopus:libopus
include $(INCLUDE_DIR)/package.mk
define Package/ffmpeg/Default