Add package meta 93/21493/3
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 21 May 2014 16:07:49 +0000 (18:07 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 22 May 2014 06:46:52 +0000 (08:46 +0200)
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Change-Id: Iae9225d0813600e18be4fa83b772f08b9d467942

recipes-image/images/tizen-common-core-image-minimal.bb
recipes-tizen/meta/meta-extraconf.inc [new file with mode: 0644]
recipes-tizen/meta/meta.inc [new file with mode: 0644]
recipes-tizen/meta/meta_git.bb [new file with mode: 0644]

index 0e6a8f2..cf50f9b 100644 (file)
@@ -17,4 +17,5 @@ DEPENDS += " tar-replacement-native "
 IMAGE_INSTALL += "connman"
 IMAGE_INSTALL += "weston-common"
 IMAGE_INSTALL += "mesa-driver-i965"
-#IMAGE_INSTALL += "crosswalk"
\ No newline at end of file
+IMAGE_INSTALL += "meta"
+#IMAGE_INSTALL += "crosswalk"
diff --git a/recipes-tizen/meta/meta-extraconf.inc b/recipes-tizen/meta/meta-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/meta/meta.inc b/recipes-tizen/meta/meta.inc
new file mode 100644 (file)
index 0000000..4586016
--- /dev/null
@@ -0,0 +1,89 @@
+DESCRIPTION = "Common Meta Data"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Base/Configuration"
+LICENSE = "GPL-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+BBCLASSEXTEND = ""
+PROVIDES = ""
+
+#PROVIDES by meta-common 
+
+
+RDEPENDS = ""
+
+DEPENDS = ""
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+ make
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+   oe_runmake \
+         DESTDIR=${D} \
+         INSTALL_ROOT=${D} \
+         BINDIR=${prefix}/bin \
+   install  
+   rm -f ${D}${infodir}/dir 
+   find ${D} -regex ".*\.la$" | xargs rm -f -- 
+   find ${D} -regex ".*\.a$" | xargs rm -f --
+}
+
+PACKAGES += " meta-common "
+
+meta-common_files = ""
+meta-common_files += "${prefix}/share/package-groups/common/*.yaml"
+meta-common_files += "${prefix}/share/image-configurations/common/*.yaml"
+meta-common_files += "${prefix}/share/image-configurations/common/configs/*.yaml"
+meta-common_files += "${prefix}/share/image-configurations/common/partitions"
+meta-common_files += "${prefix}/share/image-configurations/common/scripts"
+
+FILES_${PN} = "${meta-common_files}"
+
+PKG_meta-common= "meta-common"
+
+require meta-extraconf.inc
+
diff --git a/recipes-tizen/meta/meta_git.bb b/recipes-tizen/meta/meta_git.bb
new file mode 100644 (file)
index 0000000..c087003
--- /dev/null
@@ -0,0 +1,10 @@
+require meta.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/profile/common/meta;tag=ff5e0c3793c1f59857013a0f4693a6662a30ea9d;nobranch=1"
+
+BBCLASSEXTEND += " native "
+