void-packages/srcpkgs/libXpresent/template
Érico Rolim 8024b7880b libXpresent: don't depend on xproto.
xproto is provided by xorgproto, so the dependency can be fullfilled at
install time, but it can fail when building the package. Depending on a
non-existent package is also entirely wrong, this was likely a leftover
from the xproto removal.
2021-02-05 02:12:56 -03:00

26 lines
818 B
Bash

# Template file for 'libXpresent'
pkgname=libXpresent
version=1.0.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXfixes-devel libXrandr-devel"
short_desc="XPresent extension C library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://cgit.freedesktop.org/xorg/lib/libXpresent/"
distfiles="${XORG_SITE}/lib/libXpresent-${version}.tar.gz"
checksum=92f1bdfb67ae2ffcdb25ad72c02cac5e4912dc9bc792858240df1d7f105946fa
libXpresent-devel_package() {
depends="${sourcepkg}-${version}_${revision} libX11-devel libXext-devel
libXfixes-devel libXrandr-devel xorgproto"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}