tvheadend: add dependency on gettext (host)
authorMarius Dinu <m95d+git@psihoexpert.ro>
Fri, 16 Jun 2023 12:59:44 +0000 (15:59 +0300)
committerRosen Penev <rosenp@gmail.com>
Thu, 22 Jun 2023 18:35:11 +0000 (21:35 +0300)
Gettext is a prerequisite to build OpenWrt according to:
https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
but github automated tests fail without this explicit dependency:

2023-06-19T08:02:45.1940511Z   checking for py module gzip ...                   ok
2023-06-19T08:02:45.1968662Z   checking for /builder/staging_dir/host/bin/pkg-config ...ok
2023-06-19T08:02:45.1998491Z ERROR: no gettext binaries found
2023-06-19T08:02:45.1999746Z   checking for xgettext ...                         fail
2023-06-19T08:02:45.2008403Z make[2]: *** [Makefile:263: /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/tvheadend-2023-06-05/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
multimedia/tvheadend/Makefile

index 8032c41d4eb6454f4c82f6b5ddc3d66c7215c2fb..f33b666624215f73f7c1aa9b5db76a91ecbacdcc 100644 (file)
@@ -16,6 +16,7 @@ PKG_LICENSE_FILES:=LICENSE.md
 PKG_BUILD_PARALLEL:=1
 PKG_FIXUP:=autoreconf
 PKG_BUILD_FLAGS:=no-mips16
+PKG_BUILD_DEPENDS:=gettext-full/host
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk