1 DESCRIPTION = "Python bindings for D-Bus"
2 HOMEPAGE = "http://www.freedesktop.org/wiki/Software/DBusBindings/"
3 SECTION = "System/Libraries"
12 #PROVIDES by dbus-python-devel
13 PROVIDES += "dbus-python-devel"
14 RPROVIDES_dbus-python-devel += "dbus-python-devel"
15 RPROVIDES_dbus-python-devel += "dbus-python-dev"
17 #PROVIDES by dbus-python
18 PROVIDES += "dbus-python"
19 RPROVIDES_dbus-python += "dbus-python"
22 #RDEPENDS of dbus-python-devel (${PN}-devel)
23 RDEPENDS_${PN}-devel += "dbus"
24 RDEPENDS_${PN}-devel += "dbus-dev"
25 RDEPENDS_${PN}-devel += "dbus-python"
27 #RDEPENDS of dbus-python (${PN})
28 RDEPENDS_${PN} += "python-xml"
29 RDEPENDS_${PN} += "dbus"
30 RDEPENDS_${PN} += "libxml2-python"
34 #DEPENDS of dbus-python
35 DEPENDS += "pkgconfig(dbus-1)"
36 DEPENDS += "fdupes-native"
37 DEPENDS += "python-devel"
38 DEPENDS += "dbus-glib"
41 chmod -Rf a+rX,u+w,g-w,o-w ${S}
43 cp ${S}/packaging/dbus-python.manifest .
55 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
56 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
57 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
58 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
60 export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-protector -fno-strict-aliasing -fPIC"
62 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
63 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
64 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
65 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
66 --target=x86_64-tizen-linux \
73 --datadir=/usr/share \
74 --includedir=/usr/include \
76 --libexecdir=/usr/libexec \
77 --localstatedir=/var \
78 --sharedstatedir=/usr/com \
79 --mandir=/usr/share/man \
80 --infodir=/usr/share/info --docdir=/usr/share/doc/packages/dbus-python
88 echo export RPM_BUILD_ROOT=${D}
101 rm -f ${D}/usr/share/info/dir
102 find ${D} -regex ".*\.la$" | xargs rm -f --
103 find ${D} -regex ".*\.a$" | xargs rm -f --
107 rm -rf ${D}/usr/share/info
108 rm -rf ${D}/usr/share/doc/packages
109 rm -rf ${D}/usr/share/doc/dbus-python
110 rm -rf ${D}/usr/share/doc/dbus-python-1.1.1
111 rm -rf ${D}/usr/share/gtk-doc
112 rm -rf ${D}/usr/share/doc
113 rm -rf ${D}/usr/share/man
114 find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f --
115 find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f --
116 find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f --
121 fdupes -q -n -r ${D} |
123 if test -z "$_target" ; then
126 if test -z "$_file" ; then
130 if test "$_symlinks" = 1; then
131 ln -sf "${_target#${D}}" "$_file";
133 ln -f "$_target" "$_file";
142 PACKAGES += "dbus-python-devel"
143 PACKAGES += "dbus-python"
145 dbus-python-devel_files = ""
146 dbus-python-devel_files += "dbus-python.manifest"
147 dbus-python-devel_files += "/usr/include/dbus-1.0/dbus/dbus-python.h"
148 dbus-python-devel_files += "/usr/lib/pkgconfig/dbus-python.pc"
150 dbus-python_files = ""
151 dbus-python_files += "dbus-python.manifest"
152 dbus-python_files += "/usr/lib/python2.7/site-packages/*"
153 dbus-python_files += "/usr/lib/python2.7/site-packages/*"
155 FILES_${PN}-devel = "${dbus-python-devel_files}"
156 FILES_${PN} = "${dbus-python_files}"
158 PKG_dbus-python-devel= "dbus-python-devel"
159 PKG_dbus-python= "dbus-python"
161 require dbus-python-extraconf.inc