be0dbb51ff
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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# dvdauthor
|
|
#
|
|
################################################################################
|
|
|
|
DVDAUTHOR_VERSION = 0.7.1
|
|
DVDAUTHOR_SITE = http://sourceforge.net/projects/dvdauthor/files/dvdauthor/$(DVDAUTHOR_VERSION)
|
|
DVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng
|
|
DVDAUTHOR_LICENSE = GPLv2+
|
|
DVDAUTHOR_LICENSE_FILES = COPYING
|
|
DVDAUTHOR_CONF_ENV = \
|
|
ac_cv_prog_FREETYPECONFIG=$(STAGING_DIR)/usr/bin/freetype-config \
|
|
ac_cv_path_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config \
|
|
ac_cv_prog_GMAGICKCONFIG=
|
|
|
|
# configure.ac patched by 0001-configure.ac-fix-static-build.patch
|
|
DVDAUTHOR_AUTORECONF = YES
|
|
# add host-gettext for AM_ICONV macro
|
|
DVDAUTHOR_DEPENDENCIES += host-gettext
|
|
|
|
ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
|
|
DVDAUTHOR_DEPENDENCIES += imagemagick
|
|
DVDAUTHOR_CONF_ENV += \
|
|
ac_cv_prog_MAGICKCONFIG=$(STAGING_DIR)/usr/bin/Magick-config
|
|
else
|
|
DVDAUTHOR_CONF_ENV += \
|
|
ac_cv_prog_MAGICKCONFIG=
|
|
endif
|
|
|
|
# Automatically detected by dvdauthor configure script, no way to
|
|
# disable.
|
|
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
|
|
else
|
|
DVDAUTHOR_CONF_OPTS += --disable-dvdunauthor
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|