blob: 5d4d8d058ea290bbd52bc0c1965b1b25ce482773 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/glabels/glabels-2.3.0.ebuild,v 1.4 2011/03/16 07:59:43 nirbheek Exp $
EAPI="2"
GCONF_DEBUG="no"
inherit eutils gnome2
DESCRIPTION="Program for creating labels and business cards"
HOMEPAGE="http://glabels.sourceforge.net/"
LICENSE="GPL-2 FDL-1.1 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="barcode doc eds"
RDEPEND=">=dev-libs/glib-2.24:2
>=x11-libs/gtk+-2.20:2
>=dev-libs/libxml2-2.7:2
>=gnome-base/gconf-2.28:2
barcode? (
>=app-text/barcode-0.98
>=media-gfx/qrencode-3.1 )
eds? ( >=gnome-extra/evolution-data-server-2.28 )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9
app-text/scrollkeeper
app-text/gnome-doc-utils
app-text/docbook-xml-dtd:4.1.2
>=dev-util/intltool-0.28
doc? ( dev-util/gtk-doc )"
DOCS="AUTHORS ChangeLog NEWS README TODO"
pkg_setup() {
G2CONF="${G2CONF}
$(use_with eds libebook)
--disable-update-mimedb
--disable-update-desktopdb
--disable-static"
}
src_prepare() {
gnome2_src_prepare
# Fix malformed XML documentation, bug #?
epatch "${FILESDIR}/${PN}-2.2.7-documentation.patch"
# Fix intltool test, bug #?
echo "help/cs/glabels-3.0.xml" >> po/POTFILES.in
}
src_install() {
gnome2_src_install
find "${D}" -name "*.la" -delete || die
}
|