summaryrefslogtreecommitdiff
blob: 60a5e0fcd63bafd32b4ed5c9062f008478fdc5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils autotools

MY_P=${P/gtk-engines-//}

DESCRIPTION="Murrine GTK+2 Cairo Engine"
HOMEPAGE="http://www.cimitan.com/murrine/"

THEME_URI="http://www.cimitan.com/murrine/files"
SRC_URI="mirror://gnome/sources/murrine/0.90/${MY_P}.tar.bz2
		 ${THEME_URI}/MurrinaBlu-0.32.tar.gz
		 ${THEME_URI}/MurrinaGilouche.tar.bz2
		 ${THEME_URI}/MurrinaCream.tar.gz
		 ${THEME_URI}/MurrinaVerdeOlivo.tar.bz2
		 ${THEME_URI}/MurrinaCandido.tar.gz
		 ${THEME_URI}/MurrinaAquaIsh.tar.bz2
		 ${THEME_URI}/MurrinaChrome.tar.gz
		 ${THEME_URI}/MurrinaFancyCandy.tar.bz2
		 ${THEME_URI}/MurrinaLoveGray.tar.bz2
		 ${THEME_URI}/MurrineRounded.tar.bz2
		 ${THEME_URI}/MurrinaTango.tar.bz2
		 ${THEME_URI}/MurrinaBlue.tar.bz2
		 ${THEME_URI}/Murrine-Light.tar.gz"

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

RDEPEND=">=x11-libs/gtk+-2.12"
DEPEND="dev-util/pkgconfig
		${REPEND}"

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

src_compile() {
	econf \
		--enable-animation \
		--enable-rgba \
		$(use animation-rtl && echo --enable-animationrtl)

	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"

	dodoc AUTHORS ChangeLog NEWS TODO

	dodir /usr/share/themes
	insinto /usr/share/themes
	doins -r "${WORKDIR}"/Murrin*
}