2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2015-01-13 02:55:56 +01:00
|
|
|
#
|
|
|
|
# dvdauthor
|
|
|
|
#
|
2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2015-01-13 02:55:56 +01:00
|
|
|
|
|
|
|
DVDAUTHOR_VERSION = 0.7.1
|
|
|
|
DVDAUTHOR_SITE = http://sourceforge.net/projects/dvdauthor/files/dvdauthor/$(DVDAUTHOR_VERSION)
|
|
|
|
DVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng
|
2017-03-30 15:43:32 +02:00
|
|
|
DVDAUTHOR_LICENSE = GPL-2.0+
|
2015-01-13 02:55:56 +01:00
|
|
|
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=
|
|
|
|
|
2015-02-15 12:10:48 +01:00
|
|
|
# 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
|
|
|
|
|
2015-01-13 02:55:56 +01:00
|
|
|
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
|
|
|
|
|
2016-02-21 11:51:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
|
|
|
|
DVDAUTHOR_DEPENDENCIES += libfribidi
|
|
|
|
endif
|
|
|
|
|
2015-01-13 02:55:56 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y)
|
|
|
|
DVDAUTHOR_DEPENDENCIES += libdvdread
|
2016-06-19 18:20:28 +02:00
|
|
|
# dvdauthor configure does not use pkg-config to detect libdvdread
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy)
|
|
|
|
DVDAUTHOR_CONF_ENV += LIBS="-ldvdcss"
|
|
|
|
endif
|
2015-01-13 02:55:56 +01:00
|
|
|
DVDAUTHOR_CONF_OPTS += --enable-dvdunauthor
|
|
|
|
else
|
|
|
|
DVDAUTHOR_CONF_OPTS += --disable-dvdunauthor
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|