From 2b05667b4d4317b3d7a7526da15eb8e5e5563d14 Mon Sep 17 00:00:00 2001 From: Jonathan Callen Date: Sun, 4 Dec 2011 21:18:10 -0500 Subject: [x11-themes/oxygen-gtk3] Add new theme --- x11-themes/oxygen-gtk3/metadata.xml | 5 +++ x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild | 45 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 x11-themes/oxygen-gtk3/metadata.xml create mode 100644 x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild (limited to 'x11-themes') diff --git a/x11-themes/oxygen-gtk3/metadata.xml b/x11-themes/oxygen-gtk3/metadata.xml new file mode 100644 index 0000000000..8d1e86a9ce --- /dev/null +++ b/x11-themes/oxygen-gtk3/metadata.xml @@ -0,0 +1,5 @@ + + + +kde + diff --git a/x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild b/x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild new file mode 100644 index 0000000000..870c0f1a48 --- /dev/null +++ b/x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils git-2 + +DESCRIPTION="Official GTK+ 3 port of KDE's Oxygen widget style" +HOMEPAGE="https://projects.kde.org/projects/playground/artwork/oxygen-gtk" +EGIT_REPO_URI="git://anongit.kde.org/oxygen-gtk" +EGIT_BRANCH="gtk3" + +LICENSE="LGPL-2.1" +KEYWORDS="" +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} + dev-util/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 +} -- cgit v1.2.3-65-gdbad