54 lines
2.4 KiB
Bash
54 lines
2.4 KiB
Bash
# Template file for 'xorgproto'
|
|
pkgname=xorgproto
|
|
version=2023.2
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dlegacy=true"
|
|
hostmakedepends="xorg-util-macros"
|
|
short_desc="Combined X.Org X11 Protocol headers"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/xorg/proto/xorgproto"
|
|
distfiles="${XORG_SITE}/proto/xorgproto-${version}.tar.xz"
|
|
checksum=b61fbc7db82b14ce2dc705ab590efc32b9ad800037113d1973811781d5118c2c
|
|
replaces="bigreqsproto>=0 compositeproto>=0 damageproto>=0 dmxproto>=0 dri2proto>=0
|
|
dri3proto>=0 fixesproto>=0 fontsproto>=0 glproto>=0 inputproto>=0 kbproto>=0 presentproto>=0
|
|
printproto>=0 randrproto>=0 recordproto>=0 renderproto>=0 resourceproto>=0 scrnsaverproto>=0
|
|
videoproto>=0 xcmiscproto>=0 xextproto>=0 xf86dgaproto>=0 xf86driproto>=0 xf86miscproto>=0
|
|
xf86vidmodeproto>=0 xineramaproto>=0 xproto>=0 xf86bigfontproto>=0 fontcacheproto>=0"
|
|
provides="bigreqsproto-${version}_${revision} compositeproto-${version}_${revision}
|
|
damageproto-${version}_${revision} dmxproto-${version}_${revision}
|
|
dri2proto-${version}_${revision} dri3proto-${version}_${revision}
|
|
fixesproto-${version}_${revision} fontsproto-${version}_${revision}
|
|
glproto-${version}_${revision} inputproto-${version}_${revision}
|
|
kbproto-${version}_${revision} presentproto-${version}_${revision}
|
|
printproto-${version}_${revision} randrproto-${version}_${revision}
|
|
recordproto-${version}_${revision} renderproto-${version}_${revision}
|
|
resourceproto-${version}_${revision} scrnsaverproto-${version}_${revision}
|
|
videoproto-${version}_${revision} xcmiscproto-${version}_${revision}
|
|
xextproto-${version}_${revision} xf86dgaproto-${version}_${revision}
|
|
xf86driproto-${version}_${revision} xf86miscproto-${version}_${revision}
|
|
xf86vidmodeproto-${version}_${revision} xineramaproto-${version}_${revision}
|
|
xproto-${version}_${revision} xf86bigfontproto-${version}_${revision}
|
|
fontcacheproto-${version}_${revision}"
|
|
|
|
post_install() {
|
|
for license in COPYING-* ; do
|
|
vlicense $license
|
|
done
|
|
|
|
for doc in *.txt ; do
|
|
vdoc $doc
|
|
done
|
|
|
|
vdoc PM_spec
|
|
|
|
rm -f ${DESTDIR}/usr/share/doc/${pkgname}/meson_options.txt
|
|
rm -f ${DESTDIR}/usr/include/X11/extensions/{apple,windows}*
|
|
rm -f ${DESTDIR}/usr/share/licenses/${pkgname}/COPYING-{apple,windows}wmproto
|
|
rm -f ${DESTDIR}/usr/share/pkgconfig/{apple,windows}wmproto.pc
|
|
|
|
# provided by libX11-devel
|
|
rm -f ${DESTDIR}/usr/include/X11/extensions/XKBgeom.h
|
|
}
|