app-office/grisbi: Update ebuild and fix deps on openssl
authorPacho Ramos <pacho@gentoo.org>
Sun, 18 Sep 2016 10:25:28 +0000 (12:25 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 18 Sep 2016 11:01:21 +0000 (13:01 +0200)
Package-Manager: portage-2.3.0

app-office/grisbi/grisbi-1.0.0-r1.ebuild [new file with mode: 0644]

diff --git a/app-office/grisbi/grisbi-1.0.0-r1.ebuild b/app-office/grisbi/grisbi-1.0.0-r1.ebuild
new file mode 100644 (file)
index 0000000..e593440
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="Grisbi is a personal accounting application for Linux"
+HOMEPAGE="http://www.grisbi.org"
+SRC_URI="mirror://sourceforge/grisbi/grisbi%20stable/1.0.x/${P}.tar.bz2"
+IUSE="libressl nls ofx ssl"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+       dev-libs/libxml2:2
+       >=dev-libs/glib-2.18.0:2
+       >=x11-libs/gtk+-2.12.0:2
+       x11-misc/xdg-utils
+       ssl? (
+               libressl? ( dev-libs/libressl:0= )
+               !libressl? ( >=dev-libs/openssl-0.9.5:0= ) )
+       ofx? ( >=dev-libs/libofx-0.7.0 )
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+src_configure() {
+       gnome2_src_configure \
+               --with-libxml2 \
+               --without-cunit \
+               --disable-static \
+               $(use_with ssl openssl) \
+               $(use_with ofx) \
+               $(use_enable nls)
+}