2 HOMEPAGE = "http://www.x.org"
3 SECTION = "Development/System"
12 #PROVIDES by fixesproto
13 PROVIDES += "fixesproto"
14 RPROVIDES_fixesproto += "fixesproto"
17 #RDEPENDS of fixesproto (${PN})
18 RDEPENDS_${PN} += "xextproto"
22 #DEPENDS of fixesproto
23 DEPENDS += "pkgconfig-native"
24 DEPENDS += "pkgconfig(xorg-macros)"
27 chmod -Rf a+rX,u+w,g-w,o-w ${S}
29 cp ${S}/packaging/fixesproto.manifest .
41 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
42 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
43 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
44 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
47 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
48 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
49 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
50 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
51 --target=x86_64-tizen-linux \
58 --datadir=/usr/share \
59 --includedir=/usr/include \
61 --libexecdir=/usr/libexec \
62 --localstatedir=/var \
63 --sharedstatedir=/usr/com \
64 --mandir=/usr/share/man \
65 --infodir=/usr/share/info --disable-static \
76 echo export RPM_BUILD_ROOT=${D}
89 rm -f ${D}/usr/share/info/dir
90 find ${D} -regex ".*\.la$" | xargs rm -f --
91 find ${D} -regex ".*\.a$" | xargs rm -f --
94 rm -rf ${D}/usr/share/info
95 rm -rf ${D}/usr/share/doc/packages
96 rm -rf ${D}/usr/share/doc/fixesproto
97 rm -rf ${D}/usr/share/doc/fixesproto-5.0
98 rm -rf ${D}/usr/share/gtk-doc
99 rm -rf ${D}/usr/share/doc
100 rm -rf ${D}/usr/share/man
101 find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f --
102 find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f --
103 find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f --
109 PACKAGES += "fixesproto"
111 fixesproto_files = ""
112 fixesproto_files += "fixesproto.manifest"
113 fixesproto_files += "/usr/include/X11/extensions/*.h"
114 fixesproto_files += "/usr/share/pkgconfig/*.pc"
116 FILES_${PN} = "${fixesproto_files}"
118 PKG_fixesproto= "fixesproto"
120 require fixesproto-extraconf.inc