diff options
Diffstat (limited to 'x11-themes/greybird/greybird-3.22.10.ebuild')
-rw-r--r-- | x11-themes/greybird/greybird-3.22.10.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-themes/greybird/greybird-3.22.10.ebuild b/x11-themes/greybird/greybird-3.22.10.ebuild new file mode 100644 index 000000000000..7d775459b57c --- /dev/null +++ b/x11-themes/greybird/greybird-3.22.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +MY_PN=${PN/g/G} + +DESCRIPTION="The default theme from Xubuntu" +HOMEPAGE="http://shimmerproject.org/project/greybird/ https://github.com/shimmerproject/Greybird" +SRC_URI="https://github.com/shimmerproject/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# README says "dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later" +LICENSE="CC-BY-SA-3.0 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="ayatana gnome xfce" + +RDEPEND=" + >=x11-libs/gtk+-3.22:3 + >=x11-themes/gtk-engines-murrine-0.90 +" +DEPEND=" + ${RDEPEND} + dev-lang/sassc + dev-libs/glib:2 + dev-ruby/sass:3.5 +" +S=${WORKDIR}/${MY_PN}-${PV} + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + + pushd "${ED}"/usr/share/themes/${MY_PN} > /dev/null || die + use ayatana || rm -rf unity + use gnome || rm -rf metacity-1 + use xfce || rm -rf xfce* xfwm4* + popd > /dev/null || die +} + +pkg_postinst() { + if ! has_version x11-themes/elementary-xfce-icon-theme ; then + elog "For upstream's default icon theme, please emerge" + elog "x11-themes/elementary-xfce-icon-theme" + fi + if ! has_version x11-themes/vanilla-dmz-xcursors ; then + elog "For upstream's default cursor theme, please emerge" + elog "x11-themes/vanilla-dmz-xcursors" + fi +} |