From: Bernd Kuhls Date: Sun, 21 Feb 2016 10:51:26 +0000 (+0100) Subject: package/dvdauthor: add optional support for libfribidi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be0dbb51ffe9c0beba31b9865aec4c078f98a18d;p=buildroot.git package/dvdauthor: add optional support for libfribidi When libfribidi was compiled before, dvdauthor will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/spumux | grep NEEDED | sort 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.1] 0x0000000000000001 (NEEDED) Shared library: [libexpat.so.1] 0x0000000000000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x0000000000000001 (NEEDED) Shared library: [libfreetype.so.6] 0x0000000000000001 (NEEDED) Shared library: [libfribidi.so.0] [...] The build system offers no option to en-/disable libfribidi support: https://github.com/ldo/dvdauthor/blob/master/configure.ac#L83 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/dvdauthor/dvdauthor.mk b/package/dvdauthor/dvdauthor.mk index be006f10e1..6b90c43c3e 100644 --- a/package/dvdauthor/dvdauthor.mk +++ b/package/dvdauthor/dvdauthor.mk @@ -34,6 +34,10 @@ ifeq ($(BR2_PACKAGE_FONTCONFIG),y) DVDAUTHOR_DEPENDENCIES += fontconfig endif +ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) +DVDAUTHOR_DEPENDENCIES += libfribidi +endif + ifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y) DVDAUTHOR_DEPENDENCIES += libdvdread DVDAUTHOR_CONF_OPTS += --enable-dvdunauthor