i3: update to 4.13

This commit is contained in:
Alessio Sergi 2016-11-21 23:43:43 +01:00
parent 8d28e771e0
commit fdff24cc36

View File

@ -1,19 +1,21 @@
# Template file for 'i3'
pkgname=i3
version=4.12
version=4.13
revision=1
build_style=gnu-makefile
build_style=gnu-configure
configure_args="--disable-builddir"
hostmakedepends="pkg-config perl"
makedepends="pcre-devel yajl-devel libxcb-devel libev-devel
pango-devel startup-notification-devel libxkbcommon-devel
xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel"
xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
xcb-util-xrm-devel"
conf_files="/etc/i3/config /etc/i3/config.keycodes"
short_desc="Improved tiling window manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://i3wm.org/"
homepage="https://i3wm.org/"
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.bz2"
checksum=e19e1ce08c2549cba83e083cc768d487202c41760d5c283f67752e791f1d78b4
checksum=94c13183e527a984132a3b050c8bf629626502a6e133e07b413641aec5f8cf8a
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libglob-devel";;
@ -22,7 +24,7 @@ esac
pre_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i "/LIBS =/s,-lm,& ${XBPS_CROSS_BASE}/usr/lib/libglob.a,g" common.mk
sed -i "/^LIBS =/s,$,& ${XBPS_CROSS_BASE}/usr/lib/libglob.a," Makefile
sed -i '/include/s,glob.h,libglob/glob.h,g' i3bar/src/main.c libi3/resolve_tilde.c
sed -i '/GLOB_TILDE/s/glob(/g_glob(/g' i3bar/src/main.c libi3/resolve_tilde.c
sed -i 's/globfree(/g_globfree(/g' i3bar/src/main.c libi3/resolve_tilde.c