/[gentoo-x86]/x11-themes/oxygen-gtk/oxygen-gtk-1.0.3.ebuild
Gentoo

Contents of /x11-themes/oxygen-gtk/oxygen-gtk-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 4 14:05:29 2012 UTC (2 years, 4 months ago) by johu
Branch: MAIN
Changes since 1.4: +2 -2 lines
Migrate to virtual/pkgconfig.

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

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/oxygen-gtk/oxygen-gtk-1.0.3.ebuild,v 1.4 2012/04/22 08:08:43 scarabeus Exp $
4
5 EAPI=4
6
7 MY_PN=${PN}3
8 MY_P=${MY_PN}-${PV}
9
10 inherit cmake-utils
11
12 DESCRIPTION="Official GTK+:3 port of KDE's Oxygen widget style"
13 HOMEPAGE="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
14 SRC_URI="mirror://kde/stable/${MY_PN}/${PV}/src/${MY_P}.tar.bz2"
15
16 LICENSE="LGPL-2.1"
17 KEYWORDS="amd64 x86"
18 SLOT="3"
19 IUSE="debug doc"
20
21 RDEPEND="
22 !x11-themes/oxygen-gtk:0
23 dev-libs/dbus-glib
24 dev-libs/glib
25 x11-libs/cairo
26 x11-libs/gtk+:3
27 x11-libs/libX11
28 "
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 doc? ( app-doc/doxygen )
32 "
33
34 DOCS=(AUTHORS README)
35
36 S="${WORKDIR}/${MY_P}"
37
38 src_install() {
39 if use doc; then
40 { cd "${S}" && doxygen Doxyfile; } || die "Generating documentation failed"
41 HTML_DOCS=( "${S}/doc/html/" )
42 fi
43
44 cmake-utils_src_install
45
46 cat <<-EOF > 99oxygen-gtk3
47 CONFIG_PROTECT="${EPREFIX}/usr/share/themes/oxygen-gtk/gtk-3.0"
48 EOF
49 doenvd 99oxygen-gtk3
50 }

  ViewVC Help
Powered by ViewVC 1.1.20