aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2011-12-04 21:18:10 -0500
committerJonathan Callen <abcd@gentoo.org>2011-12-11 14:40:53 -0500
commit2b05667b4d4317b3d7a7526da15eb8e5e5563d14 (patch)
treeee32a262ceb9d0bd3bbbaec4062f23280e07e48c /x11-themes
parent[kde-misc/eventlist] Moved to main tree. (diff)
downloadkde-2b05667b4d4317b3d7a7526da15eb8e5e5563d14.tar.gz
kde-2b05667b4d4317b3d7a7526da15eb8e5e5563d14.tar.bz2
kde-2b05667b4d4317b3d7a7526da15eb8e5e5563d14.zip
[x11-themes/oxygen-gtk3] Add new theme
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/oxygen-gtk3/metadata.xml5
-rw-r--r--x11-themes/oxygen-gtk3/oxygen-gtk3-9999.ebuild45
2 files changed, 50 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>
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
+}