blob: dde6019c8f606942f0aea66d5069ca7c7797e619 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xfbib/xfbib-0.0.2-r1.ebuild,v 1.1 2012/11/30 23:43:45 ssuominen Exp $
EAPI=5
inherit xfconf
DESCRIPTION="a lightweight BibTeX editor"
HOMEPAGE="http://goodies.xfce.org/projects/applications/xfbib"
SRC_URI="http://goodies.xfce.org/releases/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2.12
>=x11-libs/gtk+-2.10:2
>=xfce-base/libxfce4ui-4.8
>=xfce-base/libxfce4util-4.8"
DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
pkg_setup() {
PATCHES=(
"${FILESDIR}"/${P}-validate.patch
"${FILESDIR}"/${P}-libxfce4ui.patch
)
DOCS=( AUTHORS ChangeLog NEWS README TODO )
}
src_prepare() {
# This is to prevent eautoreconfigure:
sed -i -e 's:libxfcegui4-1.0:libxfce4ui-1:' configure || die
sed -i -e 's:$(LIBXFCE4UTIL_CFLAGS):& $(LIBXFCEGUI4_CFLAGS):' src/Makefile.in || die
xfconf_src_prepare
}
|