1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# dvdauthor 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunDVDAUTHOR_VERSION = 0.7.2 8*4882a593SmuzhiyunDVDAUTHOR_SITE = https://sourceforge.net/projects/dvdauthor/files 9*4882a593SmuzhiyunDVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng 10*4882a593SmuzhiyunDVDAUTHOR_LICENSE = GPL-2.0+ 11*4882a593SmuzhiyunDVDAUTHOR_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunDVDAUTHOR_CONF_ENV = \ 13*4882a593Smuzhiyun ac_cv_prog_FREETYPECONFIG=$(STAGING_DIR)/usr/bin/freetype-config \ 14*4882a593Smuzhiyun ac_cv_path_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config \ 15*4882a593Smuzhiyun ac_cv_prog_GMAGICKCONFIG= 16*4882a593Smuzhiyun 17*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_IMAGEMAGICK),y) 18*4882a593SmuzhiyunDVDAUTHOR_DEPENDENCIES += imagemagick 19*4882a593SmuzhiyunDVDAUTHOR_CONF_ENV += \ 20*4882a593Smuzhiyun ac_cv_prog_MAGICKCONFIG=$(STAGING_DIR)/usr/bin/Magick-config 21*4882a593Smuzhiyunelse 22*4882a593SmuzhiyunDVDAUTHOR_CONF_ENV += \ 23*4882a593Smuzhiyun ac_cv_prog_MAGICKCONFIG= 24*4882a593Smuzhiyunendif 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun# Automatically detected by dvdauthor configure script, no way to 27*4882a593Smuzhiyun# disable. 28*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_FONTCONFIG),y) 29*4882a593SmuzhiyunDVDAUTHOR_DEPENDENCIES += fontconfig 30*4882a593Smuzhiyunendif 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) 33*4882a593SmuzhiyunDVDAUTHOR_DEPENDENCIES += libfribidi 34*4882a593Smuzhiyunendif 35*4882a593Smuzhiyun 36*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y) 37*4882a593SmuzhiyunDVDAUTHOR_DEPENDENCIES += libdvdread 38*4882a593Smuzhiyun# dvdauthor configure does not use pkg-config to detect libdvdread 39*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy) 40*4882a593SmuzhiyunDVDAUTHOR_CONF_ENV += LIBS="-ldvdcss" 41*4882a593Smuzhiyunendif 42*4882a593SmuzhiyunDVDAUTHOR_CONF_OPTS += --enable-dvdunauthor 43*4882a593Smuzhiyunelse 44*4882a593SmuzhiyunDVDAUTHOR_CONF_OPTS += --disable-dvdunauthor 45*4882a593Smuzhiyunendif 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun$(eval $(autotools-package)) 48