Apocrypha

gtk-engines-0.12gsview-overlay

# Copyright 1999-2006 Gentoo Foundation
# Copyright 2016-2023 Michael Uleysky
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit autotools

DESCRIPTION="GTK+1 standard engines and themes"
HOMEPAGE="http://www.gtk.org/"
SRC_URI="mirror://gnome/sources/${PN}/${PV}/${PN}-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="1"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 sh sparc x86"
IUSE=""

DEPEND="=x11-libs/gtk+-1.2*
	>=media-libs/imlib-1.8
	!>media-libs/imlib-1.9.15-r9"

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

src_prepare() {
	default
	mv configure.in configure.ac || die
	rm acinclude.m4 || die
	elibtoolize
	eautoreconf
}

src_install() {
	make DESTDIR="${D}" install || die "Installation failed"
	dodoc AUTHORS ChangeLog README
}