2012-12-20 16:55:28 +04:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
2012-05-16 15:12:38 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-12-19 09:00:04 +04:00
|
|
|
# $Header: $
|
2012-05-16 15:12:38 +04:00
|
|
|
|
|
|
|
EAPI=2
|
|
|
|
|
|
|
|
MY_P=${P/gtk-engines-}
|
|
|
|
|
2012-12-20 16:55:28 +04:00
|
|
|
inherit eutils
|
|
|
|
|
2012-05-16 15:12:38 +04:00
|
|
|
DESCRIPTION="A heavily modified version of the Aurora engine"
|
|
|
|
HOMEPAGE="http://gnome-look.org/content/show.php/Equinox+GTK+Engine?content=121881"
|
2012-12-20 16:55:28 +04:00
|
|
|
SRC_URI="http://gnome-look.org/CONTENT/content-files/121881-${MY_P}.tar.bz2
|
|
|
|
-> ${P}.tar.bz2"
|
2012-05-16 15:12:38 +04:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
2012-12-20 16:55:28 +04:00
|
|
|
IUSE="+icons"
|
2012-05-16 15:12:38 +04:00
|
|
|
|
2012-12-20 16:55:28 +04:00
|
|
|
RDEPEND="x11-libs/gtk+:2
|
|
|
|
icons? ( x11-themes/faenza-icon-theme )"
|
2012-05-16 15:12:38 +04:00
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/pkgconfig"
|
|
|
|
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
|
2012-12-20 16:55:28 +04:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/gtk-engines-equinox-1.50-dont-include-glib-gtimer-h.patch
|
|
|
|
}
|
|
|
|
|
2012-05-16 15:12:38 +04:00
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
|
2012-12-20 16:55:28 +04:00
|
|
|
echo Untarring engine files...
|
|
|
|
tar xpf "${WORKDIR}/equinox-gtk-engine.tar.gz" || die
|
|
|
|
cd "${S}"
|
|
|
|
|
|
|
|
echo Untarring themes files...
|
|
|
|
mkdir themes
|
|
|
|
cd themes
|
|
|
|
tar xpf "${WORKDIR}"/equinox-themes.tar.gz || die
|
2012-05-16 15:12:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf --enable-animation || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die
|
2012-12-19 09:00:04 +04:00
|
|
|
dodoc AUTHORS ChangeLog NEWS
|
2012-12-20 16:55:28 +04:00
|
|
|
|
|
|
|
echo Installing themes...
|
|
|
|
dodir /usr/share/themes/
|
|
|
|
insinto /usr/share/themes/
|
|
|
|
doins -r themes/* || die
|
2012-05-16 15:12:38 +04:00
|
|
|
}
|