void-packages/srcpkgs/gtk-engine-equinox/template

28 lines
845 B
Bash

# Template file for 'gtk-engine-equinox'
pkgname=gtk-engine-equinox
version=1.50
revision=3
build_style=gnu-configure
configure_args="--enable-animation"
hostmakedepends="automake libtool pkg-config"
makedepends="gtk+-devel"
short_desc="Heavily modified version of the beautiful Aurora engine"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.gnome-look.org/p/1080263/"
distfiles="https://launchpad.net/~tiheum/+archive/ubuntu/equinox/+files/gtk2-engines-equinox_${version}.tar.gz"
checksum=319e81644c307c15637e7751bad157d55f4e8d485805f8b0734389cf1909c43e
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
}
pre_configure() {
autoreconf -i
}