diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-11-25 16:45:40 +0100 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-11-25 16:52:31 +0100 |
commit | 817cfca49f97bf22fcaff239cb31760ea70cf8b6 (patch) | |
tree | 6627eb1946aa0eaade01fc37ee2c7e12032763a0 /meta-tizen-common-share | |
parent | db7889917000017b646f236089d65c1001ccaa4d (diff) | |
download | meta-tizen-817cfca49f97bf22fcaff239cb31760ea70cf8b6.tar.gz meta-tizen-817cfca49f97bf22fcaff239cb31760ea70cf8b6.tar.bz2 meta-tizen-817cfca49f97bf22fcaff239cb31760ea70cf8b6.zip |
Add new recipes
Change-Id: I42b619ea2a20527065125db2198c6850625573b5
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Diffstat (limited to 'meta-tizen-common-share')
9 files changed, 379 insertions, 0 deletions
diff --git a/meta-tizen-common-share/recipes-devtools/libICE/libICE-extraconf.inc b/meta-tizen-common-share/recipes-devtools/libICE/libICE-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libICE/libICE-extraconf.inc diff --git a/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc b/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc new file mode 100644 index 00000000..31591eca --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "X11 Inter-Client Exchange Library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" +PV = "1.0.8" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libICE + + +#PROVIDES by libICE-dev +PROVIDES += "libICE-dev" + + +RDEPENDS = "" +#RDEPENDS of libICE-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libICE" + + +DEPENDS = "" +#DEPENDS of libICE +DEPENDS += "xtrans" +DEPENDS += "util-macros" +DEPENDS += "xproto" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libICE.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/libICE --disable-static" + +do_install() { + 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 -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libICE " +PACKAGES += " libICE-dev " + +libICE_files = "" +libICE_files += "${prefix}/lib/libICE.so.6*" +MANIFESTFILES_${PN} = "libICE.manifest" + +libICE-dev_files = "" +libICE-dev_files += "${prefix}/include/X11/*" +libICE-dev_files += "${prefix}/lib/libICE.so" +libICE-dev_files += "${prefix}/lib/pkgconfig/ice.pc" +libICE-dev_files += "${prefix}/share/doc/packages/libICE" +MANIFESTFILES_${PN}-dev = "libICE.manifest" + +FILES_${PN} = "${libICE_files}" +FILES_${PN}-dev = "${libICE-dev_files}" + +PKG_libICE= "libICE" +PKG_libICE-dev= "libICE-dev" + +require libICE-extraconf.inc + diff --git a/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb b/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb new file mode 100644 index 00000000..afcf21a9 --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb @@ -0,0 +1,10 @@ +require libICE.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libICE;tag=754a5288034a779667c0f8216a3b1402a20bff54;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen-common-share/recipes-devtools/libSM/libSM-extraconf.inc b/meta-tizen-common-share/recipes-devtools/libSM/libSM-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libSM/libSM-extraconf.inc diff --git a/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc b/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc new file mode 100644 index 00000000..3cfdac22 --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "X Session Management library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" +PV = "1.2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libSM-dev +PROVIDES += "libSM-dev" + + +#PROVIDES by libSM + + +RDEPENDS = "" +#RDEPENDS of libSM-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libSM" + + +DEPENDS = "" +#DEPENDS of libSM +DEPENDS += "xtrans" +DEPENDS += "xproto" +inherit pkgconfig +DEPENDS += "libICE" +DEPENDS += "util-macros" +DEPENDS += "util-linux" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libSM.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --with-libuuid --docdir=${prefix}/share/doc/packages/libSM --disable-static" + +do_install() { + 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 -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libSM-dev " +PACKAGES += " libSM " + +libSM-dev_files = "" +libSM-dev_files += "${prefix}/include/X11/*" +libSM-dev_files += "${prefix}/lib/libSM.so" +libSM-dev_files += "${prefix}/lib/pkgconfig/sm.pc" +libSM-dev_files += "${prefix}/share/doc/packages/libSM" +MANIFESTFILES_${PN}-dev = "libSM.manifest" + +libSM_files = "" +libSM_files += "${prefix}/lib/libSM.so.6*" +MANIFESTFILES_${PN} = "libSM.manifest" + +FILES_${PN}-dev = "${libSM-dev_files}" +FILES_${PN} = "${libSM_files}" + +PKG_libSM-dev= "libSM-dev" +PKG_libSM= "libSM" + +require libSM-extraconf.inc + diff --git a/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb b/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb new file mode 100644 index 00000000..2321d693 --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb @@ -0,0 +1,10 @@ +require libSM.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libSM;tag=b5df5f309d12616c47edc40c2c6e852ec20f88fb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen-common-share/recipes-devtools/xtrans/xtrans-extraconf.inc b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans-extraconf.inc diff --git a/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc new file mode 100644 index 00000000..39fde8fc --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Library to handle network protocol transport in X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries/X11" +LICENSE = "MIT" +PV = "1.3.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by xtrans + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xtrans +DEPENDS += "util-macros" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xtrans.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/xtrans" + +do_install() { + 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 -- + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + test -L usr/include/X11 && rm usr/include/X11 + exit 0 + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " xtrans " + +xtrans_files = "" +xtrans_files += "${prefix}/share/doc/packages/xtrans/xtrans.xml" +xtrans_files += "${prefix}/include/X11/Xtrans/" +xtrans_files += "${prefix}/share/aclocal/xtrans.m4" +xtrans_files += "${prefix}/share/pkgconfig/xtrans.pc" +MANIFESTFILES_${PN} = "xtrans.manifest" + +FILES_${PN} = "${xtrans_files}" + +PKG_xtrans= "xtrans" + +require xtrans-extraconf.inc + diff --git a/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb new file mode 100644 index 00000000..34412478 --- /dev/null +++ b/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb @@ -0,0 +1,10 @@ +require xtrans.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xtrans;tag=b550c438464ec47ab8013f766f460737a2375676;nobranch=1" + +BBCLASSEXTEND += " native " + |