# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

MY_PN="equinox"
ODTAG="121881"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Sleek GTK Theme engine"
HOMEPAGE="http://gnome-look.org/content/show.php?content=121881"
SRC_URI="https://dl.opendesktop.org/api/files/download/id/1463004028/${ODTAG}-${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

DEPEND="x11-libs/gtk+:2"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	sed -i 's#glib/gtimer.h#glib.h#' src/animation.c
}

src_configure () {
	econf --enable-animation
}