diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.ebuild |
Added ebuilds for kogaion desktop
Diffstat (limited to 'x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.ebuild')
-rw-r--r-- | x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.ebuild b/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.ebuild new file mode 100644 index 00000000..3e30cb3c --- /dev/null +++ b/x11-themes/kogaion-artwork-gnome/kogaion-artwork-gnome-1.0-r2.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/rogentos-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 +} |