|
|
|
import 'compile/configure'
|
|
|
|
|
|
|
|
name=i3
|
|
|
|
version=4.15
|
|
|
|
|
|
|
|
define_option '!gaps: Use the i3-gaps fork'
|
|
|
|
define_option '!patch: Apply some custom patches'
|
|
|
|
|
|
|
|
if option gaps; then
|
|
|
|
version+=.0.1
|
|
|
|
dlextract "https://github.com/Airblader/$name/archive/$version/$name-gaps-$version.tar.gz" \
|
|
|
|
'eab76b0d30964ec619364e9a8f51819f'
|
|
|
|
else
|
|
|
|
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
|
|
|
|
'6ff0e7d59cf6983af68f9b4cdaf2a641'
|
|
|
|
fi
|
|
|
|
option patch extrafile "$name-4.14.1-window-icons.patch"
|
|
|
|
_
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
option patch patch -p0 -i "../$name-4.14.1-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:
|