kitty: add missing pycompile_dirs

So, python_version -> pycompile_version.
This commit is contained in:
Alessio Sergi 2018-09-15 12:54:15 +02:00
parent 4b285bbcd6
commit 1d3d25aeec

View file

@ -1,12 +1,13 @@
# Template file for 'kitty' # Template file for 'kitty'
pkgname=kitty pkgname=kitty
version=0.12.1 version=0.12.1
revision=1 revision=2
python_version=3 pycompile_version="$py3_ver"
hostmakedepends="ncurses pkg-config" pycompile_dirs="usr/lib/kitty"
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
python3-devel wayland-devel wayland-protocols" python3-devel wayland-devel wayland-protocols"
depends="kitty-terminfo" depends="kitty-terminfo-${version}_${revision}"
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator" short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
maintainer="Benjamin Slade <slade@jnanam.net>" maintainer="Benjamin Slade <slade@jnanam.net>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
@ -14,10 +15,6 @@ homepage="https://sw.kovidgoyal.net/kitty/"
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=ed5c18fe388e2bf569497443935eb60b0dbe971094e94fa3b0f4c442055c7915 checksum=ed5c18fe388e2bf569497443935eb60b0dbe971094e94fa3b0f4c442055c7915
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" python3-devel wayland-devel wayland-protocols"
fi
do_build() { do_build() {
if [ -n "$CROSS_BUILD" ]; then if [ -n "$CROSS_BUILD" ]; then
export CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" export CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"