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

EAPI=7

MY_MAJ=$(ver_cut 1-2)

DESCRIPTION="Aurora GTK+ 2.x Theme Engine"
HOMEPAGE="https://www.gnome-look.org/content/show.php?content=56438"
SRC_URI="https://gnome-look.org/CONTENT/content-files/56438-aurora-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"

RDEPEND="
	dev-libs/glib:2
	x11-libs/gtk+:2"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

S="${WORKDIR}/aurora-${MY_MAJ}"

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

src_unpack() {
	unpack ${A}
	unpack ./aurora-gtk-engine-${MY_MAJ}.tar.gz
	unpack ./Aurora.tar.bz2
}

src_configure() {
	econf --enable-animation
}

src_install() {
	default

	insinto /usr/share/themes/Aurora
	doins -r ../Aurora/.

	# no static archives
	find "${D}" -name '*.la' -delete || die
}