summaryrefslogtreecommitdiff
path: root/meta-tizen-common-share
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-11-12 15:35:26 +0100
committerRonan Le Martret <ronan@fridu.net>2014-11-12 15:35:26 +0100
commita5e4e2869f9e80fe9fea02ea5c37291b1d4526fc (patch)
treed163ecb60b37c2094c054fb1caccbf8425c30222 /meta-tizen-common-share
parentb0c05f1aaac8cc251256fcb7f694de64f99d19f6 (diff)
downloadmeta-tizen-a5e4e2869f9e80fe9fea02ea5c37291b1d4526fc.tar.gz
meta-tizen-a5e4e2869f9e80fe9fea02ea5c37291b1d4526fc.tar.bz2
meta-tizen-a5e4e2869f9e80fe9fea02ea5c37291b1d4526fc.zip
add ofono pkg
Change-Id: I96b25c8dcc737d0677543ea4afc8344f5b0feafc
Diffstat (limited to 'meta-tizen-common-share')
-rw-r--r--meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc0
-rw-r--r--meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc97
-rw-r--r--meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb10
-rw-r--r--meta-tizen-common-share/recipes-connectivity/ofono/ofono-extraconf.inc0
-rw-r--r--meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc165
-rw-r--r--meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb10
6 files changed, 282 insertions, 0 deletions
diff --git a/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info-extraconf.inc
diff --git a/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc
new file mode 100644
index 00000000..a4dc7360
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc
@@ -0,0 +1,97 @@
+DESCRIPTION = "Moblie Broadband Dataprovider Database"
+HOMEPAGE = "http://www.gnome.org"
+SECTION = "Applications/Internet"
+LICENSE = "Creative Commons Public Domain"
+PV = "20120614"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit manifest autotools-brokensep
+
+BBCLASSEXTEND = ""
+PROVIDES = ""
+
+#PROVIDES by mobile-broadband-provider-info
+
+
+RDEPENDS = ""
+
+DEPENDS = ""
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/mobile-broadband-provider-info.manifest .
+
+
+
+}
+do_patch_append() {
+ bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ;
+
+
+
+ autotools_do_configure
+ make -j16
+
+
+
+}
+EXTRA_OECONF += " --disable-static"
+
+do_install() {
+ export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D}
+ mkdir -p ${D}
+
+
+ oe_runmake \
+ DESTDIR=${D} \
+ INSTALL_ROOT=${D} \
+ BINDIR=${prefix}/bin \
+ install
+ rm -f ${D}${infodir}/dir
+ find ${D} -regex ".*\.la$" | xargs rm -f --
+ find ${D} -regex ".*\.a$" | xargs rm -f --
+
+
+
+
+
+
+
+
+}
+
+PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
+PACKAGES += " mobile-broadband-provider-info "
+
+mobile-broadband-provider-info_files = ""
+mobile-broadband-provider-info_files += "${prefix}/share/pkgconfig/mobile-broadband-provider-info.pc"
+mobile-broadband-provider-info_files += "${prefix}/share/mobile-broadband-provider-info/*"
+MANIFESTFILES_${PN} = "mobile-broadband-provider-info.manifest"
+
+FILES_${PN} = "${mobile-broadband-provider-info_files}"
+
+PKG_mobile-broadband-provider-info= "mobile-broadband-provider-info"
+
+require mobile-broadband-provider-info-extraconf.inc
+
diff --git a/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
new file mode 100644
index 00000000..12eb3000
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
@@ -0,0 +1,10 @@
+require mobile-broadband-provider-info.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/upstream/mobile-broadband-provider-info;tag=8a9d3c13cfccb63b48f9818aca07036e32c90396;nobranch=1"
+
+BBCLASSEXTEND += " native "
+
diff --git a/meta-tizen-common-share/recipes-connectivity/ofono/ofono-extraconf.inc b/meta-tizen-common-share/recipes-connectivity/ofono/ofono-extraconf.inc
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/ofono/ofono-extraconf.inc
diff --git a/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc b/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc
new file mode 100644
index 00000000..ccbc00e5
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc
@@ -0,0 +1,165 @@
+DESCRIPTION = "Open Source Telephony"
+HOMEPAGE = "http://ofono.org"
+SECTION = "Telephony/Cellular"
+LICENSE = "GPL-2.0"
+PV = "1.14"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit manifest autotools-brokensep
+
+BBCLASSEXTEND = ""
+PROVIDES = ""
+
+#PROVIDES by ofono-docs
+PROVIDES += "ofono-docs "
+
+
+#PROVIDES by ofono-test
+PROVIDES += "ofono-test"
+
+
+#PROVIDES by ofono-dev
+PROVIDES += "ofono-dev"
+
+
+#PROVIDES by ofono
+
+
+RDEPENDS = ""
+#RDEPENDS of ofono-test (${PN}-test)
+RDEPENDS_${PN}-test += "python-xml"
+RDEPENDS_${PN}-test += "python-gobject"
+RDEPENDS_${PN}-test += "dbus-python"
+RDEPENDS_${PN}-test += "ofono"
+
+#RDEPENDS of ofono-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "ofono"
+
+#RDEPENDS of ofono (${PN})
+RDEPENDS_${PN} += "dbus"
+RDEPENDS_${PN} += "systemd"
+
+
+DEPENDS = ""
+#DEPENDS of ofono
+DEPENDS += "mobile-broadband-provider-info"
+DEPENDS += "dbus"
+inherit pkgconfig
+DEPENDS += "udev"
+DEPENDS_append_class-native = " automake-native"
+DEPENDS_append_class-target = " automake-native"
+DEPENDS += "bluez4"
+DEPENDS += "glib-2.0"
+DEPENDS_append_class-native = " libtool"
+DEPENDS_append_class-target = " libtool-cross"
+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/ofono.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 --force --install
+
+
+ autotools_do_configure
+
+ make -j16
+
+
+
+}
+EXTRA_OECONF += " --disable-static --enable-test --disable-bluez4 --with-systemdunitdir=${systemd_unitdir}/system"
+
+do_install() {
+ export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D}
+ mkdir -p ${D}
+
+
+ oe_runmake \
+ DESTDIR=${D} \
+ INSTALL_ROOT=${D} \
+ BINDIR=${prefix}/bin \
+ install
+ rm -f ${D}${infodir}/dir
+ find ${D} -regex ".*\.la$" | xargs rm -f --
+ find ${D} -regex ".*\.a$" | xargs rm -f --
+
+ mkdir -p ${D}${prefix}/lib/systemd/system/network.target.wants
+ ln -s ../ofono.service ${D}${prefix}/lib/systemd/system/network.target.wants/ofono.service
+
+
+ mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants
+ ln -s ../ofono.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/ofono.service
+
+
+
+}
+
+PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
+PACKAGES += " ofono-test "
+PACKAGES += " ofono-docs "
+PACKAGES += " ofono-dev "
+PACKAGES += " ofono "
+
+ofono-test_files = ""
+ofono-test_files += "${prefix}/lib/ofono/test/*"
+MANIFESTFILES_${PN}-test = "ofono.manifest"
+
+ofono-docs_files = ""
+
+ofono-dev_files = ""
+ofono-dev_files += "${prefix}/include/ofono/*.h"
+ofono-dev_files += "${prefix}/lib/pkgconfig/ofono.pc"
+MANIFESTFILES_${PN}-dev = "ofono.manifest"
+
+ofono_files = ""
+ofono_files += "${sysconfdir}/dbus-1/system.d/*.conf"
+ofono_files += "${prefix}/sbin/*"
+ofono_files += "${systemd_unitdir}/system/network.target.wants/ofono.service"
+ofono_files += "${systemd_unitdir}/system/ofono.service"
+ofono_files += "${systemd_unitdir}/system/multi-user.target.wants/ofono.service"
+ofono_files += "${sysconfdir}/ofono/phonesim.conf"
+CONFFILES_${PN} = ""
+CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/*.conf"
+CONFFILES_${PN} += "${sysconfdir}/ofono/phonesim.conf"
+
+FILES_${PN}-test = "${ofono-test_files}"
+FILES_${PN}-docs = "${ofono-docs_files}"
+FILES_${PN}-dev = "${ofono-dev_files}"
+FILES_${PN} = "${ofono_files}"
+
+PKG_ofono-test= "ofono-test"
+PKG_ofono-docs= "ofono-docs"
+PKG_ofono-dev= "ofono-dev"
+PKG_ofono= "ofono"
+
+require ofono-extraconf.inc
+
diff --git a/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb b/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb
new file mode 100644
index 00000000..50d2eced
--- /dev/null
+++ b/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb
@@ -0,0 +1,10 @@
+require ofono.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/upstream/ofono;tag=f611670427a989b25a60dcfe0940efa424849931;nobranch=1"
+
+BBCLASSEXTEND += " native "
+