summaryrefslogtreecommitdiff
blob: 2a5603032f9e169ea3ebb228faaed3f333ae9b39 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools xdg

DESCRIPTION="Tango icons for iPod Digital Audio Player devices and the Dell Pocket DJ DAP"
HOMEPAGE="http://tango.freedesktop.org"
SRC_URI="http://tango.freedesktop.org/releases/${P}.tar.gz"

LICENSE="CC-BY-SA-2.5"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~sparc64-solaris ~x64-solaris"
IUSE="png"
RESTRICT="binchecks strip"

RDEPEND="x11-themes/tango-icon-theme"
DEPEND="${RDEPEND}"
BDEPEND="
	gnome-base/librsvg
	virtual/imagemagick-tools[png?]
	virtual/pkgconfig
	x11-misc/icon-naming-utils"

PATCHES=( "${FILESDIR}"/${P}-autotools.patch )

src_prepare() {
	xdg_src_prepare
	eautoreconf
}

src_configure() {
	econf \
		$(use_enable png png-creation) \
		$(use_enable png icon-framing)
}