summaryrefslogtreecommitdiff
blob: a0d14e8ebd579df3cfc7a55d58688e528a09f35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

GCONF_DEBUG="no"

inherit gnome2 versionator

MATE_BRANCH="$(get_version_component_range 1-2)"
MATE_GTK_V="$(get_version_component_range 4- ${PVR})"
MATE_GTK_NV="3.$(( ${MATE_GTK_V:1:2} + 1 ))" #variable to allow negation of =$P-1*
MATE_GTK_V="3.${MATE_GTK_V:1:2}"

SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${PN}-gtk${MATE_GTK_V}-${PV}.tar.xz ->
	${P}-gtk${MATE_GTK_V}.tar.xz"
DESCRIPTION="A set of MATE themes, with sets for users with limited or low vision"
HOMEPAGE="http://mate-desktop.org"

LICENSE="LGPL-2.1"
SLOT="0/${MATE_GTK_V}"
KEYWORDS="~amd64 ~arm ~x86"

S="${WORKDIR}/${PN}-gtk${MATE_GTK_V}-${PV}"

RDEPEND="
	>=x11-libs/gdk-pixbuf-2:2
	>=x11-libs/gtk+-2:2
	!<x11-libs/gtk+-${MATE_GTK_V}:3
	!>=x11-libs/gtk+-${MATE_GTK_NV}:3
	>=x11-themes/gtk-engines-2.15.3:2
	x11-themes/gtk-engines-murrine"

DEPEND="${RDEPEND}
	>=dev-util/intltool-0.35:*
	sys-devel/gettext:*
	>=sys-devel/autoconf-2.53:*
	>=x11-misc/icon-naming-utils-0.8.7:0
	virtual/pkgconfig:*"

RESTRICT="binchecks strip"
DOCS="AUTHORS ChangeLog NEWS README"