| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libcryptui/libcryptui-3.2.2.ebuild,v 1.1 2011/11/17 06:09:57 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="yes"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="User interface components for OpenPGP"
|
| 12 |
HOMEPAGE="http://www.gnome.org/projects/seahorse/index.html"
|
| 13 |
|
| 14 |
LICENSE="GPL-2 LGPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
IUSE="debug doc +introspection libnotify test"
|
| 17 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
| 18 |
|
| 19 |
# Pull in libnotify-0.7 because it's controlled via an automagic ifdef
|
| 20 |
COMMON_DEPEND="
|
| 21 |
>=dev-libs/glib-2.10:2
|
| 22 |
>=x11-libs/gtk+-2.90.0:3[introspection?]
|
| 23 |
>=dev-libs/dbus-glib-0.72
|
| 24 |
>=gnome-base/gnome-keyring-2.91.2
|
| 25 |
|
| 26 |
>=app-crypt/gpgme-1
|
| 27 |
|| (
|
| 28 |
=app-crypt/gnupg-2.0*
|
| 29 |
=app-crypt/gnupg-1.4* )
|
| 30 |
|
| 31 |
introspection? ( >=dev-libs/gobject-introspection-0.6.4 )
|
| 32 |
libnotify? ( >=x11-libs/libnotify-0.7.0 )
|
| 33 |
"
|
| 34 |
DEPEND="${COMMON_DEPEND}
|
| 35 |
sys-devel/gettext
|
| 36 |
>=app-text/scrollkeeper-0.3
|
| 37 |
virtual/pkgconfig
|
| 38 |
>=dev-util/intltool-0.35
|
| 39 |
doc? ( >=dev-util/gtk-doc-1.9 )
|
| 40 |
"
|
| 41 |
# Before 3.1.4, libcryptui was part of seahorse
|
| 42 |
RDEPEND="${COMMON_DEPEND}
|
| 43 |
!<app-crypt/seahorse-3.1.4
|
| 44 |
"
|
| 45 |
|
| 46 |
pkg_setup() {
|
| 47 |
G2CONF="${G2CONF}
|
| 48 |
--disable-static
|
| 49 |
--disable-update-mime-database
|
| 50 |
$(use_enable debug)
|
| 51 |
$(use_enable introspection)
|
| 52 |
$(use_enable libnotify)
|
| 53 |
$(use_enable test tests)"
|
| 54 |
DOCS="AUTHORS ChangeLog NEWS README"
|
| 55 |
}
|
| 56 |
|
| 57 |
src_prepare() {
|
| 58 |
# FIXME: Do not mess with CFLAGS with USE="debug"
|
| 59 |
sed -e '/CFLAGS="$CFLAGS -g -O0/d' \
|
| 60 |
-e 's/-Werror//' \
|
| 61 |
-i configure.ac configure || die "sed failed"
|
| 62 |
|
| 63 |
gnome2_src_prepare
|
| 64 |
}
|