From 4829183d2b2102410ffde20c041dfd4aafcc1739 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 24 Jan 2012 01:05:34 +0800 Subject: [PATCH] bard: mkae DejaVuSans as default font. (after update flite) it works fine now --- bard/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bard/Makefile b/bard/Makefile index c5cf769..8681592 100644 --- a/bard/Makefile +++ b/bard/Makefile @@ -23,7 +23,7 @@ define Package/bard CATEGORY:=Multimedia TITLE:=bard URL:=http://festvox.org/bard/ - DEPENDS:=+flite +libsdl +libsdl-ttf @BROKEN + DEPENDS:=+flite +libsdl +libsdl-ttf +dejavu-fonts-ttf-DejaVuSans endef define Package/bard/description @@ -31,9 +31,11 @@ Bard Storyteller is a text reader. Bard not only allows a user to read books, but can also read books to a user using text-to-speech. endef -CONFIGURE_ARGS += FLITEDIR=$(STAGING_DIR)/usr +CONFIGURE_ARGS += FLITEDIR=$(STAGING_DIR)/usr \ + DEFAULTFONT=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL +TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib define Package/bard/install $(INSTALL_DIR) $(1)/usr/bin/