1 DESCRIPTION = "Wayland Test Suite"
2 HOMEPAGE = "https://github.com/01org/wayland-fits"
3 SECTION = "Applications/Core Applications"
11 inherit manifest autotools-brokensep
16 #PROVIDES by wayland-fits-master
22 #DEPENDS of wayland-fits-master
24 DEPENDS += "libxkbcommon"
31 DEPENDS += "elementary"
38 chmod -Rf a+rX,u+w,g-w,o-w ${S}
44 bb.build.exec_func('do_prep', d)
55 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
57 export CXXFLAGS="-DMEDIA_PATH='\"${prefix}/share/media\"'"
60 autotools_do_configure
69 export RPM_BUILD_ROOT=${D}
81 BINDIR=${prefix}/bin \
83 rm -f ${D}${infodir}/dir
84 find ${D} -regex ".*\.la$" | xargs rm -f --
85 find ${D} -regex ".*\.a$" | xargs rm -f --
86 mkdir -p -m 755 ${D}${prefix}/share/media
87 install -m 755 ${S}/packaging/ADN_animation.gif ${D}${prefix}/share/media
88 install -m 755 ${S}/packaging/bridge_of_the_gods.png ${D}${prefix}/share/media
93 pkg_postinst_${PN}() {
96 [ "x$D" == "x" ] && ldconfig
102 [ "x$D" == "x" ] && ldconfig
105 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
106 PACKAGES += " wayland-fits-master "
108 wayland-fits-master_files = ""
109 wayland-fits-master_files += "${prefix}/bin/wfits"
110 wayland-fits-master_files += "${prefix}/lib/weston/weston-wfits.so"
111 wayland-fits-master_files += "${prefix}/share/media/*"
112 wayland-fits-master_files += "README"
114 FILES_${PN} = "${wayland-fits-master_files}"
116 PKG_wayland-fits-master= "wayland-fits-master"
118 require wayland-fits-master-extraconf.inc