kitty: update to 0.13.3.
This commit is contained in:
parent
bf62e672ec
commit
0d9b5c9a35
1 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'kitty'
|
# Template file for 'kitty'
|
||||||
pkgname=kitty
|
pkgname=kitty
|
||||||
version=0.13.2
|
version=0.13.3
|
||||||
revision=1
|
revision=1
|
||||||
pycompile_dirs="usr/lib/kitty"
|
pycompile_dirs="usr/lib/kitty"
|
||||||
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
|
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
|
||||||
|
@ -13,17 +13,16 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://sw.kovidgoyal.net/kitty/"
|
homepage="https://sw.kovidgoyal.net/kitty/"
|
||||||
changelog="https://sw.kovidgoyal.net/kitty/changelog.html"
|
changelog="https://sw.kovidgoyal.net/kitty/changelog.html"
|
||||||
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
|
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
|
||||||
checksum=84699311cd99989fa428326264df193f9c5e449afa1d399ece324e269c5b9726
|
checksum=37b90f3467c31ee9f0338c066563ab2ec2eac56267286bc4ef6d9850f97f1507
|
||||||
pycompile_version="$py3_ver"
|
pycompile_version="$py3_ver"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
export CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc}"
|
||||||
sed -i "s|-fpie|-fpie ${CFLAGS}|g" setup.py
|
|
||||||
fi
|
fi
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
sed -i 's/pow10/pow_10/g' kitty/parser.c;;
|
vsed -e 's/pow10/pow_10/g' -i kitty/parser.c;;
|
||||||
esac
|
esac
|
||||||
python3 setup.py linux-package --prefix=${DESTDIR}/usr --verbose
|
python3 setup.py linux-package --prefix=${DESTDIR}/usr --verbose
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue