1 DESCRIPTION = "GUPnP is an framework for creating UPnP devices & control points"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Libraries"
12 #PROVIDES by gupnp-devel
13 PROVIDES += "gupnp-devel"
14 RPROVIDES_gupnp-devel += "gupnp-devel"
15 RPROVIDES_gupnp-devel += "gupnp-dev"
19 RPROVIDES_gupnp += "gupnp"
22 #RDEPENDS of gupnp-devel (gupnp-devel)
23 RDEPENDS_gupnp-devel += "gupnp"
25 #RDEPENDS of gupnp (gupnp)
26 RDEPENDS_gupnp += "/sbin/ldconfig"
32 DEPENDS += "pkgconfig(gio-2.0)"
33 DEPENDS += "pkgconfig(libxml-2.0)"
34 DEPENDS += "pkgconfig(gmodule-2.0)"
35 DEPENDS += "pkgconfig(uuid)"
36 DEPENDS += "pkgconfig(libsoup-2.4)"
37 DEPENDS += "pkgconfig(glib-2.0)"
40 chmod -Rf a+rX,u+w,g-w,o-w ${S}
41 #setup -q -n gupnp-0.20.5
53 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
54 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
55 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
56 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
59 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
60 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
61 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
62 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
63 --target=x86_64-tizen-linux \
70 --datadir=/usr/share \
71 --includedir=/usr/include \
73 --libexecdir=/usr/libexec \
74 --localstatedir=/var \
75 --sharedstatedir=/usr/com \
76 --mandir=/usr/share/man \
77 --infodir=/usr/share/info --disable-static
85 echo export RPM_BUILD_ROOT=${D}
99 rm -f ${D}/usr/share/info/dir
100 find ${D} -regex ".*\.la$" | xargs rm -f --
101 find ${D} -regex ".*\.a$" | xargs rm -f --
103 rm -rf $RPM_BUILD_ROOT/usr/share/gtk-doc
109 PACKAGES += "gupnp-devel"
112 gupnp-devel_files = ""
113 gupnp-devel_files += "/usr/lib/pkgconfig/gupnp-1.0.pc"
114 gupnp-devel_files += "/usr/lib/*.so"
115 gupnp-devel_files += "/usr/include/gupnp-1.0"
116 gupnp-devel_files += "/usr/bin/gupnp-binding-tool"
119 gupnp_files += "/usr/lib/*.so.*"
121 FILES_${PN}-devel = "${gupnp-devel_files}"
122 FILES_${PN} = "${gupnp_files}"
124 PKG_gupnp-devel= "gupnp-devel"
127 require GUPnP-extraconf.inc