summaryrefslogtreecommitdiff
blob: 11f52b57e99374f724803271f933bac1df3b5302 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="LXAppearance plugin for configuring OpenBox"
HOMEPAGE="https://lxde.org/"
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~riscv ~x86"
IUSE=""

RDEPEND="
	dev-libs/atk
	dev-libs/glib:2
	dev-libs/libxml2:2
	gnome-base/librsvg:2
	>=lxde-base/lxappearance-0.6.3-r2
	media-libs/fontconfig
	media-libs/freetype:2
	media-libs/harfbuzz:=
	x11-libs/cairo[X]
	x11-libs/gdk-pixbuf:2
	x11-libs/gtk+:3
	x11-libs/libICE
	x11-libs/libSM
	x11-libs/libX11
	x11-libs/libXft
	x11-libs/pango
	x11-wm/openbox
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-util/intltool
	virtual/pkgconfig
"

PATCHES=(
	"${FILESDIR}"/${P}-no-undefined.patch # 779484
	"${FILESDIR}"/${P}-cairo-xlib.patch
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf \
		--disable-static \
		--enable-gtk3
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}