You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/referencer/referencer-1.2.2-r1.ebuild

53 lines
1.1 KiB

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 )
inherit xdg python-single-r1 flag-o-matic
DESCRIPTION="Application to organise documents or references, and to generate BibTeX files"
HOMEPAGE="https://launchpad.net/referencer"
SRC_URI="https://launchpad.net/${PN}/1./${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
>=app-text/poppler-0.12.3-r3[cairo]
>=dev-cpp/gtkmm-2.8:2.4
>=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 )"
PATCHES=( ${FILESDIR}/${PN}-${PV}-lib_path.patch )
src_prepare () {
default
python_fix_shebang plugins
}
src_configure() {
append-cxxflags -std=gnu++11
econf \
--disable-update-mime-database \
--enable-python
}