1 DESCRIPTION = "Sound Manager library"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Multimedia/API"
10 inherit autotools-brokensep
14 #PROVIDES by capi-media-sound-manager-dev
17 #PROVIDES by capi-media-sound-manager
21 #RDEPENDS of capi-media-sound-manager-dev (capi-media-${PN}-dev)
22 RDEPENDS_capi-media-${PN}-dev += "capi-media-sound-manager"
26 #DEPENDS of capi-media-sound-manager
27 DEPENDS += "libmm-sound"
28 DEPENDS_append_class-native = " cmake-native"
29 DEPENDS_append_class-target = " cmake-native"
30 DEPENDS += "libmm-session"
36 chmod -Rf a+rX,u+w,g-w,o-w ${S}
38 cp ${S}/packaging/capi-media-sound-manager.manifest .
44 bb.build.exec_func('do_prep', d)
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 MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $1}'`
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}" ; export FFLAGS ;
66 -DCMAKE_VERBOSE_MAKEFILE=ON \
67 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
68 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
69 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
70 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
71 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
72 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
73 -DCMAKE_SKIP_RPATH:BOOL=ON \
74 -DBUILD_SHARED_LIBS:BOOL=ON . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER}
84 echo export RPM_BUILD_ROOT=${D}
96 BINDIR=${prefix}/bin \
98 rm -f ${D}${infodir}/dir
99 find ${D} -regex ".*\.la$" | xargs rm -f --
100 find ${D} -regex ".*\.a$" | xargs rm -f --
105 PACKAGES += " capi-media-sound-manager-dev "
106 PACKAGES += " capi-media-sound-manager "
108 capi-media-sound-manager-dev_files = ""
109 capi-media-sound-manager-dev_files += "capi-media-sound-manager.manifest"
110 capi-media-sound-manager-dev_files += "${prefix}/include/media/sound_manager.h"
111 capi-media-sound-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc"
112 capi-media-sound-manager-dev_files += "${prefix}/lib/libcapi-media-sound-manager.so"
114 capi-media-sound-manager_files = ""
115 capi-media-sound-manager_files += "capi-media-sound-manager.manifest"
116 capi-media-sound-manager_files += "${prefix}/lib/libcapi-media-sound-manager.so.*"
117 capi-media-sound-manager_files += "capi-media-sound-manager.manifest"
119 FILES_${PN}-dev = "${capi-media-sound-manager-dev_files}"
120 FILES_${PN} = "${capi-media-sound-manager_files}"
122 PKG_capi-media-sound-manager-dev= "capi-media-sound-manager-dev"
123 PKG_capi-media-sound-manager= "capi-media-sound-manager"
125 require sound-manager-extraconf.inc