1 DESCRIPTION = "Multimedia Framework Time Analysis Lib"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Libraries"
10 inherit autotools-brokensep
17 #PROVIDES by libmm-ta-dev
21 #RDEPENDS of libmm-ta-dev (${PN}-dev)
22 RDEPENDS_${PN}-dev += "libmm-ta"
29 chmod -Rf a+rX,u+w,g-w,o-w ${S}
31 cp ${S}/packaging/libmm-ta.manifest .
37 bb.build.exec_func('do_prep', d)
48 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
49 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
50 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
51 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
55 CFLAGS="${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 ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
59 --target=x86_64-tizen-linux \
62 --exec-prefix=${prefix} \
63 --bindir=${prefix}/bin \
64 --sbindir=${prefix}/sbin \
65 --sysconfdir=${sysconfdir} \
66 --datadir=${prefix}/share \
67 --includedir=${prefix}/include \
68 --libdir=${prefix}/lib \
69 --libexecdir=${prefix}/libexec \
70 --localstatedir=${localstatedir} \
71 --sharedstatedir=${prefix}/com \
73 --infodir=${infodir} --disable-static
75 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
76 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
77 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
78 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
79 --target=x86_64-tizen-linux \
82 --exec-prefix=${prefix} \
83 --bindir=${prefix}/bin \
84 --sbindir=${prefix}/sbin \
85 --sysconfdir=${sysconfdir} \
86 --datadir=${prefix}/share \
87 --includedir=${prefix}/include \
88 --libdir=${prefix}/lib \
89 --libexecdir=${prefix}/libexec \
90 --localstatedir=${localstatedir} \
91 --sharedstatedir=${prefix}/com \
93 --infodir=${infodir} --disable-static
101 echo export RPM_BUILD_ROOT=${D}
114 BINDIR=${prefix}/bin \
116 rm -f ${D}${infodir}/dir
117 find ${D} -regex ".*\.la$" | xargs rm -f --
118 find ${D} -regex ".*\.a$" | xargs rm -f --
128 libmm-ta_files += "libmm-ta.manifest"
129 libmm-ta_files += "${prefix}/lib/libmm_ta.so.*"
131 libmm-ta-dev_files = ""
132 libmm-ta-dev_files += "libmm-ta.manifest"
133 libmm-ta-dev_files += "${prefix}/include/mm_ta/*.h"
134 libmm-ta-dev_files += "${prefix}/lib/*.so"
135 libmm-ta-dev_files += "${prefix}/lib/pkgconfig/*.pc"
137 FILES_${PN} = "${libmm-ta_files}"
138 FILES_${PN}-dev = "${libmm-ta-dev_files}"
140 PKG_libmm-ta= "libmm-ta"
141 PKG_libmm-ta-dev= "libmm-ta-dev"
143 require libmm-ta-extraconf.inc