build efl-tools (edje_cc, edje_dece, edje_recc, eet, embryo_cc - needed among others...
authorMirko Vogt <mirko@openwrt.org>
Mon, 4 May 2009 13:13:38 +0000 (13:13 +0000)
committerMirko Vogt <mirko@openwrt.org>
Mon, 4 May 2009 13:13:38 +0000 (13:13 +0000)
SVN-Revision: 15585

efl/ecore/Makefile
efl/edje/Makefile
efl/eet/Makefile
efl/embryo/Makefile
efl/enlightenment/Makefile
efl/evas/Makefile

index 6e65d53cc67f8a32768fc5ddead60429d771e42c..63b08bb5d503d9fb14536ab97cfaf5a672273cf4 100644 (file)
@@ -20,8 +20,11 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
+HOST_BUILD_DEPENDS:=eina/host evas/host
+
 PKG_FIXUP = libtool
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ecore
@@ -30,7 +33,7 @@ define Package/ecore
   SUBMENU:=libraries
   TITLE:=Ecore is the core event abstraction layer and X abstraction layer
   URL:=http://wiki.enlightenment.org/index.php/Ecore
-  DEPENDS:=+eet +evas +libiconv @!LINUX_2_4
+  DEPENDS:=+eina +evas +libiconv @!LINUX_2_4
 endef
 
 define Package/ecore/description
@@ -64,6 +67,54 @@ define Build/Configure
                --disable-ecore-evas-quartz \
                --enable-ecore-evas-buffer \
                --enable-ecore-file \
+               --enable-inotify \
+               --disable-poll \
+               --enable-ecore-imf \
+               --enable-ecore-imf_evas \
+               --disable-doc \
+               --disable-simple-x11 \
+               --disable-ecore-x-xcb \
+               --disable-ecore-evas-opengl-x11 \
+               --disable-ecore-evas-software-16-x11 \
+               --disable-ecore-evas-software-xcb \
+               --disable-ecore-evas-xrender-xcb \
+               --disable-ecore-win32 \
+               --disable-ecore-evas-software-ddraw \
+               --disable-ecore-evas-direct3d \
+               --disable-ecore-evas-opengl-glew \
+               --disable-ecore-evas-software-16-ddraw \
+               --disable-ecore-wince \
+               --disable-ecore-evas-software-16-wince \
+               --disable-ecore-directfb \
+               --disable-ecore-fb \
+               --disable-ecore-sdl \
+               --disable-ecore-quartz \
+       )
+endef
+
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --without-x \
+               --with-iconv-link \
+               --disable-gnutls \
+               --disable-openssl \
+               --disable-curl \
+               --disable-abstract-sockets \
+               --enable-ecore-job \
+               --enable-ecore-con \
+               --enable-ecore-ipc \
+               --disable-ecore-config \
+               --enable-ecore-txt \
+               --enable-ecore-evas \
+               --disable-ecore-x \
+               --disable-ecore-evas-xrender-x11 \
+               --disable-ecore-evas-dfb \
+               --disable-ecore-evas-fb \
+               --disable-ecore-evas-sdl \
+               --disable-ecore-evas-quartz \
+               --enable-ecore-evas-buffer \
+               --enable-ecore-file \
                --disable-inotify \
                --disable-poll \
                --enable-ecore-imf \
@@ -106,4 +157,5 @@ define Package/ecore/install
        $(FIND) $(1)/ -name "*.a" | $(XARGS) rm
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,ecore))
index 97653fc4f18459b81b3fe7481f94863d58df9b1c..30e6eb7ecf7d0215a601227657a290391a8fdd49 100644 (file)
@@ -20,8 +20,11 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
+HOST_BUILD_DEPENDS:=evas/host ecore/host eet/host embryo/host
+
 PKG_FIXUP = libtool
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/edje
@@ -30,7 +33,7 @@ define Package/edje
   SUBMENU:=libraries
   TITLE:=Edje is a graphical design and layout library
   URL:=http://wiki.enlightenment.org/index.php/Edje
-  DEPENDS:=+evas +ecore +embryo
+  DEPENDS:=+evas +ecore +eet +embryo
 endef
 
 define Package/edje/description
@@ -45,6 +48,14 @@ define Build/Configure
        )
 endef
 
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --enable-edje-cc \
+               --disable-doc \
+       )
+endef
+
 define Build/Compile
        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
 endef
@@ -60,4 +71,5 @@ define Package/edje/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,edje))
index ec6203fe7b804d2edd9dfb7cca86f1609ba54834..0b1d22d41de5e2eab9d938c8b3007c9d16f1d15e 100644 (file)
@@ -22,6 +22,9 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
 PKG_FIXUP = libtool
 
+HOST_BUILD_DEPENDS:=libjpeg/host eina/host
+
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/eet
@@ -52,6 +55,21 @@ define Build/Configure
        )
 endef
 
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --disable-old-eet-file-format \
+               --disable-gnutls \
+               --disable-openssl \
+               --disable-cipher \
+               --disable-signature \
+               --disable-doc \
+               --disable-assert \
+               --disable-tests \
+               --disable-coverage \
+       )
+endef
+
 define Build/Compile
        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
 endef
@@ -69,4 +87,5 @@ define Package/eet/install
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,eet))
index fc1816363959aa12da31ed134998ded6c8ca20b4..99fb4e3f7b14f2f43360cc1c56b8a9d3e0ef6227 100644 (file)
@@ -22,6 +22,7 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
 PKG_FIXUP = libtool
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/embryo
@@ -43,6 +44,13 @@ define Build/Configure
        )
 endef
 
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --disable-doc \
+       )
+endef
+
 define Build/Compile
        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
 endef
