/[gentoo-x86]/dev-libs/qof/qof-0.8.8-r1.ebuild
Gentoo

Contents of /dev-libs/qof/qof-0.8.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 26 09:21:27 2015 UTC (2 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #551814

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.8.8-r1.ebuild,v 1.2 2015/06/21 10:53:19 zlogene Exp $
4
5 EAPI=5
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit autotools eutils gnome2
10
11 DESCRIPTION="A Query Object Framework"
12 HOMEPAGE="https://alioth.debian.org/projects/qof/"
13 SRC_URI="mirror://debian//pool/main/q/${PN}/${PN}_${PV}.orig.tar.gz"
14 LICENSE="GPL-2"
15
16 SLOT="2"
17 KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
18 IUSE="doc nls"
19
20 RDEPEND="
21 dev-libs/libxml2
22 dev-libs/glib:2
23 "
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 virtual/yacc
27 >=sys-devel/gettext-0.19.2
28 !dev-libs/qof:0
29 doc? (
30 app-doc/doxygen
31 dev-texlive/texlive-latex )
32 "
33
34 src_prepare() {
35 # Remove some CFLAGS
36 epatch "${FILESDIR}"/${PN}-0.8.8-cflags.patch
37
38 # Delay build of unittests, bug #197999
39 epatch "${FILESDIR}"/${PN}-0.8.8-unittest.patch
40
41 # Fix use and build with yacc
42 epatch "${FILESDIR}"/${PN}-0.8.8-unistd-define.patch
43 epatch "${FILESDIR}"/${PN}-0.8.8-yacc-build.patch
44 rm lib/libsql/{lexer.c,parser.c,parser.h} || die
45
46 eautoreconf
47 gnome2_src_prepare
48 }
49
50 src_configure() {
51 gnome2_src_configure \
52 --disable-error-on-warning \
53 --disable-static \
54 --disable-gdasql \
55 --disable-gdabackend \
56 --disable-sqlite \
57 $(use_enable nls) \
58 $(use_enable doc doxygen) \
59 $(use_enable doc latex-docs) \
60 $(use_enable doc html-docs)
61 }

  ViewVC Help
Powered by ViewVC 1.1.20