blob: 782bea95e63740a0252382ed204fb33334e53a5f (
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
57
58
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/emerald/emerald-0.8.8.ebuild,v 1.5 2013/04/20 10:29:43 pinkbyte Exp $
EAPI="4"
inherit eutils flag-o-matic
THEMES_RELEASE=0.5.2
DESCRIPTION="Emerald Window Decorator"
HOMEPAGE="http://www.compiz.org/"
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
PDEPEND="~x11-themes/emerald-themes-${THEMES_RELEASE}"
RDEPEND="
>=x11-libs/gtk+-2.8.0:2
>=x11-libs/libwnck-2.14.2:1
>=x11-wm/compiz-${PV}
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.35
virtual/pkgconfig
>=sys-devel/gettext-0.15
"
DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO )
src_prepare() {
# Fix pkg-config file pollution wrt #380197
epatch "${FILESDIR}"/${P}-pkgconfig-pollution.patch
# fix build with gtk+-2.22 - bug 341143
sed -i -e '/#define G[DT]K_DISABLE_DEPRECATED/s:^://:' \
include/emerald.h || die
# Fix underlinking
append-libs -ldl -lm
epatch_user
}
src_configure() {
econf \
--disable-static \
--enable-fast-install \
--disable-mime-update
}
src_install() {
default
prune_libtool_files
}
|