1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-01 02:52:01 +03:00

[stardict] add stardict depends libs

This commit is contained in:
Xiangfu Liu 2009-12-29 01:00:25 +08:00
parent ee6df384e7
commit 943ea874b8
7 changed files with 387 additions and 4 deletions

56
gnome-mime-data/Makefile Normal file
View File

@ -0,0 +1,56 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gnome-mime-data
PKG_VERSION:=2.4.3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.acc.umu.se/pub/gnome/sources/gnome-mime-data/2.4/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/gnome-mime-data
TITLE:=gnome-mime-data
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libintl
URL:=
endef
define Package/gnome-mime-data/description
endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
define Build/Configure
$(call Build/Configure/Default,)
endef
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
endef
define Package/gnome-mime-data/install
$(INSTALL_DIR) \
$(1)/usr/lib
endef
$(eval $(call BuildPackage,gnome-mime-data))

58
libbonobo/Makefile Normal file
View File

@ -0,0 +1,58 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libbonobo
PKG_VERSION:=2.24.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.24/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libbonobo
TITLE:=libbonobo
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libintl +libpopt
URL:=
endef
define Package/libbonobo/description
endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
endef
define Package/libbonobo/install
$(INSTALL_DIR) \
$(1)/usr/lib \
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libbonobo*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,libbonobo))

62
libbonoboui/Makefile Normal file
View File

@ -0,0 +1,62 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libbonoboui
PKG_VERSION:=2.24.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.24/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libbonoboui
TITLE:=libbonoboui
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpopt +libgnomecanvas +libbonobo +libgnome +bonobo-activation
URL:=
endef
define Package/libbonoboui/description
endef
TARGET_CFLAGS+=
define Build/Configure
$(call Build/Configure/Default,)
endef
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib \
$(1)/usr/lib/libbonoboui
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libbonoboui \
$(1)/usr/lib/
endef
define Package/libbonoboui/install
$(INSTALL_DIR) \
$(1)/usr/lib \
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libbonoboui*so.* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,libbonoboui))

58
libgnome-vfs/Makefile Normal file
View File

@ -0,0 +1,58 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gnome-vfs
PKG_VERSION:=2.24.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/gnome-vfs
TITLE:=gnome-vfs
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libintl +libpopt +gnome-mime-data
URL:=
endef
define Package/gnome-vfs/description
endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
endef
define Package/gnome-vfs/install
$(INSTALL_DIR) \
$(1)/usr/lib \
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/gnome-vfs*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,gnome-vfs))

70
libgnome/Makefile Normal file
View File

@ -0,0 +1,70 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libgnome
PKG_VERSION:=2.28.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.28/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libgnome
TITLE:=libgnome
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libbonobo +libgnome-vfs
URL:=
endef
define Package/libgnome/description
endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include \
-I$(STAGING_DIR)/usr/lib/gnome-vfs-2.0/include
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libintl/lib \
-L$(STAGING_DIR)/usr/lib/gnome-vfs-2.0/modules
CONFIGURE_ARGS += --disable-esd
define Build/Configure
$(call Build/Configure/Default,)
endef
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib \
$(1)/usr/lib/libgnome
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libgnome \
$(1)/usr/lib/
endef
define Package/libgnome/install
$(INSTALL_DIR) \
$(1)/usr/lib \
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libgnome*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,libgnome))

61
libgnomeui/Makefile Normal file
View File

@ -0,0 +1,61 @@
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libgnomeui
PKG_VERSION:=2.0.6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.0/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libgnomeui
TITLE:=libgnomeui
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+gconf2 +libgnome +libgnomecanvas +libbonoboui
URL:=
endef
define Package/libgnomeui/description
endef
TARGET_CFLAGS+=
define Build/Configure
$(call Build/Configure/Default,)
endef
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib \
$(1)/usr/lib/pklibgnomeuionfig
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pklibgnomeuionfig \
$(1)/usr/lib/
endef
define Package/libgnomeui/install
$(INSTALL_DIR) \
$(1)/usr/lib \
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libgnomeui*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,libgnomeui))

View File

@ -24,7 +24,7 @@ define Package/stardict
TITLE:=stardict
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libintl +libiconv
DEPENDS:=+libintl +libiconv +libgnomeui
URL:=
endef
@ -32,9 +32,27 @@ define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software.
endef
CONFIGURE_ARGS += --disable-spell --disable-gucharmap \
--disable-festival \
--disable-espeak
CONFIGURE_ARGS += \
--disable-dependency-tracking \
--disable-libtool-lock \
--disable-spell \
--disable-gucharmap \
--disable-festival \
--disable-espeak \
--disable-dictdotcn \
--disable-advertisement \
--disable-man \
--disable-qqwry \
--disable-updateinfo \
--disable-htmlparse \
--disable-xdxfparse \
--disable-wordnet \
--disable-powerwordparse \
--disable-wikiparse \
--disable-schemas-install \
--disable-deprecations
# --disable-gnome-support
define Package/stardict/install
$(INSTALL_DIR) $(1)/usr/bin