diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-07-30 14:49:39 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-07-30 14:49:39 +0200 |
commit | 527d66a9ccd770f63f0403512cb442ea63467c7e (patch) | |
tree | 54b7557e4ca8c5473b1157f913ea799484061f6e /recipes-tizen | |
parent | e9007b1e39424571aeff1caa37e363b1f01aea23 (diff) | |
download | meta-tizen-527d66a9ccd770f63f0403512cb442ea63467c7e.tar.gz meta-tizen-527d66a9ccd770f63f0403512cb442ea63467c7e.tar.bz2 meta-tizen-527d66a9ccd770f63f0403512cb442ea63467c7e.zip |
Add new ivi package
Change-Id: I07e3f6c2a7d0c894bc59cd89280c9a60312ceffe
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Diffstat (limited to 'recipes-tizen')
168 files changed, 3025 insertions, 305 deletions
diff --git a/recipes-tizen/adns/adns-extraconf.inc b/recipes-tizen/adns/adns-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/adns/adns-extraconf.inc diff --git a/recipes-tizen/adns/adns.inc b/recipes-tizen/adns/adns.inc new file mode 100644 index 00000000..1aae7f10 --- /dev/null +++ b/recipes-tizen/adns/adns.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Advanced Easy-to-Use Asynchronous-Capable DNS Utilities" +HOMEPAGE = "http://www.chiark.greenend.org.uk/~ian/adns/" +SECTION = "Productivity/Networking/DNS/Utilities" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libadns +PROVIDES += "libadns" + + +#PROVIDES by adns + + +#PROVIDES by libadns-dev +PROVIDES += "libadns-dev" + + +RDEPENDS = "" +#RDEPENDS of libadns-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libadns" +RDEPENDS_lib${PN}-dev += "eglibc" + + +DEPENDS = "" +#DEPENDS of adns +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/adns.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 ; + + autoreconf -fiv + + autotools_do_configure + make -j16 all + + + +} +EXTRA_OECONF += "" + +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 -- + + + +} + +pkg_postinst_libadns() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libadns() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libadns " +PACKAGES += " adns " +PACKAGES += " libadns-dev " + +libadns_files = "" +libadns_files += "${prefix}/lib/libadns.so.1*" +MANIFESTFILES_lib${PN} = "adns.manifest" + +adns_files = "" +adns_files += "${prefix}/bin/adns*" +MANIFESTFILES_${PN} = "adns.manifest" + +libadns-dev_files = "" +libadns-dev_files += "${prefix}/include/adns.h" +libadns-dev_files += "${prefix}/lib/libadns.so" +MANIFESTFILES_lib${PN}-dev = "adns.manifest" + +FILES_lib${PN} = "${libadns_files}" +FILES_${PN} = "${adns_files}" +FILES_lib${PN}-dev = "${libadns-dev_files}" + +PKG_libadns= "libadns" +PKG_adns= "adns" +PKG_libadns-dev= "libadns-dev" + +require adns-extraconf.inc + diff --git a/recipes-tizen/adns/adns_git.bb b/recipes-tizen/adns/adns_git.bb new file mode 100644 index 00000000..ff05e023 --- /dev/null +++ b/recipes-tizen/adns/adns_git.bb @@ -0,0 +1,10 @@ +require adns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/adns;tag=b17c61b0cea0a7b65f33a8454c0a017b5f95124c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ail/ail.inc b/recipes-tizen/ail/ail.inc index 8b6bc264..2874380e 100644 --- a/recipes-tizen/ail/ail.inc +++ b/recipes-tizen/ail/ail.inc @@ -78,7 +78,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DBUILD_PKGTYPE=rpm \ -DSMACK=Off - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/alarm-manager/alarm-manager.inc b/recipes-tizen/alarm-manager/alarm-manager.inc index 20b66293..b9df3aa9 100644 --- a/recipes-tizen/alarm-manager/alarm-manager.inc +++ b/recipes-tizen/alarm-manager/alarm-manager.inc @@ -83,7 +83,7 @@ do_compile() { dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc b/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc index 1f67bcb3..e246e033 100644 --- a/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc +++ b/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc @@ -56,7 +56,7 @@ do_compile() { cp -f /usr/share/libtool/config/config.sub ${WORKDIR}/alsa-scenario-0.2.1/ autotools_do_configure - make + make -j16 diff --git a/recipes-tizen/app-checker/app-checker.inc b/recipes-tizen/app-checker/app-checker.inc index be19174f..e8483b01 100644 --- a/recipes-tizen/app-checker/app-checker.inc +++ b/recipes-tizen/app-checker/app-checker.inc @@ -82,7 +82,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/app-core/app-core.inc b/recipes-tizen/app-core/app-core.inc index 0a3613f4..56acdb2f 100644 --- a/recipes-tizen/app-core/app-core.inc +++ b/recipes-tizen/app-core/app-core.inc @@ -107,7 +107,7 @@ do_compile() { -Dwith_wayland=TRUE\ -DENABLE_GTK=OFF - make + make -j16 diff --git a/recipes-tizen/app-manager/app-manager.inc b/recipes-tizen/app-manager/app-manager.inc index 916d58ef..b470bc6f 100644 --- a/recipes-tizen/app-manager/app-manager.inc +++ b/recipes-tizen/app-manager/app-manager.inc @@ -73,7 +73,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/app-svc/app-svc.inc b/recipes-tizen/app-svc/app-svc.inc index be5a8c1d..e05bdd71 100644 --- a/recipes-tizen/app-svc/app-svc.inc +++ b/recipes-tizen/app-svc/app-svc.inc @@ -82,7 +82,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -Dwith_wayland=TRUE - make + make -j16 diff --git a/recipes-tizen/appcore-agent/appcore-agent.inc b/recipes-tizen/appcore-agent/appcore-agent.inc index 4beaee1f..23a3b084 100644 --- a/recipes-tizen/appcore-agent/appcore-agent.inc +++ b/recipes-tizen/appcore-agent/appcore-agent.inc @@ -70,7 +70,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/application/application.inc b/recipes-tizen/application/application.inc index c56f4218..8d9cd0cc 100644 --- a/recipes-tizen/application/application.inc +++ b/recipes-tizen/application/application.inc @@ -77,7 +77,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/audio-session-manager/audio-session-manager.inc b/recipes-tizen/audio-session-manager/audio-session-manager.inc index 097ea770..7fb8715a 100644 --- a/recipes-tizen/audio-session-manager/audio-session-manager.inc +++ b/recipes-tizen/audio-session-manager/audio-session-manager.inc @@ -69,7 +69,7 @@ do_compile() { CFLAGS="$CFLAGS -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS autotools_do_configure - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/aul-1/aul-1.inc b/recipes-tizen/aul-1/aul-1.inc index ce1760fb..9f06e57b 100644 --- a/recipes-tizen/aul-1/aul-1.inc +++ b/recipes-tizen/aul-1/aul-1.inc @@ -87,7 +87,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -DWITH_WAYLAND=On \ - make + make -j16 diff --git a/recipes-tizen/automotive-message-broker/automotive-message-broker.inc b/recipes-tizen/automotive-message-broker/automotive-message-broker.inc index ba63f367..02856e95 100644 --- a/recipes-tizen/automotive-message-broker/automotive-message-broker.inc +++ b/recipes-tizen/automotive-message-broker/automotive-message-broker.inc @@ -12,8 +12,8 @@ inherit autotools-brokensep BBCLASSEXTEND = "" PROVIDES = "" -#PROVIDES by automotive-message-broker-plugins-bluetooth -PROVIDES += "automotive-message-broker-plugins-bluetooth" +#PROVIDES by automotive-message-broker-doc +PROVIDES += "automotive-message-broker-doc" #PROVIDES by automotive-message-broker-plugins @@ -24,10 +24,6 @@ PROVIDES += "automotive-message-broker-plugins" PROVIDES += "automotive-message-broker-plugins-common" -#PROVIDES by automotive-message-broker-plugins-qtmainloop -PROVIDES += "automotive-message-broker-plugins-qtmainloop" - - #PROVIDES by automotive-message-broker-plugins-murphy PROVIDES += "automotive-message-broker-plugins-murphy" @@ -36,18 +32,10 @@ PROVIDES += "automotive-message-broker-plugins-murphy" PROVIDES += "automotive-message-broker-plugins-cangen" -#PROVIDES by automotive-message-broker-plugins-opencvlux -PROVIDES += "automotive-message-broker-plugins-opencvlux" - - #PROVIDES by automotive-message-broker-plugins-test PROVIDES += "automotive-message-broker-plugins-test" -#PROVIDES by automotive-message-broker-doc -PROVIDES += "automotive-message-broker-doc" - - #PROVIDES by automotive-message-broker-plugins-wheel PROVIDES += "automotive-message-broker-plugins-wheel" @@ -67,10 +55,6 @@ PROVIDES += "automotive-message-broker-dev" PROVIDES += "automotive-message-broker-plugins-database" -#PROVIDES by automotive-message-broker-plugins-websocket -PROVIDES += "automotive-message-broker-plugins-websocket" - - #PROVIDES by automotive-message-broker-plugins-obd2 PROVIDES += "automotive-message-broker-plugins-obd2" @@ -80,8 +64,8 @@ PROVIDES += "automotive-message-broker-plugins-gpsnmea" RDEPENDS = "" -#RDEPENDS of automotive-message-broker-plugins-bluetooth (${PN}-plugins-bluetooth) -RDEPENDS_${PN}-plugins-bluetooth += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-cangen (${PN}-plugins-cangen) RDEPENDS_${PN}-plugins-cangen += "automotive-message-broker" @@ -89,10 +73,6 @@ RDEPENDS_${PN}-plugins-cangen += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-common (${PN}-plugins-common) RDEPENDS_${PN}-plugins-common += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins-qtmainloop (${PN}-plugins-qtmainloop) -RDEPENDS_${PN}-plugins-qtmainloop += "automotive-message-broker" -RDEPENDS_${PN}-plugins-qtmainloop += "qt5-qtcore" - #RDEPENDS of automotive-message-broker-plugins-murphy (${PN}-plugins-murphy) RDEPENDS_${PN}-plugins-murphy += "murphy" RDEPENDS_${PN}-plugins-murphy += "automotive-message-broker" @@ -100,18 +80,10 @@ RDEPENDS_${PN}-plugins-murphy += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins (${PN}-plugins) RDEPENDS_${PN}-plugins += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins-opencvlux (${PN}-plugins-opencvlux) -RDEPENDS_${PN}-plugins-opencvlux += "opencv" -RDEPENDS_${PN}-plugins-opencvlux += "automotive-message-broker" - #RDEPENDS of automotive-message-broker-plugins-test (${PN}-plugins-test) RDEPENDS_${PN}-plugins-test += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-doc (${PN}-doc) -RDEPENDS_${PN}-doc += "automotive-message-broker" - #RDEPENDS of automotive-message-broker-plugins-wheel (${PN}-plugins-wheel) -RDEPENDS_${PN}-plugins-wheel += "libwebsockets" RDEPENDS_${PN}-plugins-wheel += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-cansim (${PN}-plugins-cansim) @@ -123,55 +95,38 @@ RDEPENDS_${PN}-dev += "boost" RDEPENDS_${PN}-dev += "automotive-message-broker" #RDEPENDS of automotive-message-broker (${PN}) -RDEPENDS_${PN} += "libuuid" RDEPENDS_${PN} += "automotive-message-broker-plugins-murphy" RDEPENDS_${PN} += "automotive-message-broker-plugins" RDEPENDS_${PN} += "eglibc" -RDEPENDS_${PN} += "libjson" RDEPENDS_${PN} += "default-ac-domains" #RDEPENDS of automotive-message-broker-plugins-database (${PN}-plugins-database) RDEPENDS_${PN}-plugins-database += "sqlite" RDEPENDS_${PN}-plugins-database += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins-websocket (${PN}-plugins-websocket) -RDEPENDS_${PN}-plugins-websocket += "libwebsockets" -RDEPENDS_${PN}-plugins-websocket += "automotive-message-broker" -RDEPENDS_${PN}-plugins-websocket += "qt5-qtcore" - #RDEPENDS of automotive-message-broker-plugins-obd2 (${PN}-plugins-obd2) RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker-plugins-common" RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-gpsnmea (${PN}-plugins-gpsnmea) -RDEPENDS_${PN}-plugins-gpsnmea += "libboost_regex" RDEPENDS_${PN}-plugins-gpsnmea += "automotive-message-broker" DEPENDS = "" #DEPENDS of automotive-message-broker -DEPENDS += "qt5-plugin-bearer-connman" DEPENDS_append_class-native = " cmake-native" DEPENDS_append_class-target = " cmake-native" -DEPENDS += "sqlite-dev" -DEPENDS += "qt5-qtnetwork-dev" -DEPENDS += "libwebsockets-dev" -DEPENDS += "qt5-plugin-bearer-generic" -DEPENDS += "libuuid-dev" +DEPENDS += "opencv" +DEPENDS += "json-c" DEPENDS += "dbus" DEPENDS += "murphy" DEPENDS += "glib-2.0" -DEPENDS += "qt5-qtdbus-dev" -DEPENDS += "qt5-qtcore-dev" -DEPENDS += "qt5-qtconcurrent-dev" +DEPENDS += "sqlite3" DEPENDS_append_class-native = " libtool" DEPENDS_append_class-target = " libtool-cross" -DEPENDS += "murphy-glib-dev" -DEPENDS += "libjson-dev" -DEPENDS += "qt5-plugin-bearer-nm" +DEPENDS += "libwebsockets" +DEPENDS += "util-linux" DEPENDS += "boost" -DEPENDS += "murphy-glib" -DEPENDS += "opencv-dev" do_prep() { cd ${S} @@ -205,9 +160,16 @@ do_compile() { -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ - ${EXTRA_OECMAKE} -Dqtmainloop=ON -Ddatabase_plugin=ON -Dopencvlux_plugin=ON -Dmurphy_plugin=ON -Dwebsocket_plugin=ON -Dobd2_plugin=ON -Dtest_plugin=ON -Dgpsnmea_plugin=ON -Dcangen_plugin=ON -Dcansim_plugin=ON -Dbluetooth_plugin=ON + ${EXTRA_OECMAKE} \ + -Ddatabase_plugin=ON \ + -Dmurphy_plugin=ON \ + -Dobd2_plugin=ON \ + -Dtest_plugin=ON \ + -Dgpsnmea_plugin=ON \ + -Dcangen_plugin=ON \ + -Dcansim_plugin=ON - make + oe_runmake -j16 @@ -233,15 +195,14 @@ do_install() { find ${D} -regex ".*\.la$" | xargs rm -f -- find ${D} -regex ".*\.a$" | xargs rm -f -- - mkdir -p ${D}${prefix}/lib/systemd/system/network.target.wants - cp packaging.in/ambd.service.systemd.tizen ${D}${prefix}/lib/systemd/system/ambd.service - ln -s ../ambd.service ${D}${prefix}/lib/systemd/system/network.target.wants/ambd.service + mkdir -p ${D}/lib/systemd/system/network.target.wants + cp packaging.in/ambd.service.systemd.tizen ${D}/lib/systemd/system/ambd.service + ln -s ../ambd.service ${D}/lib/systemd/system/network.target.wants/ambd.service mkdir -p ${D}//lib/systemd/system/multi-user.target.wants ln -s ../ambd.service ${D}//lib/systemd/system/multi-user.target.wants/ambd.service - cp packaging.in/config.tizen ${D}/etc/ambd/ - + cp packaging.in/config.tizen ${D}${sysconfdir}/ambd/ } @@ -271,27 +232,18 @@ pkg_postrm_${PN}() { } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" -PACKAGES += " automotive-message-broker-plugins-bluetooth " PACKAGES += " automotive-message-broker-plugins-cangen " PACKAGES += " automotive-message-broker-plugins-common " -PACKAGES += " automotive-message-broker-plugins-qtmainloop " PACKAGES += " automotive-message-broker-plugins-murphy " PACKAGES += " automotive-message-broker-plugins " -PACKAGES += " automotive-message-broker-plugins-opencvlux " PACKAGES += " automotive-message-broker-plugins-test " -PACKAGES += " automotive-message-broker-plugins-wheel " +PACKAGES += " automotive-message-broker-plugins-gpsnmea " PACKAGES += " automotive-message-broker-plugins-cansim " PACKAGES += " automotive-message-broker-dev " PACKAGES += " automotive-message-broker " PACKAGES += " automotive-message-broker-plugins-database " -PACKAGES += " automotive-message-broker-plugins-websocket " PACKAGES += " automotive-message-broker-plugins-obd2 " -PACKAGES += " automotive-message-broker-plugins-gpsnmea " - -automotive-message-broker-plugins-bluetooth_files = "" -automotive-message-broker-plugins-bluetooth_files += "${prefix}/lib/automotive-message-broker/bluetoothplugin.so" -automotive-message-broker-plugins-bluetooth_files += "/etc/dbus-1/system.d/ambbt.conf" -MANIFESTFILES_${PN}-plugins-bluetooth = "packaging.in/amb.manifest.plugins" +PACKAGES += " automotive-message-broker-plugins-wheel " automotive-message-broker-plugins-cangen_files = "" automotive-message-broker-plugins-cangen_files += "${prefix}/lib/automotive-message-broker/cangenplugin.so" @@ -302,10 +254,6 @@ automotive-message-broker-plugins-common_files = "" automotive-message-broker-plugins-common_files += "${prefix}/lib/libamb-plugins-common.so" MANIFESTFILES_${PN}-plugins-common = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-qtmainloop_files = "" -automotive-message-broker-plugins-qtmainloop_files += "${prefix}/lib/automotive-message-broker/qtmainloopplugin.so" -MANIFESTFILES_${PN}-plugins-qtmainloop = "packaging.in/amb.manifest.plugins" - automotive-message-broker-plugins-murphy_files = "" automotive-message-broker-plugins-murphy_files += "${prefix}/lib/automotive-message-broker/murphysourceplugin.so" MANIFESTFILES_${PN}-plugins-murphy = "packaging.in/amb.manifest.plugins" @@ -315,24 +263,18 @@ automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-bro automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/examplesinkplugin.so" automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/dbussinkplugin.so" automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/demosinkplugin.so" -automotive-message-broker-plugins_files += "/etc/dbus-1/system.d/amb.conf" +automotive-message-broker-plugins_files += "${sysconfdir}/dbus-1/system.d/amb.conf" +CONFFILES_${PN}-plugins = "" +CONFFILES_${PN}-plugins += "${sysconfdir}/dbus-1/system.d/amb.conf" MANIFESTFILES_${PN}-plugins = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-opencvlux_files = "" -automotive-message-broker-plugins-opencvlux_files += "${prefix}/lib/automotive-message-broker/opencvluxplugin.so" -MANIFESTFILES_${PN}-plugins-opencvlux = "packaging.in/amb.manifest.plugins" - automotive-message-broker-plugins-test_files = "" automotive-message-broker-plugins-test_files += "${prefix}/lib/automotive-message-broker/testplugin.so" MANIFESTFILES_${PN}-plugins-test = "packaging.in/amb.manifest.plugins" -automotive-message-broker-doc_files = "" -automotive-message-broker-doc_files += "${prefix}/share/doc/packages/automotive-message-broker/*.txt" -MANIFESTFILES_${PN}-doc = "packaging.in/amb.manifest.plugins" - -automotive-message-broker-plugins-wheel_files = "" -automotive-message-broker-plugins-wheel_files += "${prefix}/lib/automotive-message-broker/wheelsourceplugin.so" -MANIFESTFILES_${PN}-plugins-wheel = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-gpsnmea_files = "" +automotive-message-broker-plugins-gpsnmea_files += "${prefix}/lib/automotive-message-broker/gpsnmea.so" +MANIFESTFILES_${PN}-plugins-gpsnmea = "packaging.in/amb.manifest.plugins" automotive-message-broker-plugins-cansim_files = "" automotive-message-broker-plugins-cansim_files += "${prefix}/lib/automotive-message-broker/cansimplugin.so" @@ -350,9 +292,9 @@ automotive-message-broker_files += "${sysconfdir}/ambd/config.tizen" automotive-message-broker_files += "${sysconfdir}/ambd/examples/*" automotive-message-broker_files += "${prefix}/bin/ambd" automotive-message-broker_files += "${prefix}/lib/libamb.so*" -automotive-message-broker_files += "${prefix}/lib/systemd/system/ambd.service" -automotive-message-broker_files += "${prefix}/lib/systemd/system/network.target.wants/ambd.service" -automotive-message-broker_files += "${prefix}/lib/systemd/system/multi-user.target.wants/ambd.service" +automotive-message-broker_files += "/lib/systemd/system/ambd.service" +automotive-message-broker_files += "/lib/systemd/system/network.target.wants/ambd.service" +automotive-message-broker_files += "/lib/systemd/system/multi-user.target.wants/ambd.service" automotive-message-broker_files += "${prefix}/bin/amb-get" automotive-message-broker_files += "${prefix}/bin/amb-get-history" automotive-message-broker_files += "${prefix}/bin/amb-set" @@ -367,54 +309,45 @@ automotive-message-broker-plugins-database_files = "" automotive-message-broker-plugins-database_files += "${prefix}/lib/automotive-message-broker/databasesinkplugin.so" MANIFESTFILES_${PN}-plugins-database = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-websocket_files = "" -automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsource.so" -automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsink.so" -MANIFESTFILES_${PN}-plugins-websocket = "packaging.in/amb.manifest.plugins" - automotive-message-broker-plugins-obd2_files = "" automotive-message-broker-plugins-obd2_files += "${prefix}/lib/automotive-message-broker/obd2sourceplugin.so" MANIFESTFILES_${PN}-plugins-obd2 = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-gpsnmea_files = "" -automotive-message-broker-plugins-gpsnmea_files += "${prefix}/lib/automotive-message-broker/gpsnmea.so" -MANIFESTFILES_${PN}-plugins-gpsnmea = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-wheel_files = "" +automotive-message-broker-plugins-wheel_files += "${prefix}/lib/automotive-message-broker/wheelsourceplugin.so" +MANIFESTFILES_${PN}-plugins-wheel = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-doc_files = "" +automotive-message-broker-doc_files += "${prefix}/share/doc/packages/automotive-message-broker/*.txt" +MANIFESTFILES_${PN}-doc = "packaging.in/amb.manifest.plugins" -FILES_${PN}-plugins-bluetooth = "${automotive-message-broker-plugins-bluetooth_files}" FILES_${PN}-plugins-cangen = "${automotive-message-broker-plugins-cangen_files}" FILES_${PN}-plugins-common = "${automotive-message-broker-plugins-common_files}" -FILES_${PN}-plugins-qtmainloop = "${automotive-message-broker-plugins-qtmainloop_files}" FILES_${PN}-plugins-murphy = "${automotive-message-broker-plugins-murphy_files}" FILES_${PN}-plugins = "${automotive-message-broker-plugins_files}" -FILES_${PN}-plugins-opencvlux = "${automotive-message-broker-plugins-opencvlux_files}" FILES_${PN}-plugins-test = "${automotive-message-broker-plugins-test_files}" -FILES_${PN}-doc = "${automotive-message-broker-doc_files}" -FILES_${PN}-plugins-wheel = "${automotive-message-broker-plugins-wheel_files}" +FILES_${PN}-plugins-gpsnmea = "${automotive-message-broker-plugins-gpsnmea_files}" FILES_${PN}-plugins-cansim = "${automotive-message-broker-plugins-cansim_files}" FILES_${PN}-dev = "${automotive-message-broker-dev_files}" FILES_${PN} = "${automotive-message-broker_files}" FILES_${PN}-plugins-database = "${automotive-message-broker-plugins-database_files}" -FILES_${PN}-plugins-websocket = "${automotive-message-broker-plugins-websocket_files}" FILES_${PN}-plugins-obd2 = "${automotive-message-broker-plugins-obd2_files}" -FILES_${PN}-plugins-gpsnmea = "${automotive-message-broker-plugins-gpsnmea_files}" +FILES_${PN}-plugins-wheel = "${automotive-message-broker-plugins-wheel_files}" +FILES_${PN}-doc = "${automotive-message-broker-doc_files}" -PKG_automotive-message-broker-plugins-bluetooth= "automotive-message-broker-plugins-bluetooth" PKG_automotive-message-broker-plugins-cangen= "automotive-message-broker-plugins-cangen" PKG_automotive-message-broker-plugins-common= "automotive-message-broker-plugins-common" -PKG_automotive-message-broker-plugins-qtmainloop= "automotive-message-broker-plugins-qtmainloop" PKG_automotive-message-broker-plugins-murphy= "automotive-message-broker-plugins-murphy" PKG_automotive-message-broker-plugins= "automotive-message-broker-plugins" -PKG_automotive-message-broker-plugins-opencvlux= "automotive-message-broker-plugins-opencvlux" PKG_automotive-message-broker-plugins-test= "automotive-message-broker-plugins-test" -PKG_automotive-message-broker-doc= "automotive-message-broker-doc" -PKG_automotive-message-broker-plugins-wheel= "automotive-message-broker-plugins-wheel" +PKG_automotive-message-broker-plugins-gpsnmea= "automotive-message-broker-plugins-gpsnmea" PKG_automotive-message-broker-plugins-cansim= "automotive-message-broker-plugins-cansim" PKG_automotive-message-broker-dev= "automotive-message-broker-dev" PKG_automotive-message-broker= "automotive-message-broker" PKG_automotive-message-broker-plugins-database= "automotive-message-broker-plugins-database" -PKG_automotive-message-broker-plugins-websocket= "automotive-message-broker-plugins-websocket" PKG_automotive-message-broker-plugins-obd2= "automotive-message-broker-plugins-obd2" -PKG_automotive-message-broker-plugins-gpsnmea= "automotive-message-broker-plugins-gpsnmea" +PKG_automotive-message-broker-plugins-wheel= "automotive-message-broker-plugins-wheel" +PKG_automotive-message-broker-doc= "automotive-message-broker-doc" require automotive-message-broker-extraconf.inc diff --git a/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb b/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb index ec65d28c..2a46fa4f 100644 --- a/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb +++ b/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/automotive-message-broker;tag=e059fd68a2e1da18084466b24a83ce889fc7a015;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/automotive-message-broker;tag=26e0b889f2e6dd43d70a047ee8b4bec2f83bb6c6;nobranch=1" BBCLASSEXTEND += " native " diff --git a/recipes-tizen/avsystem/avsystem.inc b/recipes-tizen/avsystem/avsystem.inc index 8deae7e9..481e5128 100644 --- a/recipes-tizen/avsystem/avsystem.inc +++ b/recipes-tizen/avsystem/avsystem.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/badge/badge-extraconf.inc b/recipes-tizen/badge/badge-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/badge/badge-extraconf.inc diff --git a/recipes-tizen/badge/badge.inc b/recipes-tizen/badge/badge.inc new file mode 100644 index 00000000..e032cfb1 --- /dev/null +++ b/recipes-tizen/badge/badge.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Badge library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by badge-dev +PROVIDES += "badge-dev" + + +#PROVIDES by badge + + +#PROVIDES by badge-service-dev +PROVIDES += "badge-service-dev" + + +RDEPENDS = "" +#RDEPENDS of badge-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "badge" + +#RDEPENDS of badge-service-dev (${PN}-service-dev) +RDEPENDS_${PN}-service-dev += "badge" + + +DEPENDS = "" +#DEPENDS of badge +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "dbus" +DEPENDS += "tizen-platform-config" +DEPENDS += "aul" +DEPENDS += "dlog" +DEPENDS += "vconf" +DEPENDS += "sqlite3" +DEPENDS += "com-core" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/badge.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 ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +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 -- + install -D -m 0640 badge.sql ${D}${prefix}/share/badge/ressources/badge.sql + install -D -m 0750 ${S}/packaging/init_db.sh ${D}${prefix}/share/badge/ressources/init_db.sh + + +} + +pkg_postinst_badge() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_badge() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " badge-dev " +PACKAGES += " badge " +PACKAGES += " badge-service-dev " + +badge-dev_files = "" +badge-dev_files += "${prefix}/include/badge/badge.h" +badge-dev_files += "${prefix}/include/badge/badge_error.h" +badge-dev_files += "${prefix}/include/badge/badge_setting.h" +badge-dev_files += "${prefix}/lib/libbadge.so" +badge-dev_files += "${prefix}/lib/pkgconfig/badge.pc" +MANIFESTFILES_${PN}-dev = "badge.manifest" + +badge_files = "" +badge_files += "${prefix}/lib/libbadge.so.*" +badge_files += "${prefix}/share/badge" +badge_files += "${prefix}/share/badge/ressources/badge.sql" +badge_files += "${prefix}/share/badge/ressources/init_db.sh" +MANIFESTFILES_${PN} = "badge.manifest" + +badge-service-dev_files = "" +badge-service-dev_files += "${prefix}/include/badge/service/badge_db.h" +badge-service-dev_files += "${prefix}/include/badge/service/badge_setting_service.h" +badge-service-dev_files += "${prefix}/lib/pkgconfig/badge-service.pc" +MANIFESTFILES_${PN}-service-dev = "badge.manifest" + +FILES_${PN}-dev = "${badge-dev_files}" +FILES_${PN} = "${badge_files}" +FILES_${PN}-service-dev = "${badge-service-dev_files}" + +PKG_badge-dev= "badge-dev" +PKG_badge= "badge" +PKG_badge-service-dev= "badge-service-dev" + +require badge-extraconf.inc + diff --git a/recipes-tizen/badge/badge_git.bb b/recipes-tizen/badge/badge_git.bb new file mode 100644 index 00000000..cc919379 --- /dev/null +++ b/recipes-tizen/badge/badge_git.bb @@ -0,0 +1,10 @@ +require badge.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/badge;tag=beb1dd6f05cbb53204aa044c169e75d1af9d19e7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc b/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc index 1856ede6..8180c8d6 100644 --- a/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc +++ b/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc @@ -105,7 +105,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -DTZ_SYS_USER_GROUP=users \ -DLIBNOTIFY_SUPPORT=Off \ - -DLIBNOTIFICATION_SUPPORT=Off + -DLIBNOTIFICATION_SUPPORT=On make diff --git a/recipes-tizen/bluetooth-tools/bluetooth-tools.inc b/recipes-tizen/bluetooth-tools/bluetooth-tools.inc index e393b2c5..13570a96 100644 --- a/recipes-tizen/bluetooth-tools/bluetooth-tools.inc +++ b/recipes-tizen/bluetooth-tools/bluetooth-tools.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} - make + make -j16 diff --git a/recipes-tizen/bluetooth/bluetooth.inc b/recipes-tizen/bluetooth/bluetooth.inc index 898b700f..2e908b37 100644 --- a/recipes-tizen/bluetooth/bluetooth.inc +++ b/recipes-tizen/bluetooth/bluetooth.inc @@ -72,7 +72,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.39 -DMAJORVER=${MAJORVER} - make + make -j16 diff --git a/recipes-tizen/bundle/bundle.inc b/recipes-tizen/bundle/bundle.inc index 853692fe..b0897bd0 100644 --- a/recipes-tizen/bundle/bundle.inc +++ b/recipes-tizen/bundle/bundle.inc @@ -66,7 +66,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/chromium/chromium.inc b/recipes-tizen/chromium/chromium.inc index 8b5f6f34..774a997d 100644 --- a/recipes-tizen/chromium/chromium.inc +++ b/recipes-tizen/chromium/chromium.inc @@ -65,7 +65,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=1.0 -DMAJORVER=${MAJORVER} # Call make instruction with smp support - make + make -j16 diff --git a/recipes-tizen/com-core/com-core.inc b/recipes-tizen/com-core/com-core.inc index f92bf9b9..7fd755e2 100644 --- a/recipes-tizen/com-core/com-core.inc +++ b/recipes-tizen/com-core/com-core.inc @@ -70,7 +70,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} - make + make -j16 diff --git a/recipes-tizen/common/common.inc b/recipes-tizen/common/common.inc index 4d6c1ac0..7527b446 100644 --- a/recipes-tizen/common/common.inc +++ b/recipes-tizen/common/common.inc @@ -64,7 +64,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/connection/connection.inc b/recipes-tizen/connection/connection.inc index 51e82ff5..e29043f2 100644 --- a/recipes-tizen/connection/connection.inc +++ b/recipes-tizen/connection/connection.inc @@ -73,7 +73,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.3_13 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/contacts-service/contacts-service.inc b/recipes-tizen/contacts-service/contacts-service.inc index ffa761ad..f2e5535a 100644 --- a/recipes-tizen/contacts-service/contacts-service.inc +++ b/recipes-tizen/contacts-service/contacts-service.inc @@ -40,21 +40,21 @@ RDEPENDS_${PN}2-dev += "contacts-service2" DEPENDS = "" #DEPENDS of contacts-service -DEPENDS += "pkgconfig(pims-ipc)" +DEPENDS += "pims-ipc" +DEPENDS += "libexif" +DEPENDS += "libaccounts-svc" DEPENDS_append_class-native = " cmake-native" DEPENDS_append_class-target = " cmake-native" -DEPENDS += "smack" -DEPENDS += "pkgconfig(accounts-svc)" DEPENDS += "tizen-platform-config" DEPENDS += "libtapi-legacy" DEPENDS += "dlog" DEPENDS += "glib-2.0" -DEPENDS += "libexif" -DEPENDS += "pkgconfig(badge)" +DEPENDS += "image-util" +DEPENDS += "smack" DEPENDS += "icu" DEPENDS += "security-server" DEPENDS += "sqlite3" -DEPENDS += "pkgconfig(capi-media-image-util)" +DEPENDS += "badge" DEPENDS += "vconf" DEPENDS += "libslp-db-util" DEPENDS += "common" @@ -94,7 +94,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DTZ_SYS_ETC=${sysconfdir} - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/crosswalk/crosswalk.inc b/recipes-tizen/crosswalk/crosswalk.inc index d1704723..c587e30a 100644 --- a/recipes-tizen/crosswalk/crosswalk.inc +++ b/recipes-tizen/crosswalk/crosswalk.inc @@ -73,7 +73,7 @@ do_prep() { cp ${S}/packaging/crosswalk.manifest . cp ${S}/packaging/crosswalk.xml.in . cp ${S}/packaging/crosswalk.png . - sed "s/@VERSION@/8.36.161.0/g" crosswalk.xml.in > crosswalk.xml + sed "s/@VERSION@/8.37.180.0/g" crosswalk.xml.in > crosswalk.xml sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.in > xwalk sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.service.in > xwalk.service @@ -86,7 +86,8 @@ do_prep() { # The profiles using Wayland (and thus Ozone) do not need this patch. - ###patch11 + cat ${S}/packaging/crosswalk-angle-do-not-depend-git-index.patch | patch -s -p0 --fuzz=2 + #patch11 } @@ -130,7 +131,7 @@ do_compile() { ln -s "${BUILDDIR_NAME}" src/out fi - GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1 -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=1" + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1 -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=0" # Force gold binary from chroot ld.gold provided by binutils-gold GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " @@ -138,6 +139,16 @@ do_compile() { # Linking fails in Tizen Common when fatal ld warnings are enabled. XWALK-1379. GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" + # Temporarily disable Alsa support while snd_seq_* support is not enabled on + # Tizen. See https://codereview.chromium.org/264973012 and + # https://review.tizen.org/gerrit/#/c/24336/ + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_alsa=0" + + # Temporarily disable WebRTC support because its build currently hardcodes + # dependencies on X11 and OpenSSL. We are still trying to get some + # clarifications as to whether this is really necessary. See XWALK-2160. + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Denable_webrtc=0" + # For building for arm in OBS, we need : # -> to unset sysroot value. # sysroot variable is automatically set for cross compilation to use arm-sysroot provided by Chromium project @@ -164,9 +175,10 @@ do_compile() { -Duse_system_libexif=1 \ -Duse_system_libxml=1 \ -Duse_system_nspr=1 \ + -Dshared_process_mode=1 \ -Denable_hidpi=1 - ninja ${PARALLEL_MAKE} -C src/out/Release xwalk xwalkctl xwalk_launcher xwalk-pkg-helper + ninja -j16 -C src/out/Release xwalk xwalkctl xwalk_launcher xwalk-pkg-helper @@ -182,7 +194,6 @@ do_install() { mkdir -p ${D} # Binaries. - install -p -D xwalk ${D}${prefix}/bin/xwalk install -p -D ${S}/packaging/org.crosswalkproject.Runtime1.service ${D}/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service install -p -D xwalk.service ${D}/usr/lib/systemd/user/xwalk.service install -p -D src/out/Release/xwalk ${D}${prefix}/lib/xwalk/xwalk @@ -217,7 +228,6 @@ PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" PACKAGES += " crosswalk " crosswalk_files = "" -crosswalk_files += "${prefix}/bin/xwalk" crosswalk_files += "${prefix}/bin/xwalkctl" crosswalk_files += "${prefix}/bin/xwalk-launcher" crosswalk_files += "${prefix}/bin/xwalk-pkg-helper" diff --git a/recipes-tizen/crosswalk/crosswalk_git.bb b/recipes-tizen/crosswalk/crosswalk_git.bb index cba56ea7..4d758d3e 100644 --- a/recipes-tizen/crosswalk/crosswalk_git.bb +++ b/recipes-tizen/crosswalk/crosswalk_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=5fabe5fb1f490490fab842be91d0c92975631008;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=802d61891a4a43c623c00b5fee3bfa001f6f3399;nobranch=1" BBCLASSEXTEND += " native " diff --git a/recipes-tizen/dbus-python/dbus-python.inc b/recipes-tizen/dbus-python/dbus-python.inc index e34642b5..b7ce1170 100644 --- a/recipes-tizen/dbus-python/dbus-python.inc +++ b/recipes-tizen/dbus-python/dbus-python.inc @@ -63,7 +63,7 @@ do_compile() { export CFLAGS="$CFLAGS -fstack-protector -fno-strict-aliasing -fPIC" autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/device/device.inc b/recipes-tizen/device/device.inc index 265e4b44..d56f39fa 100644 --- a/recipes-tizen/device/device.inc +++ b/recipes-tizen/device/device.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/devman/devman.inc b/recipes-tizen/devman/devman.inc index 4469bf7d..9623b562 100644 --- a/recipes-tizen/devman/devman.inc +++ b/recipes-tizen/devman/devman.inc @@ -79,7 +79,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/dlog/dlog.inc b/recipes-tizen/dlog/dlog.inc index f5ffa965..44615aff 100644 --- a/recipes-tizen/dlog/dlog.inc +++ b/recipes-tizen/dlog/dlog.inc @@ -64,7 +64,7 @@ do_compile() { autotools_do_configure - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/dlt-daemon/dlt-daemon.inc b/recipes-tizen/dlt-daemon/dlt-daemon.inc index 1caaf1dc..3cab53bc 100644 --- a/recipes-tizen/dlt-daemon/dlt-daemon.inc +++ b/recipes-tizen/dlt-daemon/dlt-daemon.inc @@ -76,7 +76,7 @@ do_compile() { cmake -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \ -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF .. - make + make -j 16 diff --git a/recipes-tizen/download-provider/download-provider.inc b/recipes-tizen/download-provider/download-provider.inc index 273facc1..85497a98 100644 --- a/recipes-tizen/download-provider/download-provider.inc +++ b/recipes-tizen/download-provider/download-provider.inc @@ -101,7 +101,7 @@ do_compile() { -DSUPPORT_CHECK_IPC:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON . - make + make -j16 diff --git a/recipes-tizen/doxygen/doxygen.inc b/recipes-tizen/doxygen/doxygen.inc index 5cee729b..795c2019 100644 --- a/recipes-tizen/doxygen/doxygen.inc +++ b/recipes-tizen/doxygen/doxygen.inc @@ -56,7 +56,7 @@ do_compile() { --prefix ${prefix} \ --shared \ --release - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/drm-client/drm-client.inc b/recipes-tizen/drm-client/drm-client.inc index 7466eefc..3d6db2c1 100644 --- a/recipes-tizen/drm-client/drm-client.inc +++ b/recipes-tizen/drm-client/drm-client.inc @@ -67,7 +67,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/edbus/edbus.inc b/recipes-tizen/edbus/edbus.inc index e42cb64f..e5f43a4e 100644 --- a/recipes-tizen/edbus/edbus.inc +++ b/recipes-tizen/edbus/edbus.inc @@ -56,7 +56,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc b/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc index 5e6e8364..ef9d3e64 100644 --- a/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc +++ b/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc @@ -24,6 +24,7 @@ RDEPENDS = "" DEPENDS = "" #DEPENDS of efl-theme-tizen-hd +DEPENDS += "edje" DEPENDS += "efl" inherit perlnative @@ -52,7 +53,7 @@ do_compile() { export CFLAGS+=" --fPIC" export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" - make + make -j16 diff --git a/recipes-tizen/efl/efl.inc b/recipes-tizen/efl/efl.inc index 428699fd..72ef11cf 100644 --- a/recipes-tizen/efl/efl.inc +++ b/recipes-tizen/efl/efl.inc @@ -382,7 +382,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/elementary/elementary.inc b/recipes-tizen/elementary/elementary.inc index acca14e2..3e11cd36 100644 --- a/recipes-tizen/elementary/elementary.inc +++ b/recipes-tizen/elementary/elementary.inc @@ -76,7 +76,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/evolution-data-server/evolution-data-server.inc b/recipes-tizen/evolution-data-server/evolution-data-server.inc index 119b4993..850f3179 100644 --- a/recipes-tizen/evolution-data-server/evolution-data-server.inc +++ b/recipes-tizen/evolution-data-server/evolution-data-server.inc @@ -95,17 +95,17 @@ DEPENDS_append_class-target = " intltool-native" DEPENDS += "gnome-common" DEPENDS += "gperf" DEPENDS += "nss" -DEPENDS += "pkgconfig(gcr-base-3)" DEPENDS += "eglibc-locale" DEPENDS += "db" #Replace "DEPENDS" on gettext by "inherit gettext" inherit gettext -DEPENDS += "pkgconfig(libsecret-unstable)" -inherit pythonnative +DEPENDS += "gtk-doc-stub" +DEPENDS += "libical" DEPENDS += "libsoup-2.4" -DEPENDS += "pkgconfig(gobject-introspection-1.0)" +inherit pythonnative +DEPENDS += "gcr" +DEPENDS += "libsecret" DEPENDS += "icu" -DEPENDS += "pkgconfig(libical)" DEPENDS += "sqlite3" DEPENDS_append_class-native = " fdupes-native" DEPENDS_append_class-target = " fdupes-native" @@ -141,7 +141,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} V=1 + make -j16 V=1 diff --git a/recipes-tizen/favorites/favorites.inc b/recipes-tizen/favorites/favorites.inc index 16e5776d..949e5fb8 100644 --- a/recipes-tizen/favorites/favorites.inc +++ b/recipes-tizen/favorites/favorites.inc @@ -73,7 +73,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DTZ_SYS_SHARE=${prefix}/share - make + make -j16 diff --git a/recipes-tizen/gcr/gcr-extraconf.inc b/recipes-tizen/gcr/gcr-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/gcr/gcr-extraconf.inc diff --git a/recipes-tizen/gcr/gcr.inc b/recipes-tizen/gcr/gcr.inc new file mode 100644 index 00000000..36be3f75 --- /dev/null +++ b/recipes-tizen/gcr/gcr.inc @@ -0,0 +1,238 @@ +DESCRIPTION = "Library for Crypto UI related task" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by typelib-Gcr +PROVIDES += "typelib-Gcr" + + +#PROVIDES by libgcr +PROVIDES += "libgcr" + + +#PROVIDES by libgcr-dev +PROVIDES += "libgcr-dev" + + +#PROVIDES by gcr + + +#PROVIDES by typelib-Gck +PROVIDES += "typelib-Gck" + + +#PROVIDES by libgck +PROVIDES += "libgck" +# the PROVIDES rules is ignore "gck = 3.8.2" +PROVIDES += "gck" +RPROVIDES_libgck += "gck" + + +#PROVIDES by gcr-data +PROVIDES += "gcr-data" + + +#PROVIDES by libgck-dev +PROVIDES += "libgck-dev" + + +RDEPENDS = "" +#RDEPENDS of libgcr (lib${PN}) +RDEPENDS_lib${PN} += "gcr-data" + +#RDEPENDS of libgcr-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "typelib-Gcr" +RDEPENDS_lib${PN}-dev += "libgcr" + +#RDEPENDS of gcr-data (${PN}-data) +RDEPENDS_${PN}-data += "glib2-tools" + +#RDEPENDS of libgck-dev (libgck-dev) +RDEPENDS_libgck-dev += "typelib-Gck" +RDEPENDS_libgck-dev += "libgck" + + +DEPENDS = "" +#DEPENDS of gcr +DEPENDS += "shared-mime-info" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "p11-kit" +DEPENDS += "gnome-common" +DEPENDS += "dbus" +DEPENDS += "libtasn1" +DEPENDS += "gpg2" +DEPENDS += "glib-2.0" +DEPENDS += "update-desktop-files" +DEPENDS += "gtk-doc-stub" +DEPENDS += "libgcrypt" +DEPENDS += "gtk-doc" + +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 + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + autotools_do_configure + + make + + + +} +EXTRA_OECONF += " --with-gtk=no --disable-gtk-doc-html" + +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 -- + #find_lang gcr + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_post + %icon_theme_cache_post + +} + +pkg_postinst_libgcr() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libgck() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libgcr() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libgck() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_postun + %icon_theme_cache_postun + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " typelib-Gcr " +PACKAGES += " libgcr " +PACKAGES += " libgcr-dev " +PACKAGES += " typelib-Gck " +PACKAGES += " libgck " +PACKAGES += " gcr-data " +PACKAGES += " libgck-dev " + +typelib-Gcr_files = "" +typelib-Gcr_files += "${prefix}/lib/girepository-1.0/Gcr-3.typelib" + +libgcr_files = "" +libgcr_files += "${prefix}/lib/libgcr-base-3.so.*" + +libgcr-dev_files = "" +libgcr-dev_files += "${prefix}/lib/libgcr-base-3.so" +libgcr-dev_files += "${prefix}/lib/pkgconfig/gcr-base-3.pc" +libgcr-dev_files += "${prefix}/include/gcr-3/" + +typelib-Gck_files = "" +typelib-Gck_files += "${prefix}/lib/girepository-1.0/Gck-1.typelib" + +libgck_files = "" +libgck_files += "${prefix}/lib/libgck-1.so.*" + +gcr-data_files = "" +gcr-data_files += "${prefix}/share/GConf" +gcr-data_files += "${prefix}/share/GConf/gsettings" +gcr-data_files += "${prefix}/share/GConf/gsettings/org.gnome.crypto.pgp.convert" +gcr-data_files += "${prefix}/share/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert" +gcr-data_files += "${prefix}/share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml" +DIRFILES_${PN}-data = "" +DIRFILES_${PN}-data += "${prefix}/share/GConf" +DIRFILES_${PN}-data += "${prefix}/share/GConf/gsettings" + +libgck-dev_files = "" +libgck-dev_files += "${prefix}/lib/libgck-1.so" +libgck-dev_files += "${prefix}/lib/pkgconfig/gck-1.pc" +libgck-dev_files += "${prefix}/include/gck-1/" +libgck-dev_files += "${prefix}/share/gir-1.0/Gck-1.gir" +libgck-dev_files += "${prefix}/share/gir-1.0/Gcr-3.gir" + +FILES_typelib-Gcr = "${typelib-Gcr_files}" +FILES_lib${PN} = "${libgcr_files}" +FILES_lib${PN}-dev = "${libgcr-dev_files}" +FILES_typelib-Gck = "${typelib-Gck_files}" +FILES_libgck = "${libgck_files}" +FILES_${PN}-data = "${gcr-data_files}" +FILES_libgck-dev = "${libgck-dev_files}" + +PKG_typelib-Gcr= "typelib-Gcr" +PKG_libgcr= "libgcr" +PKG_libgcr-dev= "libgcr-dev" +PKG_typelib-Gck= "typelib-Gck" +PKG_libgck= "libgck" +PKG_gcr-data= "gcr-data" +PKG_libgck-dev= "libgck-dev" + +require gcr-extraconf.inc + diff --git a/recipes-tizen/gcr/gcr_git.bb b/recipes-tizen/gcr/gcr_git.bb new file mode 100644 index 00000000..1eb1634c --- /dev/null +++ b/recipes-tizen/gcr/gcr_git.bb @@ -0,0 +1,10 @@ +require gcr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcr;tag=3d139a70d06ebf222b786a00cd6d3af2f473f4d7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc b/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc index cae91756..594d3300 100644 --- a/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc +++ b/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc @@ -64,7 +64,7 @@ do_compile() { cmake -DUSE_BUILD_LIBS=OFF -DWITH_TESTS=OFF -DWITH_DBUS_WRAPPER=ON -DWITH_NSM=OFF -DCMAKE_INSTALL_PREFIX=/usr .. #make VERBOSE=1 - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/gobject-introspection/gobject-introspection.inc b/recipes-tizen/gobject-introspection/gobject-introspection.inc index 60d1c3f4..d79903c4 100644 --- a/recipes-tizen/gobject-introspection/gobject-introspection.inc +++ b/recipes-tizen/gobject-introspection/gobject-introspection.inc @@ -87,7 +87,7 @@ do_compile() { #autoreconf -fi autotools_do_configure - oe_runmake ${PARALLEL_MAKE} V=1 + oe_runmake -j16 V=1 diff --git a/recipes-tizen/gpg2/gpg2-extraconf.inc b/recipes-tizen/gpg2/gpg2-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/gpg2/gpg2-extraconf.inc diff --git a/recipes-tizen/gpg2/gpg2.inc b/recipes-tizen/gpg2/gpg2.inc new file mode 100644 index 00000000..4c98b76b --- /dev/null +++ b/recipes-tizen/gpg2/gpg2.inc @@ -0,0 +1,177 @@ +DESCRIPTION = "GnuPG 2" +HOMEPAGE = "http://www.gnupg.org/aegypten2/" +SECTION = "Security/Certificate Management" +LICENSE = "GPL-3.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gpg2 +# the PROVIDES rules is ignore "gnupg = 2.0.19" +PROVIDES += "gnupg" +RPROVIDES_gpg2 += "gnupg" +# the PROVIDES rules is ignore "gpg = 1.4.9" +PROVIDES += "gpg" +RPROVIDES_gpg2 += "gpg" +# the PROVIDES rules is ignore "newpg " +PROVIDES += "newpg" +RPROVIDES_gpg2 += "newpg" +# the PROVIDES rules is ignore "gpg2_signd_support " +PROVIDES += "gpg2_signd_support" +RPROVIDES_gpg2 += "gpg2_signd_support" + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gpg2 +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libksba" +DEPENDS += "libassuan" +DEPENDS += "adns" +DEPENDS += "pth" +DEPENDS += "zlib" +DEPENDS += "libgpg-error" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS_append_class-native = " readline-native" +DEPENDS_append_class-target = " readline-native" +DEPENDS += "libusb" +DEPENDS += "expect" +DEPENDS += "curl" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "libgcrypt" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gnupg-2.0.19 + cp ${S}/packaging/gpg2.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 ; + + autoreconf -fi + # build PIEs (position independent executables) for address space randomisation: + PIE="-fpie" + export CFLAGS="$CFLAGS ${PIE}" + export LDFLAGS=-pie + + autotools_do_configure + + make -j16 + + exit 0 + make check + ${D}${prefix}/bin/gpgsplit -v -p pubsplit- --uncompress <tests/openpgp/pubring.gpg + ${D}${prefix}/bin/gpgsplit -v -p secsplit- --secret-to-public --uncompress <tests/openpgp/secring.gpg + + + +} +EXTRA_OECONF += " --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/gpg2 --with-agent-pgm=${prefix}/bin/gpg-agent --with-scdaemon-pgm=${prefix}/bin/scdaemon --enable-gpgsm=yes --enable-gpg --with-gnu-ld" + +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 -- + mkdir -p ${D}${sysconfdir}/gnupg/ + + install -m 644 doc/examples/gpgconf.conf ${D}${sysconfdir}/gnupg + + rm -rf ${D}${prefix}/share/doc/packages/gpg2/examples/gpgconf.conf + + ln -sf gpg2 ${D}${prefix}/bin/gpg + ln -sf gpgv2 ${D}${prefix}/bin/gpgv + ln -sf gpg2.1 ${D}${mandir}/man1/gpg.1 + ln -sf gpgv2.1 ${D}${mandir}/man1/gpgv.1 + + rm -rf ${D}/${prefix}/share/locale/en@{bold,}quot + + #find_lang gnupg2 + + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gpg2 " + +gpg2_files = "" +gpg2_files += "${infodir}/gnupg*" +gpg2_files += "${prefix}/share/doc/packages/gpg2" +gpg2_files += "${mandir}/man*/*" +gpg2_files += "${prefix}/bin/*" +gpg2_files += "${prefix}/lib/[^d]*" +gpg2_files += "${prefix}/sbin/addgnupghome" +gpg2_files += "${prefix}/sbin/applygnupgdefaults" +gpg2_files += "${prefix}/share/gnupg" +gpg2_files += "${sysconfdir}/gnupg" +gpg2_files += "${sysconfdir}/gnupg/gpgconf.conf" +MANIFESTFILES_${PN} = "gpg2.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${sysconfdir}/gnupg" + +FILES_${PN} = "${gpg2_files}" + +PKG_gpg2= "gpg2" + +require gpg2-extraconf.inc + diff --git a/recipes-tizen/gpg2/gpg2_git.bb b/recipes-tizen/gpg2/gpg2_git.bb new file mode 100644 index 00000000..2f5119ba --- /dev/null +++ b/recipes-tizen/gpg2/gpg2_git.bb @@ -0,0 +1,10 @@ +require gpg2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gpg2;tag=0d5860e8035a1c2577ffa72a5a004e48471d27a2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/heynoti/heynoti.inc b/recipes-tizen/heynoti/heynoti.inc index 03ce45ac..5e32b0ff 100644 --- a/recipes-tizen/heynoti/heynoti.inc +++ b/recipes-tizen/heynoti/heynoti.inc @@ -70,7 +70,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DCMAKE_BUILD_TYPE="Debug" - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/ibus/ibus.inc b/recipes-tizen/ibus/ibus.inc index a9b1192c..9c0cc46e 100644 --- a/recipes-tizen/ibus/ibus.inc +++ b/recipes-tizen/ibus/ibus.inc @@ -83,7 +83,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc index f68aad31..cab94d7f 100644 --- a/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc +++ b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc @@ -53,7 +53,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc index 307ac7f2..b800c20e 100644 --- a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc +++ b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc @@ -77,7 +77,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc index 04137bae..699e5d54 100644 --- a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc +++ b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc @@ -32,8 +32,8 @@ RDEPENDS_${PN}-system-controller-dev += "ecore" #RDEPENDS of ico-uxf-homescreen (${PN}) RDEPENDS_${PN} += "weston" -RDEPENDS_${PN} += "genivi-shell" RDEPENDS_${PN} += "ico-uxf-utilities" +RDEPENDS_${PN} += "wayland-ivi-extension" RDEPENDS_${PN} += "weston-ivi-shell" RDEPENDS_${PN} += "ico-uxf-weston-plugin" @@ -41,10 +41,8 @@ RDEPENDS_${PN} += "ico-uxf-weston-plugin" DEPENDS = "" #DEPENDS of ico-uxf-homescreen DEPENDS += "edje" -DEPENDS += "genivi-shell" DEPENDS += "eina" DEPENDS += "json-glib" -DEPENDS += "genivi-shell-dev" DEPENDS += "slp-pkgmgr" DEPENDS += "wayland" DEPENDS += "notification" @@ -64,6 +62,7 @@ DEPENDS += "ecore" DEPENDS += "mesa" DEPENDS += "dbus" DEPENDS += "ail" +DEPENDS += "wayland-ivi-extension" do_prep() { cd ${S} @@ -105,7 +104,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc index 4cb53af7..7b33166e 100644 --- a/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc +++ b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc @@ -60,7 +60,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc index 716bec74..90f6c2ef 100644 --- a/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc +++ b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc @@ -25,9 +25,9 @@ RDEPENDS_${PN}-dev += "ico-uxf-weston-plugin" #RDEPENDS of ico-uxf-weston-plugin (${PN}) RDEPENDS_${PN} += "weston" -RDEPENDS_${PN} += "genivi-shell" -RDEPENDS_${PN} += "weston-ivi-shell" RDEPENDS_${PN} += "weekeyboard" +RDEPENDS_${PN} += "wayland-ivi-extension" +RDEPENDS_${PN} += "weston-ivi-shell" DEPENDS = "" @@ -36,9 +36,9 @@ DEPENDS += "evas" DEPENDS += "aul" DEPENDS += "weston-ivi-shell" DEPENDS += "weston" +DEPENDS += "wayland-ivi-extension" DEPENDS += "ecore" DEPENDS += "mesa" -DEPENDS += "genivi-shell-dev" DEPENDS += "pixman" do_prep() { @@ -64,7 +64,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc index dc9f93dc..94fe893c 100644 --- a/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc +++ b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc @@ -27,9 +27,9 @@ DEPENDS = "" DEPENDS += "ico-uxf-utilities" DEPENDS_append_class-native = " cmake-native" DEPENDS_append_class-target = " cmake-native" +DEPENDS += "json-c" DEPENDS += "app-core" DEPENDS += "automotive-message-broker" -DEPENDS += "libjson-dev" DEPENDS += "elementary" DEPENDS += "boost" @@ -67,7 +67,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} - make + make -j16 diff --git a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc index 6980df95..d808d317 100644 --- a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc +++ b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc @@ -28,7 +28,7 @@ DEPENDS = "" DEPENDS += "ico-uxf-utilities" DEPENDS += "make" DEPENDS += "glib-2.0" -DEPENDS += "json-glib-dev" +DEPENDS += "json-glib" DEPENDS_append_class-native = " automake-native" DEPENDS_append_class-target = " automake-native" DEPENDS += "boost" @@ -58,7 +58,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/image-util/image-util-extraconf.inc b/recipes-tizen/image-util/image-util-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/image-util/image-util-extraconf.inc diff --git a/recipes-tizen/image-util/image-util.inc b/recipes-tizen/image-util/image-util.inc new file mode 100644 index 00000000..39c587eb --- /dev/null +++ b/recipes-tizen/image-util/image-util.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "A Image Utility library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-media-image-util-dev +PROVIDES += "capi-media-image-util-dev" + + +#PROVIDES by capi-media-image-util +PROVIDES += "capi-media-image-util" + + +RDEPENDS = "" +#RDEPENDS of capi-media-image-util-dev (capi-media-${PN}-dev) +RDEPENDS_capi-media-${PN}-dev += "libmm-utility" +RDEPENDS_capi-media-${PN}-dev += "libmm-common" +RDEPENDS_capi-media-${PN}-dev += "dlog" +RDEPENDS_capi-media-${PN}-dev += "capi-media-image-util" +RDEPENDS_capi-media-${PN}-dev += "common" + + +DEPENDS = "" +#DEPENDS of capi-media-image-util +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libmm-common" +DEPENDS += "dlog" +DEPENDS += "libmm-utility" +DEPENDS += "common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-image-util.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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +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 -- + + +} + +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 += " capi-media-image-util-dev " +PACKAGES += " capi-media-image-util " + +capi-media-image-util-dev_files = "" +capi-media-image-util-dev_files += "${prefix}/lib/lib*.so" +capi-media-image-util-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-media-image-util-dev_files += "${prefix}/include/media/*.h" +MANIFESTFILES_capi-media-${PN}-dev = "capi-media-image-util.manifest" + +capi-media-image-util_files = "" +capi-media-image-util_files += "${prefix}/lib/lib*.so.*" +MANIFESTFILES_capi-media-${PN} = "capi-media-image-util.manifest" + +FILES_capi-media-${PN}-dev = "${capi-media-image-util-dev_files}" +FILES_capi-media-${PN} = "${capi-media-image-util_files}" + +PKG_capi-media-image-util-dev= "capi-media-image-util-dev" +PKG_capi-media-image-util= "capi-media-image-util" + +require image-util-extraconf.inc + diff --git a/recipes-tizen/image-util/image-util_git.bb b/recipes-tizen/image-util/image-util_git.bb new file mode 100644 index 00000000..1ae7e9f7 --- /dev/null +++ b/recipes-tizen/image-util/image-util_git.bb @@ -0,0 +1,10 @@ +require image-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/image-util;tag=f02004b94ca2b2c0c21c67be0a0d1ce8edee0a75;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/iniparser/iniparser.inc b/recipes-tizen/iniparser/iniparser.inc index 14fcd1ed..a4fdd1ca 100644 --- a/recipes-tizen/iniparser/iniparser.inc +++ b/recipes-tizen/iniparser/iniparser.inc @@ -48,7 +48,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - make prefix=${prefix} ${PARALLEL_MAKE} CFLAGS="$CFLAGS -fPIC" + make prefix=${prefix} -j16 CFLAGS="$CFLAGS -fPIC" diff --git a/recipes-tizen/lemolo/lemolo.inc b/recipes-tizen/lemolo/lemolo.inc index 9b1fdccc..24002244 100644 --- a/recipes-tizen/lemolo/lemolo.inc +++ b/recipes-tizen/lemolo/lemolo.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - make + make -j16 diff --git a/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc b/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/libaccounts-svc/libaccounts-svc-extraconf.inc diff --git a/recipes-tizen/libaccounts-svc/libaccounts-svc.inc b/recipes-tizen/libaccounts-svc/libaccounts-svc.inc new file mode 100644 index 00000000..0c00aa3b --- /dev/null +++ b/recipes-tizen/libaccounts-svc/libaccounts-svc.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Account DB library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Content/Utilities" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libaccounts-svc + + +#PROVIDES by libaccounts-svc-dev +PROVIDES += "libaccounts-svc-dev" + + +RDEPENDS = "" +#RDEPENDS of libaccounts-svc (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "libtzplatform-config" + +#RDEPENDS of libaccounts-svc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libaccounts-svc" + + +DEPENDS = "" +#DEPENDS of libaccounts-svc +DEPENDS += "pkgmgr-info" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "libxml2" +DEPENDS += "tizen-platform-config" +DEPENDS += "aul" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "application" +DEPENDS += "common" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libaccounts-svc.manifest ${S}/packaging/accounts_DB.sh . + + +} +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 ; + + export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${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 -- + + install -D -m 0750 ${S}/packaging/accounts_DB.sh ${D}${prefix}/share/libaccounts-svc/accounts_DB.sh + + rm -rf ${D}${prefix}/lib/accounts-svc + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + $D${prefix}/share/libaccounts-svc/accounts_DB.sh + #set message key value to NULL + vconftool set -t string db/account/msg '' -g 6514 + #smack labeling + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libaccounts-svc " +PACKAGES += " libaccounts-svc-dev " + +libaccounts-svc_files = "" +libaccounts-svc_files += "${prefix}/lib/*.so.*" +libaccounts-svc_files += "${prefix}/bin/account-xml-verify" +libaccounts-svc_files += "${prefix}/share/libaccounts-svc/accounts_DB.sh" +MANIFESTFILES_${PN} = "libaccounts-svc.manifest" + +libaccounts-svc-dev_files = "" +libaccounts-svc-dev_files += "${prefix}/lib/*.so" +libaccounts-svc-dev_files += "${prefix}/lib/pkgconfig/accounts-svc.pc" +libaccounts-svc-dev_files += "${prefix}/include/*.h" +libaccounts-svc-dev_files += "${prefix}/share/libaccounts-svc/accounts_DB.sh" +libaccounts-svc-dev_files += "${prefix}/bin/account-xml-verify" +MANIFESTFILES_${PN}-dev = "libaccounts-svc.manifest" + +FILES_${PN} = "${libaccounts-svc_files}" +FILES_${PN}-dev = "${libaccounts-svc-dev_files}" + +PKG_libaccounts-svc= "libaccounts-svc" +PKG_libaccounts-svc-dev= "libaccounts-svc-dev" + +require libaccounts-svc-extraconf.inc + diff --git a/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb b/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb new file mode 100644 index 00000000..215db9a7 --- /dev/null +++ b/recipes-tizen/libaccounts-svc/libaccounts-svc_git.bb @@ -0,0 +1,10 @@ +require libaccounts-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/libaccounts-svc;tag=07c30a90874972c242f9291a7bfe211d50bb2227;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/libbullet/libbullet.inc b/recipes-tizen/libbullet/libbullet.inc index 41f451e1..360fbec1 100644 --- a/recipes-tizen/libbullet/libbullet.inc +++ b/recipes-tizen/libbullet/libbullet.inc @@ -69,7 +69,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF - make + make -j16 diff --git a/recipes-tizen/libdevice-node/libdevice-node.inc b/recipes-tizen/libdevice-node/libdevice-node.inc index 1ff72583..9a981754 100644 --- a/recipes-tizen/libdevice-node/libdevice-node.inc +++ b/recipes-tizen/libdevice-node/libdevice-node.inc @@ -64,7 +64,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libgsignon-glib/libgsignon-glib-extraconf.inc b/recipes-tizen/libgsignon-glib/libgsignon-glib-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/libgsignon-glib/libgsignon-glib-extraconf.inc diff --git a/recipes-tizen/libgsignon-glib/libgsignon-glib.inc b/recipes-tizen/libgsignon-glib/libgsignon-glib.inc new file mode 100644 index 00000000..fbe61bef --- /dev/null +++ b/recipes-tizen/libgsignon-glib/libgsignon-glib.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "GLib API for the SSO framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libgsignon-glib-dev +PROVIDES += "libgsignon-glib-dev" + + +#PROVIDES by libgsignon-glib + + +#PROVIDES by libgsignon-glib-doc +PROVIDES += "libgsignon-glib-doc" + + +RDEPENDS = "" +#RDEPENDS of libgsignon-glib-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libgsignon-glib" + +#RDEPENDS of libgsignon-glib (${PN}) +RDEPENDS_${PN} += "gsignon" +RDEPENDS_${PN} += "dbus-1" +RDEPENDS_${PN} += "eglibc" + +#RDEPENDS of libgsignon-glib-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "libgsignon-glib-dev" + + +DEPENDS = "" +#DEPENDS of libgsignon-glib +DEPENDS += "libcheck" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libgsignon-glib-2.3.0 + cp ${S}/packaging/libgsignon-glib.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 ; + + autoreconf -fi + + autotools_do_configure + make -j16 + + + + +} +EXTRA_OECONF += " --enable-dbus-type=p2p" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${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 += " libgsignon-glib-dev " +PACKAGES += " libgsignon-glib " + +libgsignon-glib-dev_files = "" +libgsignon-glib-dev_files += "${prefix}/include/libgsignon-glib/*.h" +libgsignon-glib-dev_files += "${prefix}/lib/libgsignon-glib.so" +libgsignon-glib-dev_files += "${prefix}/lib/pkgconfig/libgsignon-glib.pc" +libgsignon-glib-dev_files += "${prefix}/bin/gsso-example" +MANIFESTFILES_${PN}-dev = "libgsignon-glib.manifest" + +libgsignon-glib_files = "" +libgsignon-glib_files += "AUTHORS COPYING ChangeLog INSTALL NEWS README" +libgsignon-glib_files += "${prefix}/lib/libgsignon-glib.so.*" +MANIFESTFILES_${PN} = "libgsignon-glib.manifest" + +libgsignon-glib-doc_files = "" +libgsignon-glib-doc_files += "${prefix}/share/gtk-doc/html/libgsignon-glib/*" + +FILES_${PN}-dev = "${libgsignon-glib-dev_files}" +FILES_${PN} = "${libgsignon-glib_files}" +FILES_${PN}-doc = "${libgsignon-glib-doc_files}" + +PKG_libgsignon-glib-dev= "libgsignon-glib-dev" +PKG_libgsignon-glib= "libgsignon-glib" +PKG_libgsignon-glib-doc= "libgsignon-glib-doc" + +require libgsignon-glib-extraconf.inc + diff --git a/recipes-tizen/libgsignon-glib/libgsignon-glib_git.bb b/recipes-tizen/libgsignon-glib/libgsignon-glib_git.bb new file mode 100644 index 00000000..f926c7d1 --- /dev/null +++ b/recipes-tizen/libgsignon-glib/libgsignon-glib_git.bb @@ -0,0 +1,10 @@ +require libgsignon-glib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgsignon-glib;tag=67eb010626e2c146340925219d0ac47a53d50f3f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/libhaptic/libhaptic.inc b/recipes-tizen/libhaptic/libhaptic.inc index 28a87f7c..45329e4e 100644 --- a/recipes-tizen/libhaptic/libhaptic.inc +++ b/recipes-tizen/libhaptic/libhaptic.inc @@ -70,7 +70,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libiri/libiri.inc b/recipes-tizen/libiri/libiri.inc index 023794b4..644013ef 100644 --- a/recipes-tizen/libiri/libiri.inc +++ b/recipes-tizen/libiri/libiri.inc @@ -57,7 +57,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libmedia-service/libmedia-service.inc b/recipes-tizen/libmedia-service/libmedia-service.inc index 8262dccc..22c0a211 100644 --- a/recipes-tizen/libmedia-service/libmedia-service.inc +++ b/recipes-tizen/libmedia-service/libmedia-service.inc @@ -79,7 +79,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc b/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc index 7f278030..6d113744 100644 --- a/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc +++ b/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc @@ -93,7 +93,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libmm-common/libmm-common.inc b/recipes-tizen/libmm-common/libmm-common.inc index b7cbf8c8..f394d088 100644 --- a/recipes-tizen/libmm-common/libmm-common.inc +++ b/recipes-tizen/libmm-common/libmm-common.inc @@ -53,7 +53,7 @@ do_compile() { CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/libmm-log/libmm-log.inc b/recipes-tizen/libmm-log/libmm-log.inc index 29af07e6..bbfbe6e2 100644 --- a/recipes-tizen/libmm-log/libmm-log.inc +++ b/recipes-tizen/libmm-log/libmm-log.inc @@ -52,7 +52,7 @@ do_compile() { ./autogen.sh autotools_do_configure - make + make -j16 diff --git a/recipes-tizen/libmm-session/libmm-session.inc b/recipes-tizen/libmm-session/libmm-session.inc index 55b0c135..771ced43 100644 --- a/recipes-tizen/libmm-session/libmm-session.inc +++ b/recipes-tizen/libmm-session/libmm-session.inc @@ -54,7 +54,7 @@ do_compile() { CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0" autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/libmm-sound/libmm-sound.inc b/recipes-tizen/libmm-sound/libmm-sound.inc index fd6c8f93..b81ba31b 100644 --- a/recipes-tizen/libmm-sound/libmm-sound.inc +++ b/recipes-tizen/libmm-sound/libmm-sound.inc @@ -80,14 +80,15 @@ do_compile() { ./autogen.sh CFLAGS="$CFLAGS -fvisibility=hidden -DMM_DEBUG_FLAG -DSEPARATE_SPEAKER_AND_WIRED_ACCESSORY -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS + CFLAGS="$CFLAGS -DMURPHY"; export CFLAGS autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 } -EXTRA_OECONF += " --prefix=/usr --enable-pulse --enable-security" +EXTRA_OECONF += " --prefix=/usr --enable-pulse --enable-security --enable-policy" do_install() { echo export RPM_BUILD_ROOT=${D} diff --git a/recipes-tizen/libmm-ta/libmm-ta.inc b/recipes-tizen/libmm-ta/libmm-ta.inc index a567082b..6d2ce8e4 100644 --- a/recipes-tizen/libmm-ta/libmm-ta.inc +++ b/recipes-tizen/libmm-ta/libmm-ta.inc @@ -50,7 +50,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/libmm-utility/libmm-utility.inc b/recipes-tizen/libmm-utility/libmm-utility.inc index e5b3cef3..57f2d5e5 100644 --- a/recipes-tizen/libmm-utility/libmm-utility.inc +++ b/recipes-tizen/libmm-utility/libmm-utility.inc @@ -67,7 +67,7 @@ do_compile() { mkdir -p m4 CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" LDFLAGS+="-Wl,--rpath=${prefix}/lib -Wl,--hash-style=both -Wl,--as-needed" autotools_do_configure - oe_runmake + oe_runmake -j16 sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc sed -i -e "s#@JPEG_REQPKG@#$JPEG_REQPKG#g" jpeg/mmutil-jpeg.pc diff --git a/recipes-tizen/libnet-client/libnet-client.inc b/recipes-tizen/libnet-client/libnet-client.inc index 18c7715f..611d1c45 100644 --- a/recipes-tizen/libnet-client/libnet-client.inc +++ b/recipes-tizen/libnet-client/libnet-client.inc @@ -61,7 +61,7 @@ do_compile() { mkdir -p m4 autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/libprivilege-control/libprivilege-control.inc b/recipes-tizen/libprivilege-control/libprivilege-control.inc index 031d2a47..24c8c529 100644 --- a/recipes-tizen/libprivilege-control/libprivilege-control.inc +++ b/recipes-tizen/libprivilege-control/libprivilege-control.inc @@ -83,7 +83,7 @@ do_compile() { -DTZ_SYS_HOME=/home \ -DTZ_SYS_ETC=${sysconfdir} - VERBOSE=1 oe_runmake + VERBOSE=1 oe_runmake -j16 diff --git a/recipes-tizen/librua/librua.inc b/recipes-tizen/librua/librua.inc index fb74086b..c608c536 100644 --- a/recipes-tizen/librua/librua.inc +++ b/recipes-tizen/librua/librua.inc @@ -73,7 +73,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libsecret/libsecret-extraconf.inc b/recipes-tizen/libsecret/libsecret-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/libsecret/libsecret-extraconf.inc diff --git a/recipes-tizen/libsecret/libsecret.inc b/recipes-tizen/libsecret/libsecret.inc new file mode 100644 index 00000000..502631f1 --- /dev/null +++ b/recipes-tizen/libsecret/libsecret.inc @@ -0,0 +1,193 @@ +DESCRIPTION = "Library for accessing the Secret Service API" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by typelib-Secret +PROVIDES += "typelib-Secret" + + +#PROVIDES by libsecret-dev +PROVIDES += "libsecret-dev" + + +#PROVIDES by libsecret + + +#PROVIDES by libsecret-tools +PROVIDES += "libsecret-tools" + + +#PROVIDES by typelib-SecretUnstable +PROVIDES += "typelib-SecretUnstable" + + +RDEPENDS = "" +#RDEPENDS of libsecret-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "typelib-Secret" +RDEPENDS_${PN}-dev += "libsecret" +RDEPENDS_${PN}-dev += "typelib-SecretUnstable" + + +DEPENDS = "" +#DEPENDS of libsecret +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "vala" +DEPENDS += "glib-2.0" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "gtk-doc-stub" +DEPENDS += "libxslt" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "libgcrypt" +DEPENDS += "gtk-doc" + +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 + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + make V=1 + + + +} +EXTRA_OECONF += " --disable-static" + +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 -- + #find_lang libsecret + rm -rf ${D}${prefix}/share/locales/* + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +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 += " libsecret-tools " +PACKAGES += " libsecret " +PACKAGES += " libsecret-dev " +PACKAGES += " typelib-Secret " +PACKAGES += " typelib-SecretUnstable " + +libsecret-tools_files = "" +libsecret-tools_files += "${prefix}/bin/secret-tool" + +libsecret_files = "" +libsecret_files += "${prefix}/lib/libsecret-1.so.*" + +libsecret-dev_files = "" +libsecret-dev_files += "AUTHORS ChangeLog NEWS README" +libsecret-dev_files += "${prefix}/lib/libsecret-1.so" +libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-1.pc" +libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-unstable.pc" +libsecret-dev_files += "${prefix}/include/libsecret-1/" +libsecret-dev_files += "${prefix}/share/gir-1.0/Secret-1.gir" +libsecret-dev_files += "${prefix}/share/gir-1.0/SecretUnstable-0.gir" +libsecret-dev_files += "${prefix}/share/vala/vapi" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.deps" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.vapi" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-unstable.deps" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-unstable.vapi" +libsecret-dev_files += "${prefix}/share/vala/vapi/mock-service-0.vapi" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/share/vala/vapi" + +typelib-Secret_files = "" +typelib-Secret_files += "${prefix}/lib/girepository-1.0/Secret-1.typelib" + +typelib-SecretUnstable_files = "" +typelib-SecretUnstable_files += "${prefix}/lib/girepository-1.0/SecretUnstable-0.typelib" + +FILES_${PN}-tools = "${libsecret-tools_files}" +FILES_${PN} = "${libsecret_files}" +FILES_${PN}-dev = "${libsecret-dev_files}" +FILES_typelib-Secret = "${typelib-Secret_files}" +FILES_typelib-SecretUnstable = "${typelib-SecretUnstable_files}" + +PKG_libsecret-tools= "libsecret-tools" +PKG_libsecret= "libsecret" +PKG_libsecret-dev= "libsecret-dev" +PKG_typelib-Secret= "typelib-Secret" +PKG_typelib-SecretUnstable= "typelib-SecretUnstable" + +require libsecret-extraconf.inc + diff --git a/recipes-tizen/libsecret/libsecret_git.bb b/recipes-tizen/libsecret/libsecret_git.bb new file mode 100644 index 00000000..91ddd546 --- /dev/null +++ b/recipes-tizen/libsecret/libsecret_git.bb @@ -0,0 +1,10 @@ +require libsecret.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;tag=323fd83e4fa5a23e79e83b210d853705e21bdd81;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/libsf-common/libsf-common.inc b/recipes-tizen/libsf-common/libsf-common.inc index 4d982113..78f435e7 100644 --- a/recipes-tizen/libsf-common/libsf-common.inc +++ b/recipes-tizen/libsf-common/libsf-common.inc @@ -66,7 +66,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libslp-db-util/libslp-db-util.inc b/recipes-tizen/libslp-db-util/libslp-db-util.inc index 2641e524..4e07b3d7 100644 --- a/recipes-tizen/libslp-db-util/libslp-db-util.inc +++ b/recipes-tizen/libslp-db-util/libslp-db-util.inc @@ -67,7 +67,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libslp-location/libslp-location.inc b/recipes-tizen/libslp-location/libslp-location.inc index 3267cce4..6394eac3 100644 --- a/recipes-tizen/libslp-location/libslp-location.inc +++ b/recipes-tizen/libslp-location/libslp-location.inc @@ -64,7 +64,7 @@ do_compile() { autotools_do_configure - make + make -j16 diff --git a/recipes-tizen/libslp-pm/libslp-pm.inc b/recipes-tizen/libslp-pm/libslp-pm.inc index 5be1610b..b64e1577 100644 --- a/recipes-tizen/libslp-pm/libslp-pm.inc +++ b/recipes-tizen/libslp-pm/libslp-pm.inc @@ -63,7 +63,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/libslp-sensor/libslp-sensor.inc b/recipes-tizen/libslp-sensor/libslp-sensor.inc index e3464c4a..b75a80de 100644 --- a/recipes-tizen/libslp-sensor/libslp-sensor.inc +++ b/recipes-tizen/libslp-sensor/libslp-sensor.inc @@ -69,7 +69,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libslp-sysman/libslp-sysman.inc b/recipes-tizen/libslp-sysman/libslp-sysman.inc index f7e987f7..32b92f8e 100644 --- a/recipes-tizen/libslp-sysman/libslp-sysman.inc +++ b/recipes-tizen/libslp-sysman/libslp-sysman.inc @@ -76,7 +76,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libsvi/libsvi-extraconf.inc b/recipes-tizen/libsvi/libsvi-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/libsvi/libsvi-extraconf.inc diff --git a/recipes-tizen/libsvi/libsvi.inc b/recipes-tizen/libsvi/libsvi.inc new file mode 100644 index 00000000..245a5783 --- /dev/null +++ b/recipes-tizen/libsvi/libsvi.inc @@ -0,0 +1,206 @@ +DESCRIPTION = "Feedback library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libfeedback-dev +PROVIDES += "libfeedback-dev" + + +#PROVIDES by libsvi + + +#PROVIDES by libsvi-dev +PROVIDES += "libsvi-dev" + + +#PROVIDES by svi-data +PROVIDES += "svi-data" + + +#PROVIDES by libfeedback +PROVIDES += "libfeedback" + + +RDEPENDS = "" +#RDEPENDS of libfeedback-dev (libfeedback-dev) +RDEPENDS_libfeedback-dev += "libfeedback" + +#RDEPENDS of libsvi (${PN}) +RDEPENDS_${PN} += "libfeedback" + +#RDEPENDS of libfeedback (libfeedback) +RDEPENDS_libfeedback += "eglibc" + +#RDEPENDS of libsvi-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libsvi" + + +DEPENDS = "" +#DEPENDS of libfeedback +DEPENDS += "libhaptic" +DEPENDS += "libmm-sound" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "libxml2" +DEPENDS += "tizen-platform-config" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "common" +DEPENDS += "vconf" + +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 + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/libsvi.manifest . + cp ${S}/packaging/libfeedback.manifest . + cp ${S}/packaging/svi-data.manifest . + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${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 -- + + mkdir -p ${D}${prefix}/share/license + cp LICENSE.APLv2 ${D}${prefix}/share/license/libfeedback + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libsvi() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_svi-data() { + #!/bin/sh -e + + rm -rf $D${prefix}/share/feedback/ + rm -rf /opt/usr/share/feedback/ + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libsvi() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libfeedback-dev " +PACKAGES += " svi-data " +PACKAGES += " libfeedback " +PACKAGES += " libsvi-dev " +PACKAGES += " libsvi " + +libfeedback-dev_files = "" +libfeedback-dev_files += "${prefix}/include/feedback/*.h" +libfeedback-dev_files += "${prefix}/lib/libfeedback.so" +libfeedback-dev_files += "${prefix}/lib/pkgconfig/feedback.pc" +MANIFESTFILES_libfeedback-dev = "libfeedback.manifest" + +svi-data_files = "" +svi-data_files += "${prefix}/share/feedback/*" +MANIFESTFILES_svi-data = "libfeedback.manifest" + +libfeedback_files = "" +libfeedback_files += "${prefix}/lib/libfeedback.so.*" +libfeedback_files += "${prefix}/share/license/libfeedback" +MANIFESTFILES_libfeedback = "libfeedback.manifest" + +libsvi-dev_files = "" +libsvi-dev_files += "${prefix}/include/svi/*.h" +libsvi-dev_files += "${prefix}/lib/libsvi.so" +libsvi-dev_files += "${prefix}/lib/pkgconfig/svi.pc" +MANIFESTFILES_${PN}-dev = "libfeedback.manifest" + +libsvi_files = "" +libsvi_files += "${prefix}/lib/libsvi.so.*" +MANIFESTFILES_${PN} = "libfeedback.manifest" + +FILES_libfeedback-dev = "${libfeedback-dev_files}" +FILES_svi-data = "${svi-data_files}" +FILES_libfeedback = "${libfeedback_files}" +FILES_${PN}-dev = "${libsvi-dev_files}" +FILES_${PN} = "${libsvi_files}" + +PKG_libfeedback-dev= "libfeedback-dev" +PKG_svi-data= "svi-data" +PKG_libfeedback= "libfeedback" +PKG_libsvi-dev= "libsvi-dev" +PKG_libsvi= "libsvi" + +require libsvi-extraconf.inc + diff --git a/recipes-tizen/libsvi/libsvi_git.bb b/recipes-tizen/libsvi/libsvi_git.bb new file mode 100644 index 00000000..9b2e9958 --- /dev/null +++ b/recipes-tizen/libsvi/libsvi_git.bb @@ -0,0 +1,10 @@ +require libsvi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libsvi;tag=cd42f792953e7add4f9f9724c1101de89ec05f3c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/libtapi-legacy/libtapi-legacy.inc b/recipes-tizen/libtapi-legacy/libtapi-legacy.inc index 983c58be..d6d6f52f 100644 --- a/recipes-tizen/libtapi-legacy/libtapi-legacy.inc +++ b/recipes-tizen/libtapi-legacy/libtapi-legacy.inc @@ -73,7 +73,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/libtapi/libtapi.inc b/recipes-tizen/libtapi/libtapi.inc index 6ed953ae..8080e1b5 100644 --- a/recipes-tizen/libtapi/libtapi.inc +++ b/recipes-tizen/libtapi/libtapi.inc @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DTAPI_VERSION=3.0.1 - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libtbm/libtbm.inc b/recipes-tizen/libtbm/libtbm.inc index 63c8fde3..b546ae9a 100644 --- a/recipes-tizen/libtbm/libtbm.inc +++ b/recipes-tizen/libtbm/libtbm.inc @@ -56,7 +56,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/libwebsockets/libwebsockets.inc b/recipes-tizen/libwebsockets/libwebsockets.inc index 617e7d95..6f28fea5 100644 --- a/recipes-tizen/libwebsockets/libwebsockets.inc +++ b/recipes-tizen/libwebsockets/libwebsockets.inc @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} -DWITH_SSL=On -DWITH_SD_DAEMON=ON - make + make -j16 diff --git a/recipes-tizen/location-manager/location-manager.inc b/recipes-tizen/location-manager/location-manager.inc index 47746d29..56a8b080 100644 --- a/recipes-tizen/location-manager/location-manager.inc +++ b/recipes-tizen/location-manager/location-manager.inc @@ -68,7 +68,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.11 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/lua/lua.inc b/recipes-tizen/lua/lua.inc index f65a44cf..6f250fc2 100644 --- a/recipes-tizen/lua/lua.inc +++ b/recipes-tizen/lua/lua.inc @@ -62,7 +62,7 @@ do_compile() { LD_AS_NEEDED=1; export LD_AS_NEEDED ; sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' src/luaconf.h - make ${PARALLEL_MAKE} -C src CC="${CC}" MYCFLAGS="$CFLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=5.1 all + make -j16 -C src CC="${CC}" MYCFLAGS="$CFLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=5.1 all diff --git a/recipes-tizen/media-content/media-content.inc b/recipes-tizen/media-content/media-content.inc index ab3a2baa..881d235e 100644 --- a/recipes-tizen/media-content/media-content.inc +++ b/recipes-tizen/media-content/media-content.inc @@ -71,7 +71,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.2.58 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/media-server/media-server.inc b/recipes-tizen/media-server/media-server.inc index 66a8e931..2198d8a6 100644 --- a/recipes-tizen/media-server/media-server.inc +++ b/recipes-tizen/media-server/media-server.inc @@ -77,7 +77,7 @@ do_compile() { mkdir -p m4 autotools_do_configure - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/message-port/message-port.inc b/recipes-tizen/message-port/message-port.inc index ac3172f2..2069c6a6 100644 --- a/recipes-tizen/message-port/message-port.inc +++ b/recipes-tizen/message-port/message-port.inc @@ -78,7 +78,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=1.2.2.1 -DMAJORVER=${MAJORVER} # Call make instruction with smp support - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/murphy/murphy.inc b/recipes-tizen/murphy/murphy.inc index ef6c67b9..9173861d 100644 --- a/recipes-tizen/murphy/murphy.inc +++ b/recipes-tizen/murphy/murphy.inc @@ -47,10 +47,6 @@ PROVIDES += "murphy-pulse-dev" PROVIDES += "murphy-tests" -#PROVIDES by murphy-system-controller -PROVIDES += "murphy-system-controller" - - #PROVIDES by murphy-glib PROVIDES += "murphy-glib" @@ -61,8 +57,8 @@ PROVIDES += "murphy-glib-dev" RDEPENDS = "" #RDEPENDS of murphy-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "json-c" RDEPENDS_${PN}-dev += "murphy" -RDEPENDS_${PN}-dev += "libjson-dev" #RDEPENDS of murphy-ecore (${PN}-ecore) RDEPENDS_${PN}-ecore += "murphy" @@ -85,9 +81,6 @@ RDEPENDS_${PN}-pulse-dev += "murphy" #RDEPENDS of murphy-tests (${PN}-tests) RDEPENDS_${PN}-tests += "murphy" -#RDEPENDS of murphy-system-controller (${PN}-system-controller) -RDEPENDS_${PN}-system-controller += "ico-uxf-homescreen" - #RDEPENDS of murphy-glib (${PN}-glib) RDEPENDS_${PN}-glib += "murphy" @@ -102,9 +95,7 @@ DEPENDS += "flex" DEPENDS += "systemd" DEPENDS += "smack" DEPENDS += "ofono" -DEPENDS += "ail" DEPENDS += "json-c" -DEPENDS += "libxml2" DEPENDS += "dbus" DEPENDS += "pulseaudio" DEPENDS += "glib-2.0" @@ -117,7 +108,6 @@ DEPENDS += "libwebsockets" DEPENDS += "libcap" DEPENDS += "mesa" DEPENDS += "audio-session-manager" -DEPENDS += "ico-uxf-weston-plugin" do_prep() { cd ${S} @@ -163,7 +153,7 @@ do_compile() { CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-smack" - CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-controller" + CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-system-controller" CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-monitor" @@ -243,8 +233,6 @@ do_install() { mkdir -p $RPM_BUILD_ROOT/lib/systemd/system mkdir -p $RPM_BUILD_ROOT/lib/systemd/user cp packaging.in/murphyd.service $RPM_BUILD_ROOT/lib/systemd/system - cp packaging.in/ico-homescreen.service $RPM_BUILD_ROOT/lib/systemd/user - cp packaging.in/murphy-wait-for-launchpad-ready.path $RPM_BUILD_ROOT/lib/systemd/user mkdir -p $RPM_BUILD_ROOT${sysconfdir}/dbus-1/system.d cp packaging.in/org.Murphy.conf $RPM_BUILD_ROOT${sysconfdir}/dbus-1/system.d/org.Murphy.conf @@ -256,7 +244,6 @@ do_install() { cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-glib.manifest cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-pulse.manifest cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-ecore.manifest - cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-system-controller.manifest } @@ -287,18 +274,6 @@ pkg_postinst_${PN}() { pkg_postinst_${PN}() { #!/bin/sh -e - # prevent system controller from starting - rm -f /lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path - # instead launch just ico-homescreen - rm -f /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path - ln -s /lib/systemd/user/murphy-wait-for-launchpad-ready.path \ - /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path - -} - -pkg_postinst_${PN}() { - #!/bin/sh -e - ldconfig } @@ -306,17 +281,6 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - rm -f /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path - if [ -f /lib/systemd/user/ico-uxf-wait-launchpad-ready.path ]; then - ln -sf /lib/systemd/user/ico-uxf-wait-launchpad-ready.path \ - /lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path - fi - -} - -pkg_postrm_${PN}() { - #!/bin/sh -e - if [ "$1" = "0" ]; then /bin/systemctl disable murphyd.service fi @@ -354,7 +318,6 @@ PACKAGES += " murphy-ivi-resource-manager " PACKAGES += " murphy-ecore-dev " PACKAGES += " murphy-pulse-dev " PACKAGES += " murphy-tests " -PACKAGES += " murphy-system-controller " PACKAGES += " murphy-glib " PACKAGES += " murphy-glib-dev " @@ -452,12 +415,6 @@ murphy-tests_files += "${prefix}/bin/test-domain-controller" murphy-tests_files += "${prefix}/bin/murphy-console" MANIFESTFILES_${PN}-tests = "${prefix}/share/murphy-tests.manifest" -murphy-system-controller_files = "" -murphy-system-controller_files += "${prefix}/lib/murphy/plugins/plugin-system-controller.so" -murphy-system-controller_files += "/lib/systemd/user/ico-homescreen.service" -murphy-system-controller_files += "/lib/systemd/user/murphy-wait-for-launchpad-ready.path" -MANIFESTFILES_${PN}-system-controller = "${prefix}/share/murphy-system-controller.manifest" - murphy-glib_files = "" murphy-glib_files += "${prefix}/lib/libmurphy-glib.so.*" MANIFESTFILES_${PN}-glib = "${prefix}/share/murphy-glib.manifest" @@ -476,7 +433,6 @@ FILES_${PN}-ivi-resource-manager = "${murphy-ivi-resource-manager_files}" FILES_${PN}-ecore-dev = "${murphy-ecore-dev_files}" FILES_${PN}-pulse-dev = "${murphy-pulse-dev_files}" FILES_${PN}-tests = "${murphy-tests_files}" -FILES_${PN}-system-controller = "${murphy-system-controller_files}" FILES_${PN}-glib = "${murphy-glib_files}" FILES_${PN}-glib-dev = "${murphy-glib-dev_files}" @@ -489,7 +445,6 @@ PKG_murphy-ivi-resource-manager= "murphy-ivi-resource-manager" PKG_murphy-ecore-dev= "murphy-ecore-dev" PKG_murphy-pulse-dev= "murphy-pulse-dev" PKG_murphy-tests= "murphy-tests" -PKG_murphy-system-controller= "murphy-system-controller" PKG_murphy-glib= "murphy-glib" PKG_murphy-glib-dev= "murphy-glib-dev" diff --git a/recipes-tizen/neardal/neardal-extraconf.inc b/recipes-tizen/neardal/neardal-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/neardal/neardal-extraconf.inc diff --git a/recipes-tizen/neardal/neardal.inc b/recipes-tizen/neardal/neardal.inc new file mode 100644 index 00000000..a66c97b4 --- /dev/null +++ b/recipes-tizen/neardal/neardal.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "Neard Abstraction Library (for Neard v0.7)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/NFC" +LICENSE = "LGPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by neardal-dev +PROVIDES += "neardal-dev" + + +#PROVIDES by neardal + + +RDEPENDS = "" +#RDEPENDS of neardal-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "neardal" + +#RDEPENDS of neardal (${PN}) +RDEPENDS_${PN} += "eglibc" + + +DEPENDS = "" +#DEPENDS of neardal +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +inherit pythonnative +DEPENDS += "dlog" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "glib-2.0" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "python-xml" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n neardal-0.7.0 + + +} +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 ; + + autoreconf --force --install + + + autotools_do_configure + make + + +} +EXTRA_OECONF += " --disable-traces --prefix=/usr" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${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 -- + + # executed after install + +} + +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 += " neardal-dev " +PACKAGES += " neardal " + +neardal-dev_files = "" +neardal-dev_files += "${prefix}/include/neardal/*.h" +neardal-dev_files += "${prefix}/lib/pkgconfig/neardal.pc" +neardal-dev_files += "${prefix}/lib/libneardal.so" + +neardal_files = "" +neardal_files += "README AUTHORS NEWS" +neardal_files += "${prefix}/lib/libneardal.so.0" +neardal_files += "${prefix}/lib/libneardal.so.0.0.1" + +FILES_${PN}-dev = "${neardal-dev_files}" +FILES_${PN} = "${neardal_files}" + +PKG_neardal-dev= "neardal-dev" +PKG_neardal= "neardal" + +require neardal-extraconf.inc + diff --git a/recipes-tizen/neardal/neardal_git.bb b/recipes-tizen/neardal/neardal_git.bb new file mode 100644 index 00000000..a0e15105 --- /dev/null +++ b/recipes-tizen/neardal/neardal_git.bb @@ -0,0 +1,10 @@ +require neardal.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neardal;tag=fe9042e311dc29c76b7c4b618f28ea1a517b6d7d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/nfc-manager-neard/nfc-manager-neard-extraconf.inc b/recipes-tizen/nfc-manager-neard/nfc-manager-neard-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/nfc-manager-neard/nfc-manager-neard-extraconf.inc diff --git a/recipes-tizen/nfc-manager-neard/nfc-manager-neard.inc b/recipes-tizen/nfc-manager-neard/nfc-manager-neard.inc new file mode 100644 index 00000000..e0413859 --- /dev/null +++ b/recipes-tizen/nfc-manager-neard/nfc-manager-neard.inc @@ -0,0 +1,221 @@ +DESCRIPTION = "NFC framework manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Flora" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by nfc-common-neard-dev +PROVIDES += "nfc-common-neard-dev" + + +#PROVIDES by nfc-client-lib-neard +PROVIDES += "nfc-client-lib-neard" + + +#PROVIDES by nfc-manager-neard + + +#PROVIDES by nfc-client-lib-neard-dev +PROVIDES += "nfc-client-lib-neard-dev" + + +RDEPENDS = "" +#RDEPENDS of nfc-client-lib-neard-dev (nfc-client-lib-neard-dev) +RDEPENDS_nfc-client-lib-neard-dev += "nfc-client-lib-neard" + +#RDEPENDS of nfc-manager-neard (${PN}) +RDEPENDS_${PN} += "neardal" +RDEPENDS_${PN} += "neard" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "nfc-client-lib-neard" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of nfc-manager-neard +DEPENDS += "security-server" +DEPENDS += "libtapi-legacy" +DEPENDS += "curl" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "slp-pkgmgr" +DEPENDS += "app-svc" +DEPENDS += "aul" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "bluetooth-frwk" +inherit pythonnative +DEPENDS += "libsvi" +DEPENDS += "tizen-platform-config" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgmgr-info" +DEPENDS += "python-xml" +DEPENDS += "ecore" +DEPENDS += "vconf" +DEPENDS += "libmm-sound" +DEPENDS += "wav-player" +DEPENDS += "wifi" +DEPENDS += "openssl" +DEPENDS += "neardal" +DEPENDS += "libslp-pm" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nfc-manager-neard.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 ; + + MAJORVER=`echo 0.1.6 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -DMAJORVER=${MAJORVER} -DFULLVER=0.1.6 \ + -DWAYLAND_SUPPORT=On \ + -DX11_SUPPORT=Off + + + + +} + +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 -- + + mkdir -p ${D}${prefix}/lib/systemd/system/multi-user.target.wants + cp -af ${S}/packaging/nfc-manager-neard.service ${D}${prefix}/lib/systemd/system/ + ln -s ../nfc-manager-neard.service ${D}${prefix}/lib/systemd/system/multi-user.target.wants/nfc-manager-neard.service + + +} + +pkg_postinst_nfc-client-lib-neard() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + USER_GROUP_ID=$(getent group users | cut -d: -f3) + vconftool set -t bool db/nfc/feature 0 -g $USER_GROUP_ID -f + vconftool set -t bool db/nfc/predefined_item_state 0 -g $USER_GROUP_ID -f + vconftool set -t string db/nfc/predefined_item "None" -g $USER_GROUP_ID -f + vconftool set -t bool db/nfc/enable 0 -g $USER_GROUP_ID -f + vconftool set -t int db/nfc/se_type 0 -g $USER_GROUP_ID -f + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl restart nfc-manager-neard.service + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + if [ $1 == 0 ]; then + systemctl stop nfc-manager-neard.service + fi + systemctl daemon-reload + +} + +pkg_postrm_nfc-client-lib-neard() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " nfc-client-lib-neard " +PACKAGES += " nfc-client-lib-neard-dev " +PACKAGES += " nfc-manager-neard " +PACKAGES += " nfc-common-neard-dev " + +nfc-client-lib-neard_files = "" +nfc-client-lib-neard_files += "${prefix}/lib/libnfc.so.*" +MANIFESTFILES_nfc-client-lib-neard = "nfc-manager-neard.manifest" + +nfc-client-lib-neard-dev_files = "" +nfc-client-lib-neard-dev_files += "${prefix}/lib/libnfc.so" +nfc-client-lib-neard-dev_files += "${prefix}/lib/pkgconfig/nfc.pc" +nfc-client-lib-neard-dev_files += "${prefix}/include/nfc/*.h" + +nfc-manager-neard_files = "" +nfc-manager-neard_files += "${prefix}/bin/nfc-manager-daemon" +nfc-manager-neard_files += "${prefix}/lib/systemd/system/nfc-manager-neard.service" +nfc-manager-neard_files += "${prefix}/lib/systemd/system/multi-user.target.wants/nfc-manager-neard.service" +nfc-manager-neard_files += "${prefix}/share/dbus-1/system-services/org.tizen.NetNfcService.service" +nfc-manager-neard_files += "${prefix}/share/packages/nfc-manager.xml" +nfc-manager-neard_files += "${prefix}/share/nfc-manager-daemon/sounds/*" +MANIFESTFILES_${PN} = "nfc-manager-neard.manifest" + +nfc-common-neard-dev_files = "" +nfc-common-neard-dev_files += "${prefix}/lib/pkgconfig/nfc-common.pc" +nfc-common-neard-dev_files += "${prefix}/include/nfc-common/*.h" + +FILES_nfc-client-lib-neard = "${nfc-client-lib-neard_files}" +FILES_nfc-client-lib-neard-dev = "${nfc-client-lib-neard-dev_files}" +FILES_${PN} = "${nfc-manager-neard_files}" +FILES_nfc-common-neard-dev = "${nfc-common-neard-dev_files}" + +PKG_nfc-client-lib-neard= "nfc-client-lib-neard" +PKG_nfc-client-lib-neard-dev= "nfc-client-lib-neard-dev" +PKG_nfc-manager-neard= "nfc-manager-neard" +PKG_nfc-common-neard-dev= "nfc-common-neard-dev" + +require nfc-manager-neard-extraconf.inc + diff --git a/recipes-tizen/nfc-manager-neard/nfc-manager-neard_git.bb b/recipes-tizen/nfc-manager-neard/nfc-manager-neard_git.bb new file mode 100644 index 00000000..bebfdb67 --- /dev/null +++ b/recipes-tizen/nfc-manager-neard/nfc-manager-neard_git.bb @@ -0,0 +1,10 @@ +require nfc-manager-neard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/nfc-manager-neard;tag=ac694692b7c658230610cee0e9e25012fed6c99f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/nfc/nfc-extraconf.inc b/recipes-tizen/nfc/nfc-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/nfc/nfc-extraconf.inc diff --git a/recipes-tizen/nfc/nfc.inc b/recipes-tizen/nfc/nfc.inc new file mode 100644 index 00000000..04a8198a --- /dev/null +++ b/recipes-tizen/nfc/nfc.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "NFC Core API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-nfc +PROVIDES += "capi-network-nfc" + + +#PROVIDES by capi-network-nfc-dev +PROVIDES += "capi-network-nfc-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-network-nfc (capi-network-${PN}) +RDEPENDS_capi-network-${PN} += "eglibc" + +#RDEPENDS of capi-network-nfc-dev (capi-network-${PN}-dev) +RDEPENDS_capi-network-${PN}-dev += "capi-network-nfc" + + +DEPENDS = "" +#DEPENDS of capi-network-nfc +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "vconf" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "common" +DEPENDS += "nfc-manager-neard" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-nfc.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 ; + + MAJORVER=`echo 0.1.5 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.5 -DMAJORVER=${MAJORVER} \ + -DX11_SUPPORT=Off + + make -j16 + + + +} + +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 -- + + +} + +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 += " capi-network-nfc " +PACKAGES += " capi-network-nfc-dev " + +capi-network-nfc_files = "" +capi-network-nfc_files += "${prefix}/lib/libcapi-network-nfc.so.*" +MANIFESTFILES_capi-network-${PN} = "capi-network-nfc.manifest" + +capi-network-nfc-dev_files = "" +capi-network-nfc-dev_files += "${prefix}/include/network/*.h" +capi-network-nfc-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-nfc-dev_files += "${prefix}/lib/libcapi-network-nfc.so" +MANIFESTFILES_capi-network-${PN}-dev = "capi-network-nfc.manifest" + +FILES_capi-network-${PN} = "${capi-network-nfc_files}" +FILES_capi-network-${PN}-dev = "${capi-network-nfc-dev_files}" + +PKG_capi-network-nfc= "capi-network-nfc" +PKG_capi-network-nfc-dev= "capi-network-nfc-dev" + +require nfc-extraconf.inc + diff --git a/recipes-tizen/nfc/nfc_git.bb b/recipes-tizen/nfc/nfc_git.bb new file mode 100644 index 00000000..ba1d1aac --- /dev/null +++ b/recipes-tizen/nfc/nfc_git.bb @@ -0,0 +1,10 @@ +require nfc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/nfc;tag=97257ca5d438a8cc92aab39e70041920fd3e4d2f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/notification/notification.inc b/recipes-tizen/notification/notification.inc index 7541e624..4705ddcd 100644 --- a/recipes-tizen/notification/notification.inc +++ b/recipes-tizen/notification/notification.inc @@ -90,7 +90,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/package-manager/package-manager.inc b/recipes-tizen/package-manager/package-manager.inc index 25c7d637..a2e6b565 100644 --- a/recipes-tizen/package-manager/package-manager.inc +++ b/recipes-tizen/package-manager/package-manager.inc @@ -74,7 +74,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.0.29 -DMAJORVER=${MAJORVER} - make + make -j16 diff --git a/recipes-tizen/phoned/phoned.inc b/recipes-tizen/phoned/phoned.inc index 4756f1ec..137e3a40 100644 --- a/recipes-tizen/phoned/phoned.inc +++ b/recipes-tizen/phoned/phoned.inc @@ -55,7 +55,7 @@ do_compile() { cmake . -DCMAKE_INSTALL_PREFIX=${prefix} -DENABLE_TIME_TRACER="OFF" - make VERBOSE=1 + make -j16 VERBOSE=1 diff --git a/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc b/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/pims-ipc/pims-ipc-extraconf.inc diff --git a/recipes-tizen/pims-ipc/pims-ipc.inc b/recipes-tizen/pims-ipc/pims-ipc.inc new file mode 100644 index 00000000..002dfc97 --- /dev/null +++ b/recipes-tizen/pims-ipc/pims-ipc.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "library for PIMs IPC" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pims-ipc + + +#PROVIDES by pims-ipc-dev +PROVIDES += "pims-ipc-dev" + + +RDEPENDS = "" +#RDEPENDS of pims-ipc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "pims-ipc" + + +DEPENDS = "" +#DEPENDS of pims-ipc +DEPENDS += "systemd" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "zeromq" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pims-ipc.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 ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +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 -- + + + +} + +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 += " pims-ipc " +PACKAGES += " pims-ipc-dev " + +pims-ipc_files = "" +pims-ipc_files += "${prefix}/lib/libpims-ipc.so.*" +MANIFESTFILES_${PN} = "pims-ipc.manifest" + +pims-ipc-dev_files = "" +pims-ipc-dev_files += "${prefix}/include/pims-ipc/*.h" +pims-ipc-dev_files += "${prefix}/lib/*.so" +pims-ipc-dev_files += "${prefix}/lib/pims_ipc_test" +pims-ipc-dev_files += "${prefix}/lib/pkgconfig/pims-ipc.pc" +MANIFESTFILES_${PN}-dev = "pims-ipc.manifest" + +FILES_${PN} = "${pims-ipc_files}" +FILES_${PN}-dev = "${pims-ipc-dev_files}" + +PKG_pims-ipc= "pims-ipc" +PKG_pims-ipc-dev= "pims-ipc-dev" + +require pims-ipc-extraconf.inc + diff --git a/recipes-tizen/pims-ipc/pims-ipc_git.bb b/recipes-tizen/pims-ipc/pims-ipc_git.bb new file mode 100644 index 00000000..6872f77d --- /dev/null +++ b/recipes-tizen/pims-ipc/pims-ipc_git.bb @@ -0,0 +1,10 @@ +require pims-ipc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/pims-ipc;tag=9300ed95d75b0d3c6dc0805d60f08eff7fc907a2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/pkgmgr-info/pkgmgr-info.inc b/recipes-tizen/pkgmgr-info/pkgmgr-info.inc index 9c83637d..52003111 100644 --- a/recipes-tizen/pkgmgr-info/pkgmgr-info.inc +++ b/recipes-tizen/pkgmgr-info/pkgmgr-info.inc @@ -86,7 +86,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/power/power.inc b/recipes-tizen/power/power.inc index a6bf07aa..e3f493fb 100644 --- a/recipes-tizen/power/power.inc +++ b/recipes-tizen/power/power.inc @@ -70,7 +70,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/privacy-manager/privacy-manager.inc b/recipes-tizen/privacy-manager/privacy-manager.inc index f8cda109..06d75775 100644 --- a/recipes-tizen/privacy-manager/privacy-manager.inc +++ b/recipes-tizen/privacy-manager/privacy-manager.inc @@ -121,7 +121,7 @@ do_compile() { -DVERSION=0.0.4 \ -DFILTER_LISTED_PKG=ON \ -DPRIVACY_POPUP=OFF - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc b/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/python-setuptools/python-setuptools-extraconf.inc diff --git a/recipes-tizen/python-setuptools/python-setuptools.inc b/recipes-tizen/python-setuptools/python-setuptools.inc new file mode 100644 index 00000000..9167d70e --- /dev/null +++ b/recipes-tizen/python-setuptools/python-setuptools.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Easily build and distribute Python packages" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Python or ZPLv2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by python-setuptools-dev +PROVIDES += "python-setuptools-dev" + + +#PROVIDES by python-setuptools + + +RDEPENDS = "" +#RDEPENDS of python-setuptools-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "python" +RDEPENDS_${PN}-dev += "python-setuptools" + + +DEPENDS = "" +#DEPENDS of python-setuptools +inherit pythonnative + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n setuptools-0.6c11 + + +} +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 ; + + cp ${S}/packaging/python-setuptools.manifest . + find -name '*.txt' | xargs chmod -x + find -name '*.py' | xargs sed -i '1s|^#!python|#!/usr/bin/python|' + CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + /usr/bin/python setup.py install -O1 --skip-build \ + --root $RPM_BUILD_ROOT \ + --prefix ${prefix} \ + --single-version-externally-managed + + rm -rf $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages/setuptools/tests + + install -p -m 0644 ${S}/packaging/psfl.txt ${S}/packaging/zpl.txt . + find $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages -name '*.exe' | xargs rm -f + chmod +x $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages/setuptools/command/easy_install.py + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " python-setuptools-dev " +PACKAGES += " python-setuptools " + +python-setuptools-dev_files = "" +python-setuptools-dev_files += "${prefix}/lib/python2.7/site-packages/easy_install*" +python-setuptools-dev_files += "${prefix}/bin/*" +MANIFESTFILES_${PN}-dev = "python-setuptools.manifest" + +python-setuptools_files = "" +python-setuptools_files += "${prefix}/lib/python2.7/site-packages/*" +MANIFESTFILES_${PN} = "python-setuptools.manifest" + +FILES_${PN}-dev = "${python-setuptools-dev_files}" +FILES_${PN} = "${python-setuptools_files}" + +PKG_python-setuptools-dev= "python-setuptools-dev" +PKG_python-setuptools= "python-setuptools" + +require python-setuptools-extraconf.inc + diff --git a/recipes-tizen/python-setuptools/python-setuptools_git.bb b/recipes-tizen/python-setuptools/python-setuptools_git.bb new file mode 100644 index 00000000..f78e60c8 --- /dev/null +++ b/recipes-tizen/python-setuptools/python-setuptools_git.bb @@ -0,0 +1,10 @@ +require python-setuptools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-setuptools;tag=556fe37505b60a30d7e053d95d8a9aeb789a7b30;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/rpm/rpm.inc b/recipes-tizen/rpm/rpm.inc index 5457a647..649a6cbf 100644 --- a/recipes-tizen/rpm/rpm.inc +++ b/recipes-tizen/rpm/rpm.inc @@ -147,7 +147,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/runtime-info/runtime-info.inc b/recipes-tizen/runtime-info/runtime-info.inc index 41930e1e..1c6f3081 100644 --- a/recipes-tizen/runtime-info/runtime-info.inc +++ b/recipes-tizen/runtime-info/runtime-info.inc @@ -72,7 +72,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DFULLVER=0.0.3 -DMAJORVER=${MAJORVER} - make + make -j16 diff --git a/recipes-tizen/rygel/rygel.inc b/recipes-tizen/rygel/rygel.inc index 27cc3a62..876d50a6 100644 --- a/recipes-tizen/rygel/rygel.inc +++ b/recipes-tizen/rygel/rygel.inc @@ -41,8 +41,8 @@ DEPENDS_append_class-native = " intltool-native" DEPENDS_append_class-target = " intltool-native" DEPENDS += "libgee" DEPENDS += "gupnp-av" -DEPENDS += "libxslt-tools" DEPENDS += "sqlite3" +DEPENDS += "libxslt" DEPENDS += "glib-2.0" DEPENDS += "gstreamer1.0" DEPENDS += "dbus-glib" diff --git a/recipes-tizen/security-server/security-server.inc b/recipes-tizen/security-server/security-server.inc index aa50e8f1..4e9a77a4 100644 --- a/recipes-tizen/security-server/security-server.inc +++ b/recipes-tizen/security-server/security-server.inc @@ -103,7 +103,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DVERSION=0.1.1 \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_VERBOSE_MAKEFILE=ON - make + make -j16 diff --git a/recipes-tizen/sensor/sensor.inc b/recipes-tizen/sensor/sensor.inc index bc7ae168..f33bd2f9 100644 --- a/recipes-tizen/sensor/sensor.inc +++ b/recipes-tizen/sensor/sensor.inc @@ -71,7 +71,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DFULLVER=0.1.17 -DMAJORVER=${MAJORVER} - make + make -j16 diff --git a/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc index 953cbc89..9d192065 100644 --- a/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc +++ b/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc @@ -116,7 +116,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -DX11_SUPPORT=Off - make + make -j16 diff --git a/recipes-tizen/smack/smack.inc b/recipes-tizen/smack/smack.inc index 3286ed09..6225cc21 100644 --- a/recipes-tizen/smack/smack.inc +++ b/recipes-tizen/smack/smack.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/sound-manager/sound-manager.inc b/recipes-tizen/sound-manager/sound-manager.inc index 353527c2..a5795f19 100644 --- a/recipes-tizen/sound-manager/sound-manager.inc +++ b/recipes-tizen/sound-manager/sound-manager.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} - oe_runmake + oe_runmake -j16 diff --git a/recipes-tizen/sphinxbase/sphinxbase.inc b/recipes-tizen/sphinxbase/sphinxbase.inc index 80efdfa5..d47c0e91 100644 --- a/recipes-tizen/sphinxbase/sphinxbase.inc +++ b/recipes-tizen/sphinxbase/sphinxbase.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/status/status.inc b/recipes-tizen/status/status.inc index fc0f0730..219ebc96 100644 --- a/recipes-tizen/status/status.inc +++ b/recipes-tizen/status/status.inc @@ -71,7 +71,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/syspopup/syspopup.inc b/recipes-tizen/syspopup/syspopup.inc index 18eabdd6..60bc72db 100644 --- a/recipes-tizen/syspopup/syspopup.inc +++ b/recipes-tizen/syspopup/syspopup.inc @@ -89,7 +89,7 @@ do_compile() { -Dwith_wayland=TRUE \ -DEXTRA_CFLAGS=-fPIC - make + make -j16 diff --git a/recipes-tizen/system-info/system-info.inc b/recipes-tizen/system-info/system-info.inc index 4f7de9b0..6afd2353 100644 --- a/recipes-tizen/system-info/system-info.inc +++ b/recipes-tizen/system-info/system-info.inc @@ -72,7 +72,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DFULLVER=0.2.0 -DMAJORVER=${MAJORVER} -DENABLE_WAYLAND=TRUE - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/system-settings/system-settings.inc b/recipes-tizen/system-settings/system-settings.inc index d98cfbb7..f14ab600 100644 --- a/recipes-tizen/system-settings/system-settings.inc +++ b/recipes-tizen/system-settings/system-settings.inc @@ -80,7 +80,7 @@ do_compile() { -DX11_SUPPORT=Off \ -DWAYLAND_SUPPORT=On - make + make -j16 diff --git a/recipes-tizen/systemd/systemd.inc b/recipes-tizen/systemd/systemd.inc index 7772b10b..ebc1b1cf 100644 --- a/recipes-tizen/systemd/systemd.inc +++ b/recipes-tizen/systemd/systemd.inc @@ -131,7 +131,7 @@ do_compile() { intltoolize --force --automake autotools_do_configure - oe_runmake ${PARALLEL_MAKE} systemunitdir=/lib/systemd/system userunitdir=/lib/systemd/user + oe_runmake -j16 systemunitdir=/lib/systemd/system userunitdir=/lib/systemd/user diff --git a/recipes-tizen/systemd/systemd_git.bb b/recipes-tizen/systemd/systemd_git.bb index 656d31a7..0f050528 100644 --- a/recipes-tizen/systemd/systemd_git.bb +++ b/recipes-tizen/systemd/systemd_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=9d65b1f0d7a6d88e3255b8bb47688ea6a8408927;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=4598371276d8e2311bc356fa4f39a96f05373d0c;nobranch=1" BBCLASSEXTEND += " native " diff --git a/recipes-tizen/tethering/tethering.inc b/recipes-tizen/tethering/tethering.inc index 443c20f6..43bbbbbe 100644 --- a/recipes-tizen/tethering/tethering.inc +++ b/recipes-tizen/tethering/tethering.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . -DARCH=i586 - make + make -j16 diff --git a/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc b/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc index 1941dbc7..87db5d29 100644 --- a/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc +++ b/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc @@ -51,7 +51,7 @@ RDEPENDS_${PN}-system-info-demo += "tizen-extensions-crosswalk" DEPENDS = "" #DEPENDS of tizen-extensions-crosswalk -DEPENDS += "udev" +DEPENDS += "libgsignon-glib" DEPENDS += "app-core" DEPENDS += "runtime-info" DEPENDS += "dbus-glib" @@ -69,20 +69,22 @@ DEPENDS += "power" inherit pythonnative DEPENDS += "evas" DEPENDS += "tizen-platform-config" -DEPENDS += "pulseaudio" DEPENDS += "pkgmgr-info" +DEPENDS += "udev" DEPENDS += "favorites" DEPENDS += "device" DEPENDS_append_class-native = " ninja-native" DEPENDS_append_class-target = " ninja-native" DEPENDS += "bluetooth" DEPENDS += "vconf" +DEPENDS += "nfc" DEPENDS += "url-download" -DEPENDS += "libtapi-legacy" +DEPENDS += "pulseaudio" DEPENDS += "bluez4" DEPENDS += "connection" DEPENDS += "notification" DEPENDS += "libslp-pm" +DEPENDS += "libtapi-legacy" DEPENDS += "message-port" do_prep() { @@ -123,7 +125,7 @@ do_compile() { ./tools/gyp/gyp $GYP_OPTIONS tizen-wrt.gyp - ninja -C out/Default ${PARALLEL_MAKE} + ninja -C out/Default -j16 diff --git a/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb b/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb index 01651a7d..2c487491 100644 --- a/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb +++ b/recipes-tizen/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/tizen-extensions-crosswalk;tag=18148cb6320e89e82451e34278e7bf731fd9b1e4;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/tizen-extensions-crosswalk;tag=789c0d714fad4d650f573fb3c70defd85cfc74cc;nobranch=1" BBCLASSEXTEND += " native " diff --git a/recipes-tizen/tizen-platform-config/tizen-platform-config.inc b/recipes-tizen/tizen-platform-config/tizen-platform-config.inc index fa893433..fbc9e1ed 100644 --- a/recipes-tizen/tizen-platform-config/tizen-platform-config.inc +++ b/recipes-tizen/tizen-platform-config/tizen-platform-config.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 exit 0 oe_runmake check diff --git a/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc b/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc index b385a32b..f2b98b32 100644 --- a/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc +++ b/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc @@ -46,7 +46,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc b/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/update-desktop-files/update-desktop-files-extraconf.inc diff --git a/recipes-tizen/update-desktop-files/update-desktop-files.inc b/recipes-tizen/update-desktop-files/update-desktop-files.inc new file mode 100644 index 00000000..3c9dfb67 --- /dev/null +++ b/recipes-tizen/update-desktop-files/update-desktop-files.inc @@ -0,0 +1,95 @@ +DESCRIPTION = "A Build Tool to Update Desktop Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools/Building" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by update-desktop-files + + +#PROVIDES by brp-trim-desktopfiles +PROVIDES += "brp-trim-desktopfiles" + + +RDEPENDS = "" +#RDEPENDS of update-desktop-files (${PN}) +RDEPENDS_${PN} += "desktop-file-utils" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n . -D -T 0 + cp ${S}/packaging/update-desktop-files.manifest . + mkdir update-desktop-files + cd update-desktop-files + + +} +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 ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p $RPM_BUILD_ROOT/usr/share/spec2yocto/macro + install -m0755 ${S}/packaging/tizen_update_desktop_file.sh ${S}/packaging/map-desktop-category.sh $RPM_BUILD_ROOT/usr/share/spec2yocto/macro + install -m0644 -D ${S}/packaging/macro $RPM_BUILD_ROOT/etc/rpm/macros.update-desktop-files + install -m0755 -D ${S}/packaging/brp-trim-desktop.sh $RPM_BUILD_ROOT/usr/lib/rpm/brp-tizen.d/brp-70-trim-desktopfiles + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " brp-trim-desktopfiles " +PACKAGES += " update-desktop-files " + +brp-trim-desktopfiles_files = "" +brp-trim-desktopfiles_files += "/usr/share/spec2yocto/macro/brp-tizen.d" +MANIFESTFILES_brp-trim-desktopfiles = "update-desktop-files.manifest" + +update-desktop-files_files = "" +update-desktop-files_files += "/usr/share/spec2yocto/macro/*" +update-desktop-files_files += "/etc/rpm/*" +MANIFESTFILES_${PN} = "update-desktop-files.manifest" + +FILES_brp-trim-desktopfiles = "${brp-trim-desktopfiles_files}" +FILES_${PN} = "${update-desktop-files_files}" + +PKG_brp-trim-desktopfiles= "brp-trim-desktopfiles" +PKG_update-desktop-files= "update-desktop-files" + +require update-desktop-files-extraconf.inc + diff --git a/recipes-tizen/update-desktop-files/update-desktop-files_git.bb b/recipes-tizen/update-desktop-files/update-desktop-files_git.bb new file mode 100644 index 00000000..6c61e252 --- /dev/null +++ b/recipes-tizen/update-desktop-files/update-desktop-files_git.bb @@ -0,0 +1,10 @@ +require update-desktop-files.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-desktop-files;tag=0712f9c0f8b5baffbe82ae63fc0fb8efc4078844;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/url-download/url-download.inc b/recipes-tizen/url-download/url-download.inc index d47c474a..a82f50ea 100644 --- a/recipes-tizen/url-download/url-download.inc +++ b/recipes-tizen/url-download/url-download.inc @@ -68,7 +68,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make + make -j16 diff --git a/recipes-tizen/user-session-units/user-session-units.inc b/recipes-tizen/user-session-units/user-session-units.inc index bbc1f598..a3fc4c62 100644 --- a/recipes-tizen/user-session-units/user-session-units.inc +++ b/recipes-tizen/user-session-units/user-session-units.inc @@ -61,7 +61,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc b/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc index 0e55b299..1fd3ce0c 100644 --- a/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc +++ b/recipes-tizen/vconf-internal-keys/vconf-internal-keys.inc @@ -61,7 +61,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/vconf/vconf.inc b/recipes-tizen/vconf/vconf.inc index bb3bf090..b473533a 100644 --- a/recipes-tizen/vconf/vconf.inc +++ b/recipes-tizen/vconf/vconf.inc @@ -82,7 +82,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -DTZ_SYS_CONFIG=${prefix}/kdb - make + make -j16 diff --git a/recipes-tizen/wav-player/wav-player-extraconf.inc b/recipes-tizen/wav-player/wav-player-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/wav-player/wav-player-extraconf.inc diff --git a/recipes-tizen/wav-player/wav-player.inc b/recipes-tizen/wav-player/wav-player.inc new file mode 100644 index 00000000..624d473e --- /dev/null +++ b/recipes-tizen/wav-player/wav-player.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "A wav player library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-media-wav-player-dev +PROVIDES += "capi-media-wav-player-dev" + + +#PROVIDES by capi-media-wav-player +PROVIDES += "capi-media-wav-player" + + +RDEPENDS = "" +#RDEPENDS of capi-media-wav-player-dev (capi-media-${PN}-dev) +RDEPENDS_capi-media-${PN}-dev += "capi-media-wav-player" + + +DEPENDS = "" +#DEPENDS of capi-media-wav-player +DEPENDS += "libmm-sound" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "common" +DEPENDS += "dlog" +DEPENDS += "sound-manager" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-wav-player.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 ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +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 -- + + +} + +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 += " capi-media-wav-player-dev " +PACKAGES += " capi-media-wav-player " + +capi-media-wav-player-dev_files = "" +capi-media-wav-player-dev_files += "${prefix}/include/media/*.h" +capi-media-wav-player-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-media-wav-player-dev_files += "${prefix}/lib/libcapi-media-wav-player.so" +MANIFESTFILES_capi-media-${PN}-dev = "capi-media-wav-player.manifest" + +capi-media-wav-player_files = "" +capi-media-wav-player_files += "${prefix}/lib/libcapi-media-wav-player.so.*" +MANIFESTFILES_capi-media-${PN} = "capi-media-wav-player.manifest" + +FILES_capi-media-${PN}-dev = "${capi-media-wav-player-dev_files}" +FILES_capi-media-${PN} = "${capi-media-wav-player_files}" + +PKG_capi-media-wav-player-dev= "capi-media-wav-player-dev" +PKG_capi-media-wav-player= "capi-media-wav-player" + +require wav-player-extraconf.inc + diff --git a/recipes-tizen/wav-player/wav-player_git.bb b/recipes-tizen/wav-player/wav-player_git.bb new file mode 100644 index 00000000..7668511c --- /dev/null +++ b/recipes-tizen/wav-player/wav-player_git.bb @@ -0,0 +1,10 @@ +require wav-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;tag=1607cdbbb1fa3f0d1c1bc47b14a7d16d94ca815c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc index 38bfbe76..829c3319 100644 --- a/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc +++ b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc @@ -22,7 +22,7 @@ PROVIDES += "genivi-shell-dev" RDEPENDS = "" #RDEPENDS of genivi-shell-dev (genivi-shell-dev) -RDEPENDS_genivi-shell-dev += "genivi-shell" +RDEPENDS_genivi-shell-dev += "wayland-ivi-extension" DEPENDS = "" @@ -75,7 +75,7 @@ do_compile() { LD_AS_NEEDED=1; export LD_AS_NEEDED ; - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/weston-common/weston-common.inc b/recipes-tizen/weston-common/weston-common.inc index 3dce2aac..b7815c4e 100644 --- a/recipes-tizen/weston-common/weston-common.inc +++ b/recipes-tizen/weston-common/weston-common.inc @@ -79,7 +79,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc b/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc index ac521362..020a9119 100644 --- a/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc +++ b/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc @@ -29,8 +29,8 @@ RDEPENDS_${PN}-dev += "weston-ivi-shell" #RDEPENDS of weston-ivi-shell-config (${PN}-config) RDEPENDS_${PN}-config += "weekeyboard" +RDEPENDS_${PN}-config += "wayland-ivi-extension" RDEPENDS_${PN}-config += "weston-clients" -RDEPENDS_${PN}-config += "genivi-shell" #RDEPENDS of weston-ivi-shell (${PN}) RDEPENDS_${PN} += "weston" @@ -83,7 +83,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/recipes-tizen/wifi/wifi-extraconf.inc b/recipes-tizen/wifi/wifi-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/wifi/wifi-extraconf.inc diff --git a/recipes-tizen/wifi/wifi.inc b/recipes-tizen/wifi/wifi.inc new file mode 100644 index 00000000..9a918627 --- /dev/null +++ b/recipes-tizen/wifi/wifi.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Network Wi-Fi library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-wifi-dev +PROVIDES += "capi-network-wifi-dev" + + +#PROVIDES by capi-network-wifi +PROVIDES += "capi-network-wifi" + + +RDEPENDS = "" +#RDEPENDS of capi-network-wifi-dev (capi-network-${PN}-dev) +RDEPENDS_capi-network-${PN}-dev += "capi-network-wifi" + + +DEPENDS = "" +#DEPENDS of capi-network-wifi +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "common" +DEPENDS += "vconf" +DEPENDS += "libnet-client" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-wifi.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 ; + + MAJORVER=`echo 0.1.2_18 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.2_18 -DMAJORVER=${MAJORVER} + + make -j16 + + + + +} + +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 -- + + #License + mkdir -p ${D}${prefix}/share/license + cp LICENSE.APLv2 ${D}${prefix}/share/license/capi-network-wifi + + +} + +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 += " capi-network-wifi-dev " +PACKAGES += " capi-network-wifi " + +capi-network-wifi-dev_files = "" +capi-network-wifi-dev_files += "${prefix}/include/network/*.h" +capi-network-wifi-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-wifi-dev_files += "${prefix}/lib/libcapi-network-wifi.so" +MANIFESTFILES_capi-network-${PN}-dev = "capi-network-wifi.manifest" + +capi-network-wifi_files = "" +capi-network-wifi_files += "${prefix}/lib/libcapi-network-wifi.so.*" +capi-network-wifi_files += "${prefix}/share/license/capi-network-wifi" +MANIFESTFILES_capi-network-${PN} = "capi-network-wifi.manifest" + +FILES_capi-network-${PN}-dev = "${capi-network-wifi-dev_files}" +FILES_capi-network-${PN} = "${capi-network-wifi_files}" + +PKG_capi-network-wifi-dev= "capi-network-wifi-dev" +PKG_capi-network-wifi= "capi-network-wifi" + +require wifi-extraconf.inc + diff --git a/recipes-tizen/wifi/wifi_git.bb b/recipes-tizen/wifi/wifi_git.bb new file mode 100644 index 00000000..b6583305 --- /dev/null +++ b/recipes-tizen/wifi/wifi_git.bb @@ -0,0 +1,10 @@ +require wifi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi;tag=391e3b9f55f1dc7339c6aba23738c6bdf116eb77;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/xdgmime/xdgmime.inc b/recipes-tizen/xdgmime/xdgmime.inc index 9c6c62bd..63813ab2 100644 --- a/recipes-tizen/xdgmime/xdgmime.inc +++ b/recipes-tizen/xdgmime/xdgmime.inc @@ -63,7 +63,7 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 |