blob: 02a3ced3520a3c455cdf745ea80d89bd1886cdb0 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils git-r3 autotools
DESCRIPTION="A flat theme with transparent elements for GTK 3, GTK2 and GNOME Shell"
HOMEPAGE="https://github.com/horst3180/Arc-theme"
SRC_URI=""
EGIT_REPO_URI="${HOMEPAGE}"
LICENSE="LGPL-3.0"
SLOT="0"
KEYWORDS=""
IUSE="gnome-shell +gtk2 gtk3 metacity unity xfwm"
REQUIRED_USE="|| ( gtk2 gtk3 )"
DEPEND="x11-themes/gtk-engines-murrine
x11-libs/gdk-pixbuf"
RDEPEND="${DEPEND}
gnome-shell? ( gnome-base/gnome-shell )
xfwm? ( xfce-base/xfwm4 )
gtk2? ( x11-libs/gtk+:2 )
gtk3? ( x11-libs/gtk+:3 )
metacity? (
|| (
x11-wm/metacity
x11-wm/marco
)
)"
src_prepare(){
eautoreconf
}
src_configure(){
local myconf=''
use !gtk2 && myconf+="--disable-gtk2 "
use !gtk3 && myconf+="--disable-gtk3 "
use !gnome-shell && myconf+="--disable-gnome-shell "
use !unity && myconf+="--disable-unity "
use !metacity && myconf+="--disable-metacity "
use !xfwm && myconf+="--disable-xfwm "
econf ${myconf}
}
src_compile(){
emake DESTDIR="${D}"
}
src_install(){
emake DESTDIR="${D}" install
}
|