2 HOMEPAGE = "http://www.x.org"
3 SECTION = "Development/System"
12 #PROVIDES by inputproto
13 PROVIDES += "inputproto"
14 RPROVIDES_inputproto += "inputproto"
19 #DEPENDS of inputproto
20 DEPENDS += "pkgconfig-native"
21 DEPENDS += "pkgconfig(xorg-macros)"
24 chmod -Rf a+rX,u+w,g-w,o-w ${S}
26 cp ${S}/packaging/inputproto.manifest .
38 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
39 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
40 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
41 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
44 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
45 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
46 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
47 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
48 --target=x86_64-tizen-linux \
55 --datadir=/usr/share \
56 --includedir=/usr/include \
58 --libexecdir=/usr/libexec \
59 --localstatedir=/var \
60 --sharedstatedir=/usr/com \
61 --mandir=/usr/share/man \
62 --infodir=/usr/share/info --disable-static \
73 echo export RPM_BUILD_ROOT=${D}
86 rm -f ${D}/usr/share/info/dir
87 find ${D} -regex ".*\.la$" | xargs rm -f --
88 find ${D} -regex ".*\.a$" | xargs rm -f --
91 rm -rf ${D}/usr/share/info
92 rm -rf ${D}/usr/share/doc/packages
93 rm -rf ${D}/usr/share/doc/inputproto
94 rm -rf ${D}/usr/share/doc/inputproto-2.2
95 rm -rf ${D}/usr/share/gtk-doc
96 rm -rf ${D}/usr/share/doc
97 rm -rf ${D}/usr/share/man
98 find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f --
99 find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f --
100 find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f --
107 PACKAGES += "inputproto"
109 inputproto_files = ""
110 inputproto_files += "inputproto.manifest"
111 inputproto_files += "/usr/include/X11/extensions/*.h"
112 inputproto_files += "/usr/share/pkgconfig/*.pc"
114 FILES_${PN} = "${inputproto_files}"
116 PKG_inputproto= "inputproto"
118 require inputproto-extraconf.inc