|
|
|
import 'compile/configure'
|
|
|
|
|
|
|
|
name=i3
|
|
|
|
version=4.13
|
|
|
|
update_url='http://i3wm.org/downloads/'
|
|
|
|
|
|
|
|
define_option '!gaps: Use the i3-gaps fork'
|
|
|
|
define_option '!window-icons: Patch for support for icons in the title'
|
|
|
|
|
|
|
|
if option gaps; then
|
|
|
|
dlextract "https://github.com/Airblader/$name/archive/$version/$name-gaps-$version.tar.gz" \
|
|
|
|
'a591216c8a84d27431b057e4d01b151e'
|
|
|
|
else
|
|
|
|
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
|
|
|
|
'08d17dcf1fde665a15f7d411486546ae'
|
|
|
|
fi
|
|
|
|
option window-icons extrafile "$name-$version-window-icons.patch"
|
|
|
|
header_end
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
option window-icons patch -p1 -i "../$name-$version-window-icons.patch"
|
|
|
|
|
|
|
|
if option gaps; then
|
|
|
|
autoreconf -fi
|
|
|
|
compile_configure -b build -- --srcdir=.. --disable-sanitizers
|
|
|
|
else
|
|
|
|
compile_configure -b build -- --srcdir=..
|
|
|
|
fi
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|