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

EAPI=6

DESCRIPTION="Utility to place icons on the root window"
HOMEPAGE="http://idesk.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""

RDEPEND="
	dev-libs/glib:2
	dev-libs/libxml2
	media-libs/freetype
	>=media-libs/imlib2-1.4[X]
	media-libs/libart_lgpl
	x11-libs/gtk+:2
	x11-libs/pango
	x11-libs/startup-notification"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

PATCHES=(
	# bug 333515
	"${FILESDIR}"/${P}-glibc-2.12.patch
)

src_prepare() {
	default
	sed -i \
		-e 's,/usr/local/,/usr/,' \
		examples/default.lnk || die
}

src_configure() {
	econf --enable-libsn
}