blob: 6e9ff9773e4e27b23fe8ad11d8548914935a8ba1 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/oxygen-gtk3/oxygen-gtk3-1.1.2.ebuild,v 1.1 2013/02/07 02:59:03 zx2c4 Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="Official GTK+ 3 port of KDE's Oxygen widget style"
HOMEPAGE="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
SRC_URI="http://download.kde.org/stable/${PN}/${PV}/src/${P}.tar.bz2"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="debug doc"
RDEPEND="
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
DOCS=(AUTHORS README)
src_install() {
if use doc; then
{ cd "${S}" && doxygen Doxyfile; } || die "Generating documentation failed"
HTML_DOCS=( "${S}/doc/html/" )
fi
cmake-utils_src_install
cat <<-EOF > 99oxygen-gtk3
CONFIG_PROTECT="/usr/share/themes/oxygen-gtk/gtk-3.0"
EOF
doenvd 99oxygen-gtk3
}
|