summaryrefslogtreecommitdiff
path: root/x11-themes/kogaion-artwork-gnome
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2014-12-09 14:36:22 +0200
committerbionel <ionel.busuioc@gmail.com>2014-12-09 14:36:22 +0200
commiteda49f34c7a42e6ecc74530c35614b1e2f20075a (patch)
treeead0a5f889de74a7f07b9d0dd22e0f83fe2699f7 /x11-themes/kogaion-artwork-gnome
parent18cf6a514533d8e176eb0a319227255cff5ef302 (diff)
Moving gnome-artwork to kogaion-core
new file: x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r4.ebuild not manifested
Diffstat (limited to 'x11-themes/kogaion-artwork-gnome')
-rw-r--r--x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r4.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r4.ebuild b/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r4.ebuild
new file mode 100644
index 00000000..073e5b67
--- /dev/null
+++ b/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# Header: $
+
+EAPI=4
+
+inherit gnome2-utils
+
+DESCRIPTION="Kogaion Linux Official GNOME artwork"
+HOMEPAGE="http://www.rogentos.ro"
+SRC_URI="http://pkg.rogentos.ro/~rogentos/distro/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.gz"
+LICENSE="CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+RDEPEND=">=x11-themes/kogaion-artwork-core-2
+ x11-themes/kogaion-light-theme
+ x11-themes/kogaion-dark-theme
+ x11-themes/faenza-kupertino-icons
+ !x11-themes/sabayon-artwork-gnome"
+
+S="${WORKDIR}/"
+
+src_install() {
+# dodir /usr/share/themes
+
+ # GNOME & GTK Theme
+# cd "${S}"/gtk
+# dodir /usr/share/themes
+# insinto /usr/share/themes
+# doins -r ./*
+
+ # Metacity
+# cd "${S}"/metacity
+# insinto /usr/share/themes
+# doins -r ./*
+
+ # GNOME 3 config settings
+ dodir /usr/share/glib-2.0/schemas
+ insinto /usr/share/glib-2.0/schemas
+ doins "${FILESDIR}/org.kogaion.gschema.override"
+
+ # Add GNOME 3 backgrounds
+ dodir /usr/share/gnome-background-properties
+ insinto /usr/share/gnome-background-properties || die "/usr/share/gnome-background-properties not found"
+ doins "${FILESDIR}/gnome-backgrounds.xml"
+
+ # GDM 3.6+ logo stuff
+ cd "${S}/gdm"
+ dodir /usr/share/kogaion/gdm
+ insinto /usr/share/kogaion/gdm
+ doins logo.svg
+ insinto /usr/share/glib-2.0/schemas
+ doins org.gnome.login-screen.gschema.override
+}
+
+pkg_preinst() {
+ # taken from gnome2_schemas_savelist
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &>/dev/null
+ export GNOME2_ECLASS_GLIB_SCHEMAS="/usr/share/glib-2.0/schemas/org.kogaion.gschema.override"
+ popd &>/dev/null
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update --uninstall
+}