libedje: Add new package
authorWill Newton <will.newton@gmail.com>
Thu, 26 Jan 2012 17:42:42 +0000 (17:42 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 29 Jan 2012 20:31:28 +0000 (21:31 +0100)
[Peter: add upstream URL, remove redundant _INSTALL_TARGET]
Signed-off-by: Will Newton <will.newton@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/efl/Config.in
package/efl/libedje/Config.in [new file with mode: 0644]
package/efl/libedje/libedje.mk [new file with mode: 0644]

index 0e27dab7e5460a2d6bc39314fdca66f40263cc00..7d9c1ffdfb54a9bc9e23519337e98cfc5686fad2 100644 (file)
@@ -13,6 +13,7 @@ source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libembryo/Config.in"
+source "package/efl/libedje/Config.in"
 
 endif # BR2_PACKAGE_EFL
 
diff --git a/package/efl/libedje/Config.in b/package/efl/libedje/Config.in
new file mode 100644 (file)
index 0000000..f0985dd
--- /dev/null
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_LIBEDJE
+       bool "libedje"
+       select BR2_PACKAGE_LIBEINA
+       select BR2_PACKAGE_LIBEET
+       select BR2_PACKAGE_LIBECORE
+       select BR2_PACKAGE_LIBECORE_EVAS
+       select BR2_PACKAGE_LIBEMBRYO
+       select BR2_PACKAGE_LIBEVAS
+       select BR2_PACKAGE_LUA
+       help
+         A graphical layout and animation library for animated
+         resizable, compressed and scalable themes.
+
+         http://trac.enlightenment.org/e/wiki/Edje
+
+config BR2_PACKAGE_LIBEDJE_CC
+       bool "build edje_cc"
+       depends on BR2_PACKAGE_LIBEDJE
+       help
+         Build and install the Edje compiler for the target. Normally this
+         is not required.
diff --git a/package/efl/libedje/libedje.mk b/package/efl/libedje/libedje.mk
new file mode 100644 (file)
index 0000000..5252d6e
--- /dev/null
@@ -0,0 +1,24 @@
+#############################################################
+#
+# libedje
+#
+#############################################################
+
+LIBEDJE_VERSION = 1.1.0
+LIBEDJE_SOURCE = edje-$(LIBEDJE_VERSION).tar.bz2
+LIBEDJE_SITE =  http://download.enlightenment.org/releases/
+LIBEDJE_INSTALL_STAGING = YES
+
+LIBEDJE_DEPENDENCIES = host-pkg-config lua libeina libeet libecore libevas \
+                       libembryo
+
+ifeq ($(BR2_PACKAGE_LIBEDJE_CC),y)
+LIBEDJE_CONF_OPT += --enable-edje-cc
+else
+LIBEDJE_CONF_OPT += --disable-edje-cc
+endif
+
+HOST_LIBEDJE_CONF_OPT = --enable-edje-cc
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))