xsnow: update to 3.4.2

This commit is contained in:
KawaiiAmber 2021-12-26 13:10:29 -07:00 committed by Leah Neukirchen
parent fb0d9e4644
commit e0b614cf39

View File

@ -1,23 +1,27 @@
# Template file for 'xsnow'
pkgname=xsnow
version=1.42
revision=3
hostmakedepends="imake xorg-cf-files"
makedepends="libXext-devel libXpm-devel libXt-devel"
version=3.4.2
revision=1
build_style=gnu-configure
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libXext-devel libXpm-devel libXt-devel libX11-devel gtk+3-devel"
short_desc="Snow for your X11 sessions"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom:xsnow"
homepage="https://janswaal.home.xs4all.nl/Xsnow"
distfiles="https://janswaal.home.xs4all.nl/Xsnow/${pkgname}-${version}.tar.gz"
checksum=d0d7c8f1fb91ca096995b1c30797e8f443c2e97d6f1e5f574b31318ed05d561a
repository=nonfree
nocross=yes # imake
license="GPL-3.0-or-later"
homepage="https://ratrabbit.nl/ratrabbit/xsnow/index.html"
distfiles="https://ratrabbit.nl/downloads/xsnow/${pkgname}-${version}.tar.gz"
checksum=c618d7a73cef7070755f38ddc3665487afa8c71a9c82ae9055723e594a62fd9e
do_build() {
xmkmf
make CC=$CC CDEBUGFLAGS="-D_DEFAULT_SOURCE ${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s:./xsnow -manpage:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:" -i src/Makefile.am src/Makefile.in
fi
}
do_install() {
make MANSUFFIX=1 DESTDIR=${DESTDIR} install install.man
vlicense README
vbin src/xsnow
vman src/xsnow.6
vinstall src/Pixmaps/xsnow.svg 644 /usr/share/pixmaps
vinstall data/xsnow.desktop 644 /usr/share/applications
}