summaryrefslogtreecommitdiff
path: root/media-libs/libsvgtiny-pixbuf/libsvgtiny-pixbuf-0.0.2.ebuild
blob: b573b0ae84afacf5dcae3f0d76217505281a43c6 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Add SVG support to GTK without librsvg"
HOMEPAGE="https://michael.orlitzky.com/code/libsvgtiny-pixbuf.xhtml"
SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.xz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="dev-libs/libxml2:=
	media-libs/libsvgtiny:=
	x11-libs/cairo:=
	x11-libs/gdk-pixbuf:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

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

pkg_postinst() {
	einfo "Updating pixbuf loader cache..."
	gdk-pixbuf-query-loaders --update-cache
}