# Template file for 'gtk-engine-equinox'
pkgname=gtk-engine-equinox
version=1.50
revision=1
wrksrc=equinox-${version}
build_style=gnu-configure
configure_args="--enable-animation"
hostmakedepends="libtool pkg-config"
makedepends="gtk+-devel"
short_desc="A heavily modified version of the beautiful Aurora engine"
maintainer="Renato Aguiar <contact@renatoaguiar.org>"
license="GPL-3"
homepage="https://www.gnome-look.org/p/1080263/"
distfiles="https://dl.opendesktop.org/api/files/download/id/1463004028/121881-equinox-${version}.tar.gz"
checksum=0cf8b8cc841e0da7d4a08ab5a70d3bb330fd76bdcb03165a47aaddcd47e02227

post_extract() {
	# toolbar fix
	sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \
	    src/equinox_style.c
	# toolbar fix
	sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \
	    src/equinox_style.c
}
