1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 17:52:27 +02:00

bard: mkae DejaVuSans as default font. (after update flite) it works fine now

This commit is contained in:
Xiangfu Liu 2012-01-24 01:05:34 +08:00
parent 34d6d102bf
commit 4829183d2b

View File

@ -23,7 +23,7 @@ define Package/bard
CATEGORY:=Multimedia CATEGORY:=Multimedia
TITLE:=bard TITLE:=bard
URL:=http://festvox.org/bard/ URL:=http://festvox.org/bard/
DEPENDS:=+flite +libsdl +libsdl-ttf @BROKEN DEPENDS:=+flite +libsdl +libsdl-ttf +dejavu-fonts-ttf-DejaVuSans
endef endef
define Package/bard/description 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. but can also read books to a user using text-to-speech.
endef 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_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/bard/install define Package/bard/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/