# Copyright 2013 Lasse Brun # Distributed under the terms of the GNU General Public License v2 MY_URL="http://nale12.deviantart.com" SUMMARY="OMG Suite - the dark GTK theme that rocks" DESCRIPTION=" A dark GTK theme in three styles with support for Metacity, Unity, XFwm4, Openbox and Emerald. Gnome-Shell and Chromium themes in the same style is available at ${MY_URL} " HOMEPAGE="${MY_URL}/art/OMG-Suite-288398137" DOWNLOADS="http://lasseb.tihlde.org/omg_suite_by_nale12-d4rpdfd.zip -> ${PNV}.zip" LICENCES="GPL-3" SLOT="0" PLATFORMS="~amd64 ~x86" DEPENDENCIES=" build: app-arch/unzip run: ( x11-libs/gtk+:2 x11-themes/gtk-engines-murrine ) [[ description = [ Needed for the GTK2 part of the theme ] ]] gnome-desktop/gnome-themes-standard [[ description = [ Needed for the GTK3 part of the theme ] ]] suggestion: x11-themes/awoken-icon-theme [[ description = [ A dark icon theme recommended by the author of ${PN} ] ]] " BUGS_TO="bruners@gmail.com" WORK=${WORKBASE} src_prepare() { edo pushd "${WORK}" # A part of the theme use the unavailable mist engine. # change it to murrine like the rest of the text styles for THEME in OMG{,-Dark,-Light}; do edo sed -i -e \ "s:engine \"mist\":engine \"murrine\":" \ "${THEME}"/gtk-2.0/styles/inactivetext done edo popd } src_install() { insinto /usr/share/themes for THEME in OMG{,-Dark,-Light}; do doins -r "${THEME}" done doins OMG.emerald doins OMG_Left_Buttons }