summaryrefslogtreecommitdiff
blob: 710d2a6cde416080ec70b46529b153f748191bb2 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit autotools gnome2

MY_P="${PN/gnome-}-${PV}"

DESCRIPTION="A lightweight and fast raw image thumbnailer for GNOME"
HOMEPAGE="https://libopenraw.freedesktop.org/wiki/RawThumbnailer"
SRC_URI="https://libopenraw.freedesktop.org/download/${MY_P}.tar.bz2"

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

RDEPEND="
	>=media-libs/libopenraw-0.1.0[gtk]
	>=x11-libs/gdk-pixbuf-2:2
	>=dev-libs/glib-2.26:2
	!media-gfx/raw-thumbnailer
"
DEPEND="${RDEPEND}
	dev-util/intltool
	gnome-base/gnome-common
	sys-devel/gettext
	virtual/pkgconfig
"

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

PATCHES=(
	"${FILESDIR}"/${P}-deprecation-warning.patch
	"${FILESDIR}"/${P}-fix-downscale.patch
	"${FILESDIR}"/${P}-libopenraw-0.1.patch
)

src_prepare() {
	default
	eautoreconf
}