blob: 0280f6cba550b2dc0f7607808d067faa02ef7ba4 (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 )
inherit xdg gnome2-utils bzr eutils python-single-r1 flag-o-matic
DESCRIPTION="Application to organise documents or references, and to generate BibTeX files"
HOMEPAGE="https://launchpad.net/referencer"
EBZR_REPO_URI="lp:~${PN}-devs/${PN}/trunk"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
fi
RDEPEND=">=app-text/poppler-0.12.3-r3:=[cairo]
>=dev-cpp/gtkmm-2.8:*
>=dev-cpp/libglademm-2.6.0
>=dev-cpp/gconfmm-2.14.0
>=dev-libs/boost-1.52.0-r4"
DEPEND="${RDEPEND}
>=app-text/gnome-doc-utils-0.3.2
virtual/pkgconfig
>=dev-lang/perl-5.8.1
dev-perl/libxml-perl
dev-util/intltool
app-text/rarian
test? ( app-text/docbook-xml-dtd:4.1.2
app-text/docbook-xml-dtd:4.5
app-text/scrollkeeper-dtd:1.0 )"
src_prepare () {
default
gnome-doc-prepare --force
"./autogen.sh" || die "can't execute autogen.sh"
python_fix_shebang plugins
}
src_configure() {
append-cxxflags -std=gnu++11
econf --disable-update-mime-database --enable-python
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_icon_cache_update
}
|