| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nodoka/gtk-engines-nodoka-0.7.5.ebuild,v 1.3 2012/05/05 04:10:06 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils
|
| 7 |
|
| 8 |
MY_P="gtk-nodoka-engine-${PV}"
|
| 9 |
|
| 10 |
DESCRIPTION="GTK+ engine and themes developed by the Fedora Project"
|
| 11 |
HOMEPAGE="https://fedorahosted.org/nodoka/"
|
| 12 |
SRC_URI="https://fedorahosted.org/releases/n/o/nodoka/${MY_P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 17 |
IUSE="animation-rtl"
|
| 18 |
|
| 19 |
RDEPEND=">=x11-libs/gtk+-2.18.0:2"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
virtual/pkgconfig"
|
| 22 |
|
| 23 |
S="${WORKDIR}/${MY_P}"
|
| 24 |
|
| 25 |
src_prepare() {
|
| 26 |
epatch "${FILESDIR}/${P}-glib2.32.patch"
|
| 27 |
}
|
| 28 |
|
| 29 |
src_configure() {
|
| 30 |
econf \
|
| 31 |
--disable-dependency-tracking \
|
| 32 |
--enable-animation \
|
| 33 |
$(use_enable animation-rtl animationtoleft)
|
| 34 |
}
|
| 35 |
|
| 36 |
src_install() {
|
| 37 |
default
|
| 38 |
find "${D}" -name "*.la" -delete || die
|
| 39 |
}
|