1 DESCRIPTION = "Telephony Indicator plugin"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Libraries"
12 #PROVIDES by tel-plugin-indicator
13 PROVIDES += "tel-plugin-indicator"
14 RPROVIDES_tel-plugin-indicator += "tel-plugin-indicator"
17 #RDEPENDS of tel-plugin-indicator (${PN})
18 RDEPENDS_${PN} += "/sbin/ldconfig"
22 #DEPENDS of tel-plugin-indicator
23 DEPENDS += "pkgconfig(glib-2.0)"
29 chmod -Rf a+rX,u+w,g-w,o-w ${S}
31 cp ${S}/packaging/tel-plugin-indicator.manifest .
43 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
44 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
45 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
46 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
49 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
50 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
51 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
53 -DCMAKE_VERBOSE_MAKEFILE=ON \
54 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
55 -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \
56 -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
57 -DLIB_INSTALL_DIR:PATH=/usr/lib \
58 -DSYSCONF_INSTALL_DIR:PATH=/etc \
59 -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
60 -DCMAKE_SKIP_RPATH:BOOL=ON \
61 -DBUILD_SHARED_LIBS:BOOL=ON \
62 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake .
69 echo export RPM_BUILD_ROOT=${D}
82 rm -f ${D}/usr/share/info/dir
83 find ${D} -regex ".*\.la$" | xargs rm -f --
84 find ${D} -regex ".*\.a$" | xargs rm -f --
85 mkdir -p ${D}/usr/share/license
86 cp LICENSE ${D}/usr/share/license/tel-plugin-indicator
92 PACKAGES += "tel-plugin-indicator"
94 tel-plugin-indicator_files = ""
95 tel-plugin-indicator_files += "tel-plugin-indicator.manifest"
96 tel-plugin-indicator_files += "/usr/lib/telephony/plugins/indicator-plugin*"
97 tel-plugin-indicator_files += "/usr/share/license/tel-plugin-indicator"
99 FILES_${PN} = "${tel-plugin-indicator_files}"
101 PKG_tel-plugin-indicator= "tel-plugin-indicator"
103 require tel-plugin-indicator-extraconf.inc