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

EAPI=7

MY_P="${PN}-v${PV}"

DESCRIPTION="Utility to place icons on the root window"
HOMEPAGE="https://github.com/antonialoytorrens/idesk/"
SRC_URI="https://github.com/antonialoytorrens/idesk/releases/download/v1/${MY_P}.tar.gz"

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

S="${WORKDIR}/${MY_P}"

RDEPEND="
	dev-libs/glib
	dev-libs/libxml2
	media-libs/freetype
	media-libs/imlib2[X]
	media-libs/libart_lgpl
	x11-libs/gtk+:3
	x11-libs/pango
	x11-libs/startup-notification
"

BDEPEND="virtual/pkgconfig"

DEPEND="${RDEPEND}"

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

src_configure() {
	econf --enable-libsn
}