56 lines
2.4 KiB
Bash
56 lines
2.4 KiB
Bash
# Template file for 'xorgproto'
|
|
pkgname=xorgproto
|
|
version=2019.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-legacy"
|
|
hostmakedepends="xorg-util-macros"
|
|
short_desc="Combined X.Org X11 Protocol headers"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://xorg.freedesktop.org"
|
|
distfiles="${XORG_SITE}/proto/xorgproto-${version}.tar.gz"
|
|
checksum=38ad1d8316515785d53c5162b4b7022918e03c11d72a5bd9df0a176607f42bca
|
|
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_configure() {
|
|
# man/Xprint.7 is can't be generated thus remove the rule
|
|
sed -i Makefile -e "s;\(miscman_DATA =\).*;\1;"
|
|
}
|
|
|
|
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
|
|
}
|