diff options
| -rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch | 45 | ||||
| -rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb | 1 |
2 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch new file mode 100644 index 0000000000..0548e4fba1 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | From 4fe9f6071cd24bcab157a9398adcca474f619f8d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peter Kjellerstedt <pkj@axis.com> | ||
| 3 | Date: Sat, 15 Oct 2022 02:45:26 +0200 | ||
| 4 | Subject: [PATCH] configure.ac, Makefile.am: Support building without NLS | ||
| 5 | |||
| 6 | Avoid entering the v4l-utils-po and libdvbv5-po directories if NLS | ||
| 7 | support is disabled, as the generated Makefiles in those directories are | ||
| 8 | empty then. | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://patchwork.linuxtv.org/project/linux-media/patch/20221015010541.688322-1-pkj@axis.com/] | ||
| 11 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
| 12 | --- | ||
| 13 | Makefile.am | 6 +++++- | ||
| 14 | configure.ac | 1 + | ||
| 15 | 2 files changed, 6 insertions(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/Makefile.am b/Makefile.am | ||
| 18 | index 7fb443ab..8e924af8 100644 | ||
| 19 | --- a/Makefile.am | ||
| 20 | +++ b/Makefile.am | ||
| 21 | @@ -2,7 +2,11 @@ AUTOMAKE_OPTIONS = foreign | ||
| 22 | ACLOCAL_AMFLAGS = -I m4 | ||
| 23 | AM_MAKEFLAGS = $(word 1, $(subst 1, -w, $(filter 1, $(V))) --no-print-directory) | ||
| 24 | |||
| 25 | -SUBDIRS = v4l-utils-po libdvbv5-po lib | ||
| 26 | +SUBDIRS = lib | ||
| 27 | + | ||
| 28 | +if USE_NLS | ||
| 29 | +SUBDIRS += v4l-utils-po libdvbv5-po | ||
| 30 | +endif | ||
| 31 | |||
| 32 | if WITH_V4LUTILS | ||
| 33 | SUBDIRS += utils contrib | ||
| 34 | diff --git a/configure.ac b/configure.ac | ||
| 35 | index 05298981..7c78467f 100644 | ||
| 36 | --- a/configure.ac | ||
| 37 | +++ b/configure.ac | ||
| 38 | @@ -99,6 +99,7 @@ DX_INIT_DOXYGEN($PACKAGE_NAME, doxygen_libdvbv5.cfg) | ||
| 39 | ALL_LINGUAS="" | ||
| 40 | m4_ifdef(AM_GNU_GETTEXT_REQUIRE_VERSION,[AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])],[AM_GNU_GETTEXT_VERSION([0.19.8])]) | ||
| 41 | AM_GNU_GETTEXT([external]) | ||
| 42 | +AM_CONDITIONAL([USE_NLS], [test "$USE_NLS" = "yes"]) | ||
| 43 | |||
| 44 | LIBDVBV5_DOMAIN="libdvbv5" | ||
| 45 | AC_DEFINE([LIBDVBV5_DOMAIN], "libdvbv5", [libdvbv5 domain]) | ||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb index 2f5ae3586a..5bc63058f6 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb | |||
| @@ -27,6 +27,7 @@ SRC_URI = "\ | |||
| 27 | file://0002-original-patch-mediactl-pkgconfig.patch \ | 27 | file://0002-original-patch-mediactl-pkgconfig.patch \ |
| 28 | file://0003-original-patch-export-mediactl-headers.patch \ | 28 | file://0003-original-patch-export-mediactl-headers.patch \ |
| 29 | file://0004-Do-not-use-getsubopt.patch \ | 29 | file://0004-Do-not-use-getsubopt.patch \ |
| 30 | file://0005-configure.ac-Makefile.am-Support-building-without-NL.patch \ | ||
| 30 | " | 31 | " |
| 31 | 32 | ||
| 32 | SRCREV = "fd544473800d02e90bc289434cc44e5aa8fadd0f" | 33 | SRCREV = "fd544473800d02e90bc289434cc44e5aa8fadd0f" |