@@ -59,4 +67,5 @@ define Package/embryo/install
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/embryo_cc $(1)/usr/bin/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,embryo))
index cb64dddedb18835274f2748402f2f1f4605e3c6e..e29845e403dba6b979f0021bd1b404c0583c007d 100644 (file)
@@ -20,6 +20,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/e
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
+PKG_BUILD_DEPENDS:=edje/host
+
 PKG_FIXUP = libtool
 
 include $(INCLUDE_DIR)/package.mk
index 9d7e8b5d56d44cf111973deca84530c265dc884b..cdcc50a310fff3322cf895c1baa34ad09aa451d8 100644 (file)
@@ -20,8 +20,11 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME)
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
+HOST_BUILD_DEPENDS:=jpeg/host libpng/host libfreetype/host eet/host
+
 PKG_FIXUP = libtool
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/evas
@@ -30,13 +33,15 @@ define Package/evas
   SUBMENU:=libraries
   TITLE:=Evas is a hardware-accelerated canvas API for X-Windows
   URL:=http://wiki.enlightenment.org/index.php/Evas
-  DEPENDS:=+libXext +libfreetype +libX11 +fontconfig +eet +libfreetype +libjpeg +libpng +libXrender +libpthread
+  DEPENDS:=+libXext +libfreetype +libX11 +fontconfig +eet +libjpeg +libpng +libXrender +libpthread
 endef
 
 define Package/evas/description
   Evas is a hardware-accelerated canvas API for X-Windows that can draw anti-aliased text, smooth super and sub-sampled images, alpha-blend, as well as drop down to using normal X11 primitives such as pixmaps, lines and rectangles for speed if your CPU or graphics hardware are too slow.
 endef
 
+# for weird reasons libevas.so seems to not being linked against libX11
+
 define Build/Configure
        ( cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
        $(call Build/Configure/Default, \
@@ -52,7 +57,7 @@ define Build/Configure
                --disable-image-loader-svg \
                --disable-image-loader-tiff \
                --enable-image-loader-xpm \
-               --enable-evas-magic-debug \
+               --disable-evas-magic-debug \
                --enable-convert-8-rgb-332 \
                --enable-convert-8-rgb-666 \
                --enable-convert-8-rgb-232 \
@@ -118,6 +123,87 @@ define Build/Configure
        )
 endef
 
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --without-x \
+               --disable-fontconfig \
+               --disable-image-loader-edb \
+               --enable-image-loader-eet \
+               --disable-font-loader-eet \
+               --enable-image-loader-gif \
+               --enable-image-loader-jpeg \
+               --disable-image-loader-pmaps \
+               --enable-image-loader-png \
+               --disable-image-loader-svg \
+               --disable-image-loader-tiff \
+               --enable-image-loader-xpm \
+               --disable-evas-magic-debug \
+               --disable-convert-8-rgb-332 \
+               --disable-convert-8-rgb-666 \
+               --disable-convert-8-rgb-232 \
+               --disable-convert-8-rgb-222 \
+               --disable-convert-8-rgb-221 \
+               --disable-convert-8-rgb-121 \
+               --disable-convert-8-rgb-111 \
+               --disable-convert-16-rgb-565 \
+               --disable-convert-16-bgr-565 \
+               --disable-convert-16-rgb-555 \
+               --disable-convert-16-rgb-444 \
+               --disable-convert-16-rgb-ipq \
+               --disable-convert-16-rgb-rot-0 \
+               --disable-convert-16-rgb-rot-180 \
+               --disable-convert-16-rgb-rot-270 \
+               --disable-convert-16-rgb-rot-90 \
+               --disable-convert-24-rgb-888 \
+               --disable-convert-24-bgr-888 \
+               --disable-convert-32-rgb-8888 \
+               --disable-convert-32-rgbx-8888 \
+               --disable-convert-32-bgr-8888 \
+               --disable-convert-32-bgrx-8888 \
+               --disable-convert-32-rgb-rot-0 \
+               --disable-convert-32-rgb-rot-180 \
+               --disable-convert-32-rgb-rot-270 \
+               --disable-convert-32-rgb-rot-90 \
+               --disable-doc \
+               --disable-simple-x11 \
+               --enable-buffer \
+               --disable-software-x11 \
+               --disable-xrender-x11 \
+               --disable-gl-x11 \
+               --disable-glitz-x11 \
+               --disable-cairo-x11 \
+               --disable-software-xcb \
+               --disable-xrender-xcb \
+               --disable-software-ddraw \
+               --disable-direct3d \
+               --disable-quartz \
+               --disable-gl-glew \
+               --disable-software-sdl \
+               --disable-fb \
+               --disable-directfb \
+               --disable-software-qtopia \
+               --disable-software-16-x11 \
+               --disable-software-16-ddraw \
+               --disable-software-16-wince \
+               --disable-sdl-primitive \
+               --disable-pthreads \
+               --disable-async-events \
+               --disable-async-preload \
+               --disable-cpu-mmx \
+               --disable-cpu-sse \
+               --disable-cpu-altivec \
+               --enable-cpu-c \
+               --enable-scale-sample \
+               --enable-scale-smooth \
+               --disable-convert-yuv \
+               --disable-small-dither-mask \
+               --disable-line-dither-mask \
+               --disable-no-dither-mask \
+               --disable-valgrind \
+       )
+endef
+
 define Build/Compile
        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
 endef
@@ -136,4 +222,5 @@ define Package/evas/install
        $(FIND) $(1)/ -name "*.a" | $(XARGS) rm
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,evas))